/* ===================================
   İLETİŞİM SAYFASI STYLING
   Modern contact page with animations
   =================================== */

/* Ratio Container */
.ratio {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Form Container */
.sign__form--contacts {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

@media (min-width: 768px) {
    .sign__form--contacts {
        margin-top: 0;
    }
}

/* Input Group Icons */
.input-group-text {
    display: flex;
    align-items: center;
    padding: 14px 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 6.5;
    color: var(--bs-body-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-tertiary-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0.375rem;
}

/* Contact Boxes */
.contact-box {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 127, 13, 0.2);
}

/* Contact Icon */
.contact-icon {
    flex: 0 0 55px;
    height: 55px;
    width: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc7f0d 0%, #b66a0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-right: 18px;
    margin-top: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 127, 13, 0.3);
}

.contact-box:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 127, 13, 0.5);
}

/* Contact Info */
.contact-info h5 {
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 700;
    color: #162033;
    letter-spacing: 0.3px;
}

.contact-info a,
.contact-info p {
    color: #444;
    font-size: 15px;
    margin: 4px 0;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #dc7f0d;
    text-decoration: none;
}

.contact-info i {
    margin-right: 6px;
    color: #dc7f0d;
}

/* Map Wrapper */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.map-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Title */
.main__title h1 {
    display: block;
    width: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    color: #162033;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .main__title--page {
        margin-top: 10px;
        margin-bottom: 0px;
    }
}

.main__title p.text-muted {
    font-size: 1.1rem;
    color: #666 !important;
    margin-top: 8px;
}

/* Form Input Enhancements */
.sign__input,
.sign__textarea {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 15px;
}

.sign__input:focus,
.sign__textarea:focus {
    border-color: #dc7f0d;
    box-shadow: 0 0 0 0.2rem rgba(220, 127, 13, 0.15);
}

/* Submit Button Enhancement */
.sign__btn {
    background: linear-gradient(135deg, #dc7f0d 0%, #b66a0b 100%);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 127, 13, 0.3); border-radius: 16px;
}

.sign__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 127, 13, 0.4);
    background: linear-gradient(135deg, #b66a0b 0%, #dc7f0d 100%);
}

.sign__btn:active {
    transform: translateY(0);
}

.sign__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Title */
.sign__form--contacts h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #162033;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.sign__form--contacts h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc7f0d 0%, transparent 100%);
    border-radius: 2px;
}

/* WOW.js Animation Support */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Loading Spinner */
#btnLoading i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* reCAPTCHA Container */
.g-recaptcha {
    transform: scale(0.95);
    transform-origin: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main__title h1 {
        font-size: 2rem;
    }
    
    .contact-box {
        margin-bottom: 0;
    }
    
    .sign__form--contacts {
        padding: 25px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .main__title h1 {
        font-size: 1.75rem;
    }
    
    .main__title p.text-muted {
        font-size: 1rem;
    }
    
    .contact-box {
        padding: 16px 18px;
    }
    
    .contact-icon {
        flex: 0 0 48px;
        height: 48px;
        width: 48px;
        font-size: 20px;
        margin-right: 14px;
    }
    
    .contact-info h5 {
        font-size: 16px;
    }
    
    .contact-info a,
    .contact-info p {
        font-size: 14px;
    }
    
    .sign__form--contacts {
        padding: 20px;
    }
    
    .sign__form--contacts h2 {
        font-size: 1.5rem;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .main__title h1 {
        font-size: 1.5rem;
    }
    
    .contact-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 12px;
        margin-top: 0;
    }
    
    .sign__btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .g-recaptcha {
        transform: scale(0.75);
    }
}

/* Performance Optimization */
.contact-box,
.map-wrapper,
.sign__btn {
    will-change: transform;
}
