.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 16rem; /* 64px = 16rem */
    background-color: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.translate-x-full {
    transform: translateX(100%);
}

.mobile-menu:not(.translate-x-full) {
    transform: translateX(0);
}

/* Mobile navigation styles */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    padding: 0.75rem 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
   /* border-bottom: 1px solid #f0f0f0; */
}

.mobile-nav a:hover {
    color: var(--gold); /* Use your gold color variable */
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu toggle button styling */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    align-self: flex-end;
}


/* In your mobile-menu.css or custom.css file */

/* Hide desktop navigation on mobile */
@media (max-width: 1023px) { /* or use your breakpoint if different */
    header nav.lg\\:flex {
        display: none !important;
    }
    
    /* Ensure toggle button is visible on mobile */
    .mobile-menu-toggle {
        display: block !important;
    }
}

/* Show desktop navigation on desktop */
@media (min-width: 1024px) {
    header nav.lg\\:flex {
        display: flex !important;
    }
    
    /* Hide toggle button on desktop */
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Alternative approach if the above doesn't work due to escape characters */
@media (max-width: 1023px) {
    header nav[class*="lg:flex"] {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    header nav[class*="lg:flex"] {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}