/**
 * Footer Section Styles
 */

/* ==========================================
   FOOTER CONTAINER
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
}

/* Gold accent line at top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
}

/* ==========================================
   FOOTER MAIN CONTENT
   ========================================== */
.footer-main {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: var(--spacing-2xl);
}

/* ==========================================
   FOOTER BRAND
   ========================================== */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-flag {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    margin: 0 0 var(--spacing-sm) 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: var(--text-sm);
    margin: 0;
}

/* ==========================================
   FOOTER LINKS
   ========================================== */
.footer-links-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: var(--text-sm);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin: 0 0 var(--spacing-lg) 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--white);
    padding-right: 4px;
}

/* ==========================================
   CONTACT
   ========================================== */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    opacity: 0.8;
}

.contact-link,
.contact-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

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

/* ==========================================
   FOOTER CTA (voice invitation)
   ========================================== */
.footer-cta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0 0 var(--spacing-md);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.625rem 1.125rem;
    background: linear-gradient(135deg, var(--accent-gold), #a8865c);
    color: var(--primary-color);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md, 0.5rem);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 168, 130, 0.25);
    filter: brightness(1.05);
    color: var(--primary-color);
}

.footer-cta-btn svg {
    transition: transform 0.2s ease;
}

.footer-cta-btn:hover svg {
    transform: translateX(-3px);
}

.footer-links-section .footer-contact {
    margin-top: var(--spacing-md);
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--text-xs);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--text-xs);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: var(--spacing-2xl) 0 var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
    }

    .footer-flag {
        width: 32px;
        height: 32px;
    }

    .footer-title {
        font-size: var(--text-lg);
        margin-bottom: var(--spacing-xs);
    }

    .footer-description {
        max-width: 320px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.65;
    }

    .footer-section-title {
        display: none;
    }

    /* Explore links become horizontal pills */
    .footer-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-xs) var(--spacing-md);
    }

    .footer-menu a {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
        padding: 4px 0;
        position: relative;
    }

    .footer-menu li:not(:last-child) a::after {
        content: '·';
        position: absolute;
        left: calc(var(--spacing-md) / -2 - 2px);
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent-gold);
        opacity: 0.5;
    }

    .footer-menu a:hover {
        color: var(--white);
        padding-right: 0;
    }

    /* Contact row centered, minimal */
    .footer-contact {
        align-items: center;
        gap: var(--spacing-sm);
    }

    .contact-item {
        justify-content: center;
        gap: var(--spacing-xs);
    }

    .contact-link,
    .contact-text {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.75);
    }

    .footer-bottom {
        padding: var(--spacing-md) 0 var(--spacing-lg);
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 1rem !important;
        left: 1rem !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: var(--spacing-lg);
    }
}
