/* =====================================================
   FOOTER MODULE - Premium Platform Premium Level
   ===================================================== */

.footer {
    background: var(--text-dark);
    color: var(--white-pure);
    padding: 3rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--white-pure);
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--white-soft);
    text-decoration: none;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--white-pure);
    transform: translateX(3px);
}

.footer-section a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Contact/Reservation Icons - Orijinal Renkler */
.footer-section a[href*="tel"] i {
    color: #34a853 !important; /* Google Green */
}

.footer-section a[href*="whatsapp"] i,
.footer-section a[href*="wa.me"] i {
    color: #25d366 !important; /* WhatsApp Green */
}

.footer-section a[href*="mailto"] i {
    color: #ea4335 !important; /* Gmail Red */
}

.footer-section a[href*="maps"] i,
.footer-section a[href*="google.com/maps"] i {
    color: #4285f4 !important; /* Google Maps Blue */
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 12px;
    background: none;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white-soft);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Orijinal Social Media Icon Renkleri - Sabit Brand Colors */
.social-link[href*="facebook"] i {
    color: #1877f2 !important; /* Facebook Official Blue */
}

.social-link[href*="instagram"] i {
    color: #e4405f !important; /* Instagram Official Pink/Red */
}

.social-link[href*="twitter"] i,
.social-link[href*="x.com"] i {
    color: #1da1f2 !important; /* Twitter Official Blue */
}

.social-link[href*="youtube"] i {
    color: #ff0000 !important; /* YouTube Official Red */
}

.social-link[href*="linkedin"] i {
    color: #0a66c2 !important; /* LinkedIn Official Blue */
}

.social-link[href*="tiktok"] i {
    color: #ffffff !important; /* TikTok White (footer dark bg) */
}

.social-link[href*="telegram"] i {
    color: #0088cc !important; /* Telegram Official Blue */
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link i {
    font-size: 20px;
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* =====================================================
   RESPONSIVE DESIGN - TÜM MOBİL CİHAZLAR İÇİN
   Premium Platform/Viator Seviyesi Footer Mobile Experience
   ===================================================== */

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

/* STANDARD MOBİL (768px ve altı) */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem; /* Daha kompakt */
        margin-bottom: 0; /* Bottom nav'ın altında kalmaması için */
        position: relative;
        z-index: 1; /* Bottom nav'dan düşük z-index */
    }
    
    /* FOOTER CONTENT MOBİL UYUMLU */
    .footer-content {
        grid-template-columns: 1fr; /* 4 kolon → 1 kolon */
        gap: 2rem;
        text-align: center;
        padding: 0 1rem; /* Yan padding */
        margin-bottom: 1.5rem; /* Daha az margin */
    }
    
    /* FOOTER SECTIONS MOBİL UYUMLU */
    .footer-section {
        padding: 1.5rem 0; /* Padding ekle */
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Ayırıcı çizgi */
    }
    
    .footer-section:last-child {
        border-bottom: none; /* Son section'da çizgi yok */
    }
    
    .footer-section h3 {
        margin-bottom: 1.25rem;
        font-size: 1.1rem; /* Küçült */
        color: var(--white-pure);
        font-weight: 600;
    }
    
    .footer-section p,
    .footer-section a {
        color: var(--white-soft); /* Daha koyu */
        line-height: 1.8;
        font-size: 0.95rem; /* Küçült */
        display: block;
        padding: 0.25rem 0; /* Touch-friendly spacing */
        transition: color 0.2s ease;
    }
    
    .footer-section a:hover,
    .footer-section a:active {
        color: var(--white-pure); /* Hover'da beyaz */
        text-decoration: underline;
    }
    
    /* FOOTER LOGO SECTION MOBİL */
    .footer-section:first-child {
        padding-bottom: 2rem;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-section:first-child h3::before {
        content: "✈️";
        font-size: 1.2rem;
    }
    
    /* FOOTER SOCIAL MOBİL UYUMLU */
    .footer-social {
        justify-content: center;
        gap: 1.5rem; /* Daha geniş gap */
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    
    .footer-social a {
        padding: 16px; /* Touch-friendly size (Apple/Google guidelines) */
        background: none;
        border: none;
        border-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--white-soft);
        font-size: 1.4rem;
        transition: all 0.3s ease;
    }
    
    /* Mobilde de orijinal brand renkler */
    .footer-social a[href*="facebook"] i {
        color: #1877f2 !important; /* Facebook Official Blue */
    }

    .footer-social a[href*="instagram"] i {
        color: #e4405f !important; /* Instagram Official Pink/Red */
    }

    .footer-social a[href*="twitter"] i,
    .footer-social a[href*="x.com"] i {
        color: #1da1f2 !important; /* Twitter Official Blue */
    }

    .footer-social a[href*="youtube"] i {
        color: #ff0000 !important; /* YouTube Official Red */
    }

    .footer-social a[href*="linkedin"] i {
        color: #0a66c2 !important; /* LinkedIn Official Blue */
    }

    .footer-social a[href*="tiktok"] i {
        color: #ffffff !important; /* TikTok White (footer dark bg) */
    }

    .footer-social a[href*="telegram"] i {
        color: #0088cc !important; /* Telegram Official Blue */
    }
    
    .footer-social a:hover,
    .footer-social a:active {
        transform: translateY(-3px) scale(1.1);
    }
    
    /* CONTACT INFO MOBİL UYUMLU */
    .footer-section .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-section .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 0.75rem;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .footer-section .contact-item:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .footer-section .contact-item i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }

    /* Contact/Reservation Icons - Mobilde de orijinal renkler */
    .footer-section .contact-item a[href*="tel"] i {
        color: #34a853 !important; /* Google Green - Phone */
    }

    .footer-section .contact-item a[href*="whatsapp"] i,
    .footer-section .contact-item a[href*="wa.me"] i {
        color: #25d366 !important; /* WhatsApp Green */
    }

    .footer-section .contact-item a[href*="mailto"] i {
        color: #ea4335 !important; /* Gmail Red */
    }

    .footer-section .contact-item a[href*="maps"] i,
    .footer-section .contact-item a[href*="google.com/maps"] i {
        color: #4285f4 !important; /* Google Maps Blue */
    }
    
    /* FOOTER BOTTOM MOBİL UYUMLU */
    .footer-bottom {
        padding-top: 1.5rem; /* Daha az padding */
        margin-top: 1.5rem;
        text-align: center;
        font-size: 0.85rem; /* Küçült */
        line-height: 1.6;
        color: rgba(255,255,255,0.6);
    }
    
    .footer-bottom .copyright {
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom .legal-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-bottom .legal-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.2s ease;
        font-size: 0.8rem;
    }
    
    .footer-bottom .legal-links a:hover {
        color: var(--white-pure);
        background: rgba(255,255,255,0.1);
    }
}

/* KÜÇÜK MOBİL (480px ve altı) */
@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem; /* Daha da kompakt */
    }
    
    .footer-content {
        gap: 1.5rem;
        padding: 0 0.75rem; /* Daha az yan padding */
    }
    
    .footer-section {
        padding: 1.25rem 0;
    }
    
    .footer-section h3 {
        font-size: 1rem; /* Daha küçük */
        margin-bottom: 1rem;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem; /* Daha küçük */
        line-height: 1.7;
    }
    
    /* SOCIAL ICONS KÜÇÜK MOBİL */
    .footer-social {
        gap: 1rem; /* Daha az gap */
    }
    
    .footer-social a {
        padding: 14px; /* Touch-friendly ama küçük */
        font-size: 1.2rem;
    }
    
    /* CONTACT ITEMS KÜÇÜK MOBİL */
    .footer-section .contact-item {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .footer-section .contact-item i {
        font-size: 1rem;
        width: 18px;
    }
    
    /* FOOTER BOTTOM KÜÇÜK MOBİL */
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.25rem;
    }
    
    .footer-bottom .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom .legal-links a {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (360px ve altı) */
@media (max-width: 360px) {
    .footer {
        padding: 1.25rem 0 0.75rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
        gap: 1.25rem;
    }
    
    .footer-section {
        padding: 1rem 0;
    }
    
    .footer-section h3 {
        font-size: 0.95rem;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.1rem;
    }
    
    .footer-social a {
        padding: 12px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* LANDSCAPE ORİENTASYON (Yatay tutma) */
@media (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 kolon yatayda */
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-section {
        padding: 0.75rem 0;
        border-bottom: none; /* Çizgileri kaldır */
    }
    
    .footer-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0.125rem 0;
    }
    
    .footer-social {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .footer-social a {
        padding: 10px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.7rem;
    }
}

/* CROSS-BROWSER MOBİL UYUMLULUK */
/* iOS Safari özel düzeltmeler */
@supports (-webkit-touch-callout: none) {
    .footer-social a {
        -webkit-tap-highlight-color: rgba(0,102,204,0.2);
    }
    
    .footer-section a {
        -webkit-tap-highlight-color: rgba(255,255,255,0.1);
    }
    
    /* iOS safe area için ek padding */
    @media screen and (max-height: 812px) and (max-width: 414px) {
        .footer {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        }
    }
}

/* Android WebView özel düzeltmeler */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .footer-social a {
        min-width: 48px; /* Android için daha büyük */
        min-height: 48px;
    }
    
    .footer-section .contact-item {
        min-height: 44px;
    }
}