/* ============================================
   FOOTER STYLES - Premium Travel Brand Theme
   ============================================ */

/* Root Variables */
:root {
    --footer-bg: #1a1a1a;
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #b4b9c0;
    --footer-text-tertiary: #6b7280;
    --footer-border: #333333;
    --footer-brand: #c58a67;
    --footer-hover: #d97706;
    --footer-divider: rgba(255, 255, 255, 0.1);
}

/* Base Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-primary);
    padding: 45px 0 25px;
    margin-top: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 20px;
}

/* Footer Section Styles */
.footer-section {
    margin-bottom: 0;
}

.footer-section h3 {
    color: var(--footer-text-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 11px;
    line-height: 1.4;
}

/* Brand Section */
.footer-section-brand p {
    color: var(--footer-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Links Styling */
.footer-section a,
.footer-section-link {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease, padding-left 0.2s ease;
}

.footer-section a:hover,
.footer-section-link:hover {
    color: var(--footer-brand);
    padding-left: 4px;
}

/* Contact Information */
.contact-info {
    margin-bottom: 8px;
}

.contact-label {
    color: var(--footer-text-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: block;
    margin-top: 8px;
}

.contact-label:first-child {
    margin-top: 0;
}

.contact-value {
    color: var(--footer-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #2a2b38;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
    line-height: 1;
}

.social-icon:hover {
    background-color: #3a3b4a;
    color: #fff;
}

/* Footer Divider */
.footer-divider {
    border-top: 1px solid var(--footer-divider);
    margin: 20px 0;
    padding-top: 0;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
}

.footer-copyright {
    color: var(--footer-text-tertiary);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (769px - 1023px)
   ============================================ */
@media (max-width: 1023px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        margin-bottom: 28px;
    }

    footer {
        padding: 45px 0 28px;
        margin-top: 50px;
    }

    .footer-section h3 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-section a,
    .footer-section-link {
        font-size: 13px;
        margin-bottom: 7px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .footer-divider {
        margin: 22px 0;
    }

    .footer-section-brand p {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (0px - 768px)
   ============================================ */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    footer {
        padding: 36px 0 20px;
        margin-top: 40px;
    }

    .footer-section h3 {
        font-size: 12px;
        margin-bottom: 10px;
        letter-spacing: 0.7px;
    }

    .footer-section a,
    .footer-section-link {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-section-brand p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .contact-info {
        margin-bottom: 6px;
    }

    .contact-label {
        font-size: 11px;
        margin-bottom: 1px;
        margin-top: 6px;
    }

    .contact-value {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .social-links {
        gap: 8px;
        margin-top: 10px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-divider {
        margin: 18px 0;
    }

    .footer-bottom {
        padding-top: 10px;
        /* override the desktop padding-right:100px — on mobile stack vertically centred */
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 6px !important;
        padding-right: 0 !important;
    }

    .footer-copyright {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }
}

/* ============================================
   MOBILE SMALL (0px - 480px)
   ============================================ */
@media (max-width: 480px) {
    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
    }

    footer {
        padding: 35px 0 22px;
        margin-top: 40px;
    }

    .footer-section h3 {
        font-size: 12px;
        margin-bottom: 11px;
        letter-spacing: 0.6px;
    }

    .footer-section a,
    .footer-section-link {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .social-links {
        gap: 9px;
        justify-content: flex-start;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .footer-divider {
        margin: 18px 0;
    }

    .footer-copyright {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Truncate text for long content */
.footer-text-truncate {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Ensure footer stays at bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Print Styles */
@media print {
    footer {
        background-color: #ffffff;
        color: #000000;
        border-top: 1px solid #e5e7eb;
        margin-top: 30px;
        padding: 25px 0;
    }

    .footer-section h3 {
        color: #000000;
    }

    .footer-section a,
    .contact-label {
        color: #111827;
    }

    .social-icon {
        display: none;
    }

    .footer-divider {
        border-top: 1px solid #e5e7eb;
    }
}
