/* Simple Mobile Navigation System */
:root {
    --gold: #D4A574;
    --black: #000000;
    --white: #ffffff;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--gold);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.burger-menu span:nth-child(1) {
    top: 0px;
}

.burger-menu span:nth-child(2) {
    top: 10px;
}

.burger-menu span:nth-child(3) {
    top: 20px;
}

/* When menu is open - transform to X */
.burger-menu.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-menu.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Full Screen Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

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

/* Close X Button */
.mobile-close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002;
    padding: 0;
    transition: transform 0.3s ease;
}

.mobile-close-btn:hover {
    transform: rotate(90deg);
}

.mobile-close-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--gold);
    left: 0;
}

.mobile-close-btn span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.mobile-close-btn span:nth-child(2) {
    top: 50%;
    transform: rotate(-45deg);
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    height: 100vh;
    padding: 100px 30px 40px 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Force scrollbar to always show */
.mobile-menu-content {
    overflow-y: scroll !important;
}

/* Logo styles */
.mobile-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 60px;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 5px;
    animation: fadeInUp 0.3s ease forwards;
}

.mobile-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 0.4s ease forwards;
}

/* Menu items container */
.menu-items {
    margin-top: 20px;
    padding-bottom: 100px; /* Extra padding at bottom for scrolling */
    min-height: 100vh; /* Ensure content is tall enough to scroll */
}

/* Custom scrollbar for mobile menu - more visible */
.mobile-menu-content::-webkit-scrollbar {
    width: 8px;
    display: block !important;
}

.mobile-menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mobile-menu-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.mobile-menu-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
    opacity: 1;
}

/* For Firefox */
.mobile-menu-content {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255, 255, 255, 0.1);
}

.menu-items a,
.mobile-menu-content a {
    display: block;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
    text-decoration: none;
    padding: 12px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-items > *:nth-child(1) { animation-delay: 0.5s; }
.menu-items > *:nth-child(2) { animation-delay: 0.6s; }
.menu-items > *:nth-child(3) { animation-delay: 0.7s; }
.menu-items > *:nth-child(4) { animation-delay: 0.8s; }
.menu-items > *:nth-child(5) { animation-delay: 0.9s; }
.menu-items > *:nth-child(6) { animation-delay: 1.0s; }

.menu-items a:hover,
.mobile-menu-content a:hover {
    color: var(--gold);
    transform: scale(1.1) translateY(0);
}

/* Products Dropdown in Mobile */
.mobile-dropdown {
    margin-top: 10px;
}

.mobile-dropdown-toggle {
    display: block;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
    text-decoration: none;
    padding: 12px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
}

.mobile-dropdown-toggle:hover {
    color: var(--gold);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-content.show {
    max-height: 300px;
}

.mobile-dropdown-content a {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    letter-spacing: 3px;
}

.mobile-dropdown-content a:hover {
    color: var(--gold);
    transform: scale(1.05) translateY(0);
}

/* Show burger menu only on mobile */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    /* Hide desktop navigation */
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    /* Hide old mobile menu buttons */
    .mobile-menu-btn,
    .menu-toggle {
        display: none !important;
    }

    /* Ensure navigation bar is visible */
    nav {
        background: rgba(0, 0, 0, 0.95) !important;
        z-index: 9999 !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Adjustments for smaller screens */
@media (max-height: 700px) {
    .mobile-logo {
        font-size: 48px;
        margin-bottom: 0;
    }

    .mobile-tagline {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .menu-items a,
    .mobile-menu-content a {
        font-size: 28px;
        padding: 10px 0;
    }

    .mobile-dropdown-toggle {
        font-size: 28px;
        padding: 10px 0;
    }

    .mobile-dropdown-content a {
        font-size: 22px;
        padding: 6px 0;
    }

    .mobile-menu-content {
        padding: 80px 20px 30px;
    }
}

/* Even smaller screens */
@media (max-height: 500px) {
    .mobile-logo {
        font-size: 40px;
    }

    .menu-items a,
    .mobile-menu-content a {
        font-size: 24px;
        padding: 8px 0;
    }

    .mobile-dropdown-toggle {
        font-size: 24px;
    }

    .mobile-dropdown-content a {
        font-size: 20px;
    }
}