/* ─── VARIABLES & RESET ─────────────────────────────────────── */
:root {
    /* BRIGHTER GOLD: Increased saturation for better "pop" */
    --gold: #F1D666;
    --gold-dark: #8A6A00;

    /* BOLDER BLACK: Using #0A0A0A provides higher contrast than softer greys */
    --black: #0A0A0A;
    --off-black: #111111;

    /* REFINED NEUTRALS */
    --white: #FFFFFF;
    --cream: #FAF8F2;
    --gray-light: #F5F3EE;
    --gray-mid: #9A9490;
    
    /* ADDING BRIGHT TEXT VARIABLE: Used for the "brighter" body text you liked */
    --text-bright: #E0E0E0; 

    --fs: 'Cormorant Garamond', Georgia, serif;
    --fd: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--fs);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
    height: 76px;
    border-bottom: 0.5px solid rgba(241, 214, 102, 0.2);
    transition: transform 0.4s ease, background 0.3s ease;
}

nav.nav-hidden { transform: translateY(-100%); }

.nav-logo {
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.nav-logo span,
.nav-logo-phone {
    display: block;
    font-family: var(--fs);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-logo span { font-size: 12px; }
.nav-logo:hover { color: var(--gold); }
.nav-logo:hover span { color: rgba(255, 255, 255, 0.85); }
.nav-logo-phone:hover { color: var(--gold); }

.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }

.nav-links > li { position: relative; } /* Ensure children anchor to parents */

.nav-links a {
    font-family: var(--fs);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.99);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    display: block;
    padding: 10px 0;
}

.nav-links a:hover { color: var(--gold); }

/* ─── MOBILE NAVIGATION ─────────────────────────────────── */

/* 1. Hide Hamburger on Desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 300;
    background: transparent;
    border: none;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    nav { padding: 0 24px; }

    /* 2. Show Hamburger */
    .nav-hamburger { display: flex; }

    /* 3. Transform Nav Links into a Mobile Sidebar */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* 4. Show Menu when Active */
    .nav-links.active { right: 0; }

    .nav-links a { font-size: 17px; padding: 15px 0; }

    /* 5. Handle Mobile Dropdowns (Simplified for touch) */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        display: none; /* Toggle this via JS if desired, or keep visible */
    }

    .dropdown.active .dropdown-menu { display: block; }
}

/* DROPDOWN SPECIFIC STYLES */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--off-black); /* Darker background for hierarchy */
    min-width: 220px;
    padding: 16px 0;
    list-style: none;
    border: 0.5px solid rgba(241, 214, 102, 0.25); /* Subtle gold border */
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    
    /* Animation & Visibility */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Initial position for sliding feel */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slide-up effect */
}

.dropdown-menu li a {
    padding: 10px 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.80) !important;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(241, 214, 102, 0.05);
    color: var(--gold) !important;
}

.arrow {
    font-size: 8px;
    margin-left: 5px;
    opacity: 0.5;
    vertical-align: middle;
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--black) !important;
    padding: 10px 24px !important;
    border-radius: 2px;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    transition: background 0.2s, opacity 0.2s !important;
    margin-left: 10px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
    background: var(--black);
    padding: 72px 88px 40px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 36px;
}

.footer-logo {
    display: inline-block;
    font-family: var(--fd);
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 240px;
    margin-bottom: 28px;
}

.footer-cert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(241, 214, 102, 0.28);
    padding: 7px 14px;
    border-radius: 1px;
    font-family: var(--fs);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-col-title {
    font-family: var(--fs);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.footer-links a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

.footer-bottom-links { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── FOOTER RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    footer { padding: 56px 32px 32px; }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
    .footer-top > :first-child { grid-column: 1 / -1; }
    .footer-tagline { max-width: none; }
}

@media (max-width: 560px) {
    footer { padding: 48px 24px 28px; }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
    .footer-logo { font-size: 22px; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-bottom-links { gap: 18px; }
}

/* ─── SHARED UTILITIES ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Create a standard container to use on ALL pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Standard side-spacing for mobile/tablets */
    width: 100%;
}

.reveal.visible { opacity: 1; transform: none; }
/* ─── COOKIE CONSENT FOOTER BUTTONS ─────────────────────────
   Makes #cc-reopen and #cc-dns-link visually match footer links
   without duplicating cookie-consent.css rules.
────────────────────────────────────────────────────────────── */
#cc-reopen,
#cc-dns-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--fs);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
    letter-spacing: 0;
}

#cc-reopen:hover,
#cc-dns-link:hover {
    color: var(--gold);
    text-decoration-color: rgba(241, 214, 102, 0.4);
}

/* ── reCAPTCHA v3 badge ──────────────────────────────────────
   Hidden site-wide. Google permits this as long as the required
   "protected by reCAPTCHA" disclosure is shown near each form
   (see .xcf-recaptcha-note in the pre-footer + form pages). */
.grecaptcha-badge { visibility: hidden; }
