:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAF9F7;
    --text-navy: #0D1B2A;
    --accent-gold: #C9A84C;
    --accent-gold-hover: #b8963e;
    --body-gray: #4A4A4A;
    --muted-gray: #888888;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--body-gray);
    background-color: var(--bg-secondary);
    overflow: hidden;
    /* Prevent scroll during preloader */
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-navy);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#preloader-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    transform: scale(0.9);
}

.preloader-bar {
    width: 150px;
    height: 1.5px;
    background: rgba(201, 168, 76, 0.15);
    position: relative;
    overflow: hidden;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
}

/* --- NAVBAR --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    padding: 24px 0;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    opacity: 0;
    transform: translateY(-50px);
}

.header.scrolled {
    background: var(--bg-primary);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-navy);
    letter-spacing: 0.02em;
}

.logo .gold {
    color: var(--accent-gold);
    margin: 0 4px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
}

.header-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Light Nav Theme (Used when header is over dark heroes) */
.header.light-nav .logo,
.header.light-nav .nav-links a {
    color: var(--bg-primary);
}

.header.light-nav .header-cta {
    border-color: var(--bg-primary);
    color: var(--bg-primary);
}

.header.light-nav .nav-links a:hover,
.header.light-nav .nav-links a.active {
    color: var(--accent-gold);
}

.header.light-nav .header-cta:hover {
    background: var(--bg-primary);
    color: var(--text-navy);
    border-color: var(--bg-primary);
}

.header.light-nav .menu-toggle span {
    background: var(--bg-primary);
}

/* Revert colors when scrolled on light-nav */
.header.light-nav.scrolled .logo,
.header.light-nav.scrolled .nav-links a {
    color: var(--text-navy);
}

.header.light-nav.scrolled .header-cta {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.header.light-nav.scrolled .nav-links a:hover,
.header.light-nav.scrolled .nav-links a.active {
    color: var(--accent-gold);
}

.header.light-nav.scrolled .header-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.header.light-nav.scrolled .menu-toggle span {
    background: var(--text-navy);
}

/* Mobile Menu Toggler */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-navy);
    transition: var(--transition);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay .nav-links {
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.mobile-overlay .nav-links a {
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
}

/* --- SECTION 10: FOOTER --- */
.main-footer {
    background: #FFFFFF;
    border-top: 2px solid rgba(201, 168, 76, 0.3);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 80px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.col-brand .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: #0D1B2A;
    margin-bottom: 0;
}

.col-brand .footer-logo .gold {
    color: #C9A84C;
}

.col-brand .footer-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #888888;
    margin-top: 10px;
    max-width: 220px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D1B2A;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 500;
}

.social-icon:hover {
    border-color: #C9A84C;
    color: #C9A84C;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C9A84C;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #888888;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #0D1B2A;
    padding-left: 4px;
}

.contact-info p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #888888;
    line-height: 2.2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    color: #C9A84C;
}

.footer-bottom {
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #AAAAAA;
}

.bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bottom-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #AAAAAA;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #0D1B2A;
}

.bottom-links .gold-dot {
    color: #C9A84C;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: 1440px;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

.header-divider-gold {
    width: 60px;
    height: 2px;
    background: #C9A84C;
    margin: 24px auto;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.section-padding {
    padding: 120px 0;
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .mobile-full {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* --- FOOTER RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 60px 40px 40px;
    }

    .footer-bottom-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 50px 24px 30px;
        gap: 40px;
        text-align: center;
    }

    .col-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .social-links {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .footer-bottom-container {
        padding: 0 24px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bottom-links {
        justify-content: center;
    }
}

/* --- Global Header Mobile --- */
@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }

    .header .nav-links,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo {
        font-size: 20px;
    }
}

