/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --gold: #D4AF37;
    --black: #000000;
    --light-bg: #f8f8f8;
    --primary-color: #1A1A1A;
    --secondary-color: #D4AF37;
    --light-color: #F5F5F5;
    --dark-color: #333;
    --gray-color: #666;
    --light-gray: #DDD;
    --white: #FFF;
    --gray-border: #e0e0e0;
    --text-dark: #222222;
    --text-light: #777777;
    --success: #28a745;
    --error: #dc3545;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    background: #F5F5F5;
    padding-top: 74px;
    /* Space for fixed navbar */
}

/* ===== TOPBAR ===== */
.topbar {
    background-color: #1A1A1A;
    color: #F5F5F5;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

/* ===== SEARCH BAR ===== */
.search-bar {
    flex-grow: 1;
    margin: 0 30px;
    position: relative;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: #2C2C2C;
    color: #F5F5F5;
    padding-right: 45px;
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #D4AF37;
    cursor: pointer;
}

/* ===== NAVIGATION ===== */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #F5F5F5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 8px 0;
    display: block;
}

.nav-links a:hover, .nav-links a.active, .icons .active i {
    color: #D4AF37;
}

/* ===== DROPDOWN CATEGORIES ===== */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1A1A1A;
    min-width: 250px;
    z-index: 100;
    border-top: 2px solid #D4AF37;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #F5F5F5;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #2C2C2C;
}

.dropdown-content a:hover {
    background: #2C2C2C;
    color: #D4AF37;
}

/* ===== MULTI-LEVEL DROPDOWN ===== */
.submenu {
    position: relative;
}

.submenu .submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #1A1A1A;
    min-width: 250px;
}

.submenu:hover .submenu-content {
    display: block;
}

/* ===== ICONS ===== */
.icons {
    display: flex;
    gap: 20px;
    margin-left: 30px;
}

.icons a {
    color: #F5F5F5;
    font-size: 18px;
    transition: color 0.3s;
    position: relative;
}

.icons a:hover {
    color: #D4AF37;
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #D4AF37;
    color: #1A1A1A;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #F5F5F5;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .topbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .search-bar {
        order: 4;
        width: 100%;
        max-width: none;
        margin: 15px 0 0 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        /* Set explicit width */
        background: #1A1A1A;
        flex-direction: column;
        gap: 10px;
        display: flex;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        transition: left 0.3s ease;
        margin-top: 40px;
    }

    .nav-links.active {
        left: 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        display: none;
        padding-left: 20px;
        background: #2C2C2C;
        margin-top: 5px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .submenu .submenu-content {
        position: static;
        display: none;
        padding-left: 20px;
        background: #333333;
    }

    .submenu.active .submenu-content {
        display: block;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }

    .icons {
        order: 3;
        margin-left: auto;
    }

    .dropdown>a:after,
    .submenu>a:after {
        content: '+';
        float: right;
        margin-left: 10px;
        transition: transform 0.3s;
    }

    .dropdown.active>a:after,
    .submenu.active>a:after {
        content: '-';
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 50px;
    }

    .icons {
        gap: 15px;
    }

    .topbar {
        padding: 10px 15px;
    }

    .nav-links {
        padding: 15px;
        /* Slightly reduce padding on small screens */
        top: 70px;
        /* Adjust if your mobile header is smaller */
    }
}



/* =======================================
============= Footer CSS =================
========================================== */
.luxury-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 0 30px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Brand Column */
.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    color: #d4af37;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-slogan {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #b0b0b0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #d4af37;
}

/* Footer Columns */
.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
}

/* Newsletter */
.newsletter-text {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.newsletter-form input {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #7a7a7a;
}

.subscribe-btn {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-btn:hover {
    background: #c19b2e;
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-methods img {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.payment-methods img:hover {
    filter: grayscale(0%) brightness(1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #7a7a7a;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #7a7a7a;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #b0b0b0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-slogan {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }
}