﻿/* ========================================
   FOOTER — _footer.css
   All styles scoped exclusively to the
   footer element and its sub-components:
   newsletter strip, brand column, nav
   sections, social links, footer bottom.
   ======================================== */


/* ════════════════════════════════════════
   FOOTER WRAPPER
   ════════════════════════════════════════ */

footer {
    background: linear-gradient(180deg, #faf8f3 0%, #f5e6d3 50%, #faf8f3 100%);
    color: var(--dark-gray);
    padding: 0;
    position: relative;
    overflow: hidden;
}

    /* Burgundy-to-gold top border */
    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, transparent 0%, var(--burgundy) 20%, var(--gold) 50%, var(--burgundy) 80%, transparent 100%);
        box-shadow: 0 0 20px rgba(107, 44, 62, 0.3);
    }

    /* Subtle dot pattern overlay */
    footer::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1.5" fill="%23D4AF37" opacity="0.08"/></svg>');
        background-size: 40px 40px;
        pointer-events: none;
    }


/* ════════════════════════════════════════
   NEWSLETTER STRIP
   ════════════════════════════════════════ */

.newsletter-section {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-burgundy) 50%, var(--burgundy) 100%);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin: 3rem auto 4rem;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(107, 44, 62, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 40px rgba(212, 175, 55, 0.2);
}

    /* Floating diamond pattern */
    .newsletter-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><polygon points="10,2 18,10 10,18 2,10" fill="none" stroke="%23D4AF37" stroke-width="0.4" opacity="0.35"/></svg>');
        background-size: 80px 80px;
        opacity: 0.2;
        border-radius: 24px;
    }

    .newsletter-section::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 26px;
        z-index: -1;
        opacity: 0.4;
        filter: blur(8px);
    }

@keyframes footer-float-pattern {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

/* ── Newsletter content ─────────────────── */
.newsletter-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-text {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .newsletter-text h3 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--gold);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-shadow: 0 2px 20px rgba(212, 175, 55, 0.4);
    }

        .newsletter-text h3 i {
            color: var(--gold);
            font-size: 2.2rem;
            filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
        }

    .newsletter-text p {
        color: var(--champagne);
        font-size: 1.15rem;
        line-height: 1.7;
        font-weight: 400;
    }

/* ── Email form row ─────────────────────── */
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem;
    border-radius: 60px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(10px);
}

.email-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

    .email-input-wrapper i {
        position: absolute;
        left: 1.5rem;
        color: var(--burgundy);
        font-size: 1.1rem;
    }

.email-input {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.5rem;
    background: var(--white);
    border: none;
    border-radius: 60px;
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .email-input::placeholder {
        color: var(--luxury-gray);
    }

    .email-input:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3), inset 0 2px 5px rgba(0, 0, 0, 0.05);
        transform: translateY(-1px);
    }

/* ── Subscribe button ───────────────────── */
.subscribe-btn {
    padding: 1.1rem 2.75rem;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-burgundy);
    border: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

    .subscribe-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        transition: left 0.5s;
    }

    .subscribe-btn:hover::before {
        left: 100%;
    }

    .subscribe-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .subscribe-btn:active {
        transform: translateY(-1px);
    }

    .subscribe-btn i {
        font-size: 1.1rem;
    }

/* ── reCAPTCHA wrapper ──────────────────── */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

    .recaptcha-wrapper.hidden {
        display: none;
    }

/* ── Privacy note ───────────────────────── */
.newsletter-privacy {
    text-align: center;
    font-size: 0.9rem;
    color: var(--champagne);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

    .newsletter-privacy i {
        color: var(--gold);
    }


/* ════════════════════════════════════════
   FOOTER CONTENT GRID
   ════════════════════════════════════════ */

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}


/* ════════════════════════════════════════
   BRAND COLUMN
   ════════════════════════════════════════ */

.footer-brand {
    max-width: 420px;
}

    .footer-brand .logo {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--burgundy), var(--wine));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-brand > p {
        color: var(--luxury-gray);
        line-height: 1.9;
        margin-bottom: 2rem;
        font-size: 1.02rem;
    }

/* ── Company info block ─────────────────── */
.company-info {
    margin-bottom: 2rem;
    font-size: 0.96rem;
}

    .company-info p {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.1rem;
        color: var(--luxury-gray);
        line-height: 1.8;
    }

    .company-info i {
        color: var(--burgundy);
        margin-top: 0.25rem;
        min-width: 18px;
        font-size: 1.15rem;
    }

    .company-info strong {
        color: var(--burgundy);
        font-weight: 600;
    }

    .company-info .address {
        display: block;
        margin-top: 0.5rem;
    }

    .company-info a {
        color: var(--burgundy);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }

        .company-info a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .company-info a:hover::after {
            width: 100%;
        }

        .company-info a:hover {
            color: var(--wine);
        }

/* ── Social icons ───────────────────────── */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    color: var(--burgundy);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(107, 44, 62, 0.15);
}

    /* Radial fill on hover */
    .social-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: linear-gradient(135deg, var(--burgundy), var(--wine));
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.4s, height 0.4s;
    }

    .social-link:hover::before {
        width: 120%;
        height: 120%;
    }

    .social-link:hover {
        border-color: var(--gold);
        transform: translateY(-6px) scale(1.08);
        box-shadow: 0 12px 30px rgba(107, 44, 62, 0.3);
    }

    .social-link i {
        font-size: 1.3rem;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
    }

    .social-link:hover i {
        color: var(--gold);
    }


/* ════════════════════════════════════════
   FOOTER NAV SECTIONS (4 columns)
   ════════════════════════════════════════ */

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

    /* Burgundy-to-gold underline */
    .footer-section h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--burgundy), var(--gold));
        border-radius: 2px;
    }

.footer-section a {
    display: block;
    color: var(--luxury-gray);
    text-decoration: none;
    margin-bottom: 0.9rem;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
}

    /* Arrow appears before link on hover */
    .footer-section a::before {
        content: '→';
        position: absolute;
        left: -22px;
        opacity: 0;
        color: var(--gold);
        transition: all 0.3s ease;
    }

    .footer-section a:hover {
        color: var(--burgundy);
        padding-left: 22px;
        font-weight: 500;
    }

        .footer-section a:hover::before {
            left: 0;
            opacity: 1;
        }


/* ════════════════════════════════════════
   FOOTER BOTTOM BAR
   ════════════════════════════════════════ */

.footer-bottom {
    text-align: center;
    padding: 3rem 3rem 2.5rem;
    border-top: 2px solid rgba(107, 44, 62, 0.15);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.03));
}

    /* Gold centre-line above border */
    .footer-bottom::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    .footer-bottom p {
        color: var(--luxury-gray);
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.8;
    }

        .footer-bottom p a {
            color: var(--luxury-gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-bottom p a:hover {
                color: var(--burgundy);
            }

/* Tagline */
.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    background: linear-gradient(135deg, var(--burgundy), var(--gold), var(--burgundy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 500;
}


/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

/* ── 1200px — 3-col grid, brand full-width ─ */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .newsletter-section {
        padding: 3.5rem 2.5rem;
    }
}

/* ── 968px — 2-col grid ─────────────────── */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
    }

        .footer-brand .social-links {
            justify-content: center;
        }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section {
        text-align: center;
    }

        .footer-section h4 {
            margin-bottom: 1.2rem;
        }

        .footer-section a {
            margin-bottom: 0.6rem;
            padding-left: 0;
        }

            .footer-section a::before {
                display: none;
            }

            .footer-section a:hover {
                padding-left: 0;
            }

    .footer-demo-btn {
        margin: 0.5rem auto 0;
    }
}

/* ── 768px — 2-col sections, centred ────── */
@media (max-width: 768px) {
    footer {
        padding: 0;
    }

    .newsletter-section {
        padding: 3rem 2rem;
        margin: 2rem 1rem 3rem;
        border-radius: 20px;
    }

    .newsletter-text h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

        .newsletter-text h3 i {
            font-size: 1.8rem;
        }

    .newsletter-text p {
        font-size: 1.05rem;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }

    .email-input {
        border-radius: 14px;
        padding: 1.1rem 1rem 1.1rem 3rem;
    }

    .subscribe-btn {
        border-radius: 14px;
        justify-content: center;
        padding: 1.1rem 2rem;
    }

    /* Keep 2 columns for sections on mobile */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
        padding: 0 1.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    /* Brand spans full width */
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.7rem;
    }

        .footer-section h4::after {
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
        }

    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-left: 0;
    }

        .footer-section a::before {
            display: none;
        }

        .footer-section a:hover {
            padding-left: 0;
            font-weight: 600;
        }

    .footer-demo-btn {
        margin: 0.5rem auto 0;
        font-size: 0.82rem;
        padding: 0.5rem 1rem !important;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 2rem 1.5rem;
    }

        .footer-bottom p {
            font-size: 0.85rem;
        }
}

/* ── 480px — single column ──────────────── */
@media (max-width: 480px) {
    .newsletter-section {
        padding: 2.5rem 1.5rem;
        margin: 1.5rem 0.8rem 2.5rem;
    }

    .newsletter-text h3 {
        font-size: 1.7rem;
    }

    .footer-brand .logo {
        font-size: 2rem;
    }

    .social-link {
        width: 46px;
        height: 46px;
    }

    /* Single column on very small screens */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
}


.footer-demo-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.65rem 1.25rem !important;
    background: transparent;
    color: var(--burgundy) !important;
    border: 2px solid var(--burgundy);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .footer-demo-btn::before {
        display: none !important;
    }

    .footer-demo-btn:hover {
        background: var(--burgundy) !important;
        color: var(--gold) !important;
        padding-left: 1.25rem !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(107, 44, 62, 0.25);
    }

    .footer-demo-btn i {
        font-size: 0.85rem;
    }
