/* --- Root Variables for Brand Consistency --- */
:root {
    --primary-gold: #c5a059;
    --dark-bg: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* --- Navbar Core --- */
.navbar {
    background: var(--glass-bg); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: all 0.4s ease;
    height: 90px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

/* --- Logo Section with Golden Text Style --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative; 
    z-index: 10001;     
}

.logo img {
    height: 120px;    
    width: auto;
    position: absolute;
    top: -30px;        
    left: 0;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo span {
    margin-left: 140px; 
    white-space: nowrap;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    /* Golden Shimmer Effect */
    background: linear-gradient(90deg, #111, var(--primary-gold), #111);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 5s linear infinite;
}

/* --- Menu & Navigation --- */
.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 35px 25px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu > li:hover > a {
    background: var(--dark-bg);
    color: #ffffff;
}

/* --- Crystal Glass Submenu --- */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    display: none; /* Managed by nav.js and CSS Hover */
    z-index: 1000;
    padding: 10px 0;
    margin: 0;
    
    /* Crystal Glassy Effect */
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(30px) brightness(1.1) saturate(150%);
    -webkit-backdrop-filter: blur(30px) brightness(1.1) saturate(150%);
    
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
}

.submenu li a {
    display: flex; 
    align-items: center;
    width: 100%;    
    padding: 15px 25px; 
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-sizing: border-box; 
}

.submenu li a i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    color: var(--primary-gold);
}

.submenu li:hover > a {
    background: rgba(197, 160, 89, 0.1); /* Subtle Gold Tint */
    color: var(--primary-gold);
    padding-left: 30px;
}

/* Dropdown Interaction */
.dropdown:hover > .submenu {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* --- Shopping Bag & Badge --- */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge {
    background-color: var(--primary-gold);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25px; /* Aligned for the 90px height */
    right: 12px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Utility Classes --- */
.dropdown hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 5px 0;
}

/* --- Animations --- */
@keyframes goldShine {
    to { background-position: 200% center; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Adjustments (768px and below) --- */
@media (max-width: 768px) {
    .navbar { height: 70px; }
    .logo img { height: 90px; top: -15px; }
    .logo span { margin-left: 100px; font-size: 16px; letter-spacing: 2px; }
    
    .nav-container { padding: 0 20px; }
    
    .menu > li > a { padding: 25px 15px; font-size: 12px; }
    
    .submenu {
        width: 200px;
        position: fixed;
        top: 70px;
        right: 10px;
        left: auto;
    }
}