/* public/mobile-nav.css */
/* --- Variable Definitions for standalone use --- */
:root {
    --nav-text-primary: #0f172a; /* Deep Navy */
    --nav-text-secondary: #64748b; /* Slate Gray */
    --nav-surface-color: #ffffff; /* White */
}


.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--nav-text-secondary); /* USE LOCAL VARIABLE */
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--nav-surface-color); /* USE LOCAL VARIABLE */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease-in-out;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--nav-text-primary); /* USE LOCAL VARIABLE */
    text-decoration: none;
}

.mobile-nav .btn {
    margin-top: 1.5rem;
    width: 80%;
    max-width: 250px;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--nav-text-secondary); /* USE LOCAL VARIABLE */
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    .hamburger-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}