/* =========================================
   FOOTER GENEL YAPI
   ========================================= */
.site-footer-wrapper {
    background-color: #fff; /* Tamamen Beyaz Arka Plan */
    color: var(--clr-text); /* Koyu Metin */
    margin-top: 0; 
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--clr-border); /* Üstten ayıran ince çizgi */
}

/* =========================================
   CONTACT SECTION (ÜST KISIM)
   ========================================= */
.footer-contact-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--clr-border); /* Alt bölümle araya çizgi */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki Eşit Kolon */
    gap: 4rem;
    align-items: center;
}

/* --- SOL TARAFT: BİLGİLER --- */
.footer-info {
    padding-right: 2rem;
}

.footer-subtitle {
    display: inline-block;
    color: var(--clr-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--clr-secondary); /* Koyu Başlık */
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
}

/* İletişim Detayları */
.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-link {
    color: var(--clr-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--clr-primary);
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    font-size: 1rem;
    color: var(--clr-text);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sosyal Medya */
.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clr-surface); /* Hafif gri zemin */
    color: var(--clr-secondary);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--clr-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* --- SAĞ TARAF: FORM --- */
.footer-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    /* Beyaz zeminde ayrışması için gölge ve border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); 
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-secondary);
    margin-bottom: 0.5rem;
}

.form-group label .req {
    color: var(--clr-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    width: 100%;
    background: var(--clr-surface);
    color: var(--clr-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: #fff;
}

/* Phone Input */
.iti { width: 100%; }
.iti__country-list { z-index: 100 !important; }

/* Gönder Butonu */
.form-footer {
    grid-column: span 2;
    margin-top: 1.5rem;
    text-align: right;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}

@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}
.form-message.success { color: #059669; }
.form-message.error { color: #dc2626; }


/* =========================================
   2. FOOTER LINKS SECTION (SİTE HARİTASI)
   ========================================= */
.footer-links-section {
    padding: 4rem 0;
}

.footer-links-grid {
    display: grid;
    /* 5 Kolonlu Yapı: Logo (Geniş) + 4 Menü */
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

/* Marka Kolonu */
.footer-logo {
    margin-bottom: 1.5rem;
    display: block;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--clr-text-light);
}

/* Menü Kolonları */
.footer-col-title {
    font-size: 1.1rem;
    color: var(--clr-secondary);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: var(--clr-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--clr-primary);
    padding-left: 5px; /* Hafif kayma efekti */
}


/* =========================================
   3. ALT BİLGİ (COPYRIGHT)
   ========================================= */
.site-info {
    border-top: 1px solid var(--clr-border);
    padding: 2rem 0;
    background-color: #fff; /* Emin olmak için */
}

.site-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--clr-text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--clr-text-light);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--clr-primary);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr); /* Tablette 3 kolon */
        gap: 2rem;
    }
    
    .brand-col {
        grid-column: span 3; /* Logo tam genişlik */
        text-align: center;
        margin-bottom: 1rem;
    }
    .footer-logo { margin: 0 auto 1rem auto; }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-title {
        font-size: 2rem;
    }

    /* Linkler Mobilde Tek Kolon */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brand-col {
        grid-column: span 1;
    }

    .site-info-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}