/* Mobile Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    transition: 0.5s ease-in-out;
    padding-top: 80px;
    border-left: 1px solid var(--accent);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav ul li {
    margin: 20px 0;
    text-align: center;
}

.mobile-nav ul li a {
    color: var(--text);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: block;
    padding: 10px;
}

.mobile-nav ul li a:hover {
    color: var(--accent);
}

/* Hamburger menu animation */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--accent);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--accent);
}

/* Overlay when menu is open */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
}
