/* 
  MOBILE HAMBURGER MENU STYLES (standardized from edmond-concrete/streakerswindow)
  Clean, modern mobile navigation
*/

/* Variables - customize these! */
:root {
    --primary: #c21d2e;
    --text: #222222;
    --white: #FFFFFF;
}

/* Hamburger Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation when Active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: var(--white);
    z-index: 999;
    padding: 1.5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-logo img {
    max-height: 50px;
    width: auto;
}

/* Close Button */
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* CTA Button in Mobile Menu */
.mobile-nav-links .mobile-cta {
    background: var(--primary);
    color: var(--white);
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.mobile-nav-links .mobile-cta:hover {
    background: var(--primary);
    opacity: 0.9;
    padding-left: 1rem;
}

/* Show on Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide desktop nav on mobile */
    .main-navigation {
        display: none;
    }
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .menu-overlay,
    .mobile-menu-toggle span,
    .mobile-nav-links a {
        transition: none;
    }
}

