/* Mobile Hamburger Menu Styles for Ahoy Site */

/* Hamburger button - only shows at <600px */
.mobile-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ff0066;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation to X */
.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: rotate(45deg);
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #ff0066;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #fff;
}

/* Mobile navigation */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
}

.mobile-menu-nav a:hover {
    color: #ff0066;
    opacity: 1;
    border-color: rgba(255, 0, 102, 0.3);
    background: rgba(255, 0, 102, 0.1);
    transform: scale(1.05);
}

/* Mobile styles - show hamburger only at <600px */
@media (max-width: 600px) {
    .mobile-hamburger {
        display: flex;
        margin-left: auto;
    }
    
    /* Ensure nav container is flex so hamburger aligns right */
    nav > div,
    .nav-container {
        position: relative;
    }
}

/* Ensure mobile menu works at all screen sizes when active */
@media (min-width: 601px) {
    .mobile-menu.active {
        display: none;
    }
    
    .mobile-hamburger {
        display: none !important;
    }
}