/* --- Optimized Root Variables --- */
:root {
    --primary-gold: #c5a059;
    --gold-hover: #e2c185;
    --dark-bg: #111111;
    --glass-white: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.06);
    --nav-height: 90px;
    --nav-mobile: 70px;
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.08);
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
}

/* --- Smooth Scrolling --- */
html { scroll-behavior: smooth; }

/* --- Navbar Base --- */
.navbar {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    height: var(--nav-height);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Shrink effect on scroll (requires simple JS to toggle .scrolled class) */
.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-premium);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
}

/* --- Logo: Elegant Scaling --- */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo img {
    height: clamp(60px, 8vw, 100px);
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img { transform: scale(1.05); }

.logo span {
    font-family: var(--font-accent);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-bg);
    position: relative;
}

/* --- Desktop Menu: Minimalist --- */
.menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.menu > li > a {
    padding: 10px 20px;
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: 0.3s ease;
}

/* Elegant Underline Hover */
.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu > li:hover > a { color: var(--primary-gold); }
.menu > li:hover > a::after { transform: scaleX(1); }

/* --- Submenu: The "Float" Effect --- */
.submenu {
    position: absolute;
    top: 90%;
    background: #fff;
    min-width: 220px;
    padding: 15px 0;
    list-style: none;
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    padding: 10px 25px;
    display: block;
    color: #444;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}

.submenu li a:hover {
    background: #fcfcfc;
    color: var(--primary-gold);
    padding-left: 30px;
}

/* --- Responsive (Mobile & Tablet) --- */
@media (max-width: 992px) {
    .navbar { height: var(--nav-mobile); }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 10005;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--dark-bg);
        transition: 0.3s;
    }

    /* Side Drawer Menu */
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding-top: 100px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .menu.active { right: 0; }

    .menu li { width: 100%; }

    .menu li a {
        padding: 20px 40px;
        font-size: 14px;
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }

    /* Submenu on Mobile (Accordion Style) */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: #fafafa;
    }

    .dropdown.active .submenu { display: block; }
}

/* --- Animations --- */
@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}