/* ==========================================================================
   Premium Footer Stylesheet (site-footer)
   ========================================================================== */

.site-footer {
    background-color: #1e1f22; /* Koyu Füme / Koyu Gri */
    color: #ECE8E5; /* Soft Açık Krem Metin */
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(234, 227, 216, 0.1);
    position: relative;
    z-index: 10;
}

/* --- Bülten Alanı (Newsletter Section) --- */
.footer-newsletter {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(234, 227, 216, 0.08);
}

.footer-newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-info {
    flex: 1;
}

.newsletter-title {
    font-family: var(--font-brand);
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF; /* Beyaz */
    margin-bottom: 0.35rem;
}

.newsletter-subtitle {
    color: #BEB7B4;
    font-size: 0.88rem;
}

.newsletter-form-wrapper {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    background-color: #2b2c30; /* Uyumlu hafif açık koyu gri */
    border: 1px solid rgba(234, 227, 216, 0.15);
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: #8E8582;
}

.newsletter-form input[type="email"]:focus {
    border-color: #D63031; /* Kırmızı */
}

.newsletter-btn {
    background-color: #D63031; /* Kırmızı */
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: #C0392B; /* Koyu Kırmızı */
    transform: translateY(-1px);
}

.newsletter-message {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
}

.newsletter-message.success-message {
    color: #A3D9C9; /* Soft yeşil başarılı durum */
}

/* --- Orta Footer Izgarası (Main Menus Grid) --- */
.footer-main {
    padding: 4rem 0;
}

.footer-main-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo .logo-text-main {
    color: #FFFFFF;
    font-family: var(--font-brand);
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-about {
    color: #BEB7B4;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #2b2c30; /* Uyumlu hafif açık koyu gri */
    color: #BEB7B4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background-color: #D63031; /* Kırmızı */
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-brand);
    color: #FFFFFF;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #D63031; /* Kırmızı */
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #BEB7B4;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF; /* Saf Beyaz */
    padding-left: 4px;
}

.footer-contact-info {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(234, 227, 216, 0.08);
    padding-top: 1rem;
}

.contact-item {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #BEB7B4;
}

.contact-item b {
    color: #FFFFFF;
}

/* --- Alt Bilgi Çubuğu (Footer Bottom) --- */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(234, 227, 216, 0.08);
    font-size: 0.8rem;
    color: #BEB7B4;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-trust-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #BEB7B4;
}

.ssl-badge svg {
    color: #A3D9C9; /* SSL yeşili */
}

/* ETBİS Stili */
.etbis-logo {
    display: flex;
    align-items: center;
    border: 1px solid rgba(234, 227, 216, 0.15);
    background-color: #2b2c30; /* Uyumlu hafif açık koyu gri */
    border-radius: 4px;
    overflow: hidden;
    height: 28px;
    padding-right: 8px;
    transition: border-color var(--transition-fast);
}

.etbis-logo:hover {
    border-color: #D63031; /* Kırmızı */
}

.etbis-square {
    background-color: #0084FF; /* ETBİS orijinal mavi */
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0 6px;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.etbis-text {
    font-size: 0.62rem;
    font-weight: 600;
    color: #BEB7B4;
    padding-left: 6px;
}

/* Ödeme İkonları */
.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    overflow: hidden;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-main-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .newsletter-form-wrapper {
        max-width: 100%;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-trust-badge {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* --- Sabit Hızlı Eylemler (Floating Action Buttons) --- */
.floating-actions-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999; /* Header'dan düşük, sayfa elemanlarından yüksek */
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color var(--transition-fast), visibility 0.25s ease;
}

/* Yukarı Kaydır Butonu */
.scroll-to-top-btn {
    background-color: #FFFFFF;
    color: var(--color-primary);
    border: 1px solid rgba(44, 37, 35, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px); /* Aşağıdan yumuşakça kayarak gelsin */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background-color var(--transition-fast);
}

.scroll-to-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* WhatsApp Canlı Destek Butonu */
.whatsapp-floating-btn {
    background-color: #25D366; /* Resmi WhatsApp Yeşili */
    color: #FFFFFF;
}

.whatsapp-floating-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05) translateY(-2px);
}

@media (max-width: 768px) {
    .floating-actions-container {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 46px;
        height: 46px;
    }
}
