/* Hamburger Menu Styles */
/* Add this CSS to your existing stylesheets or include as separate file */

/* Hamburger Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--stone);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

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

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

/* Mobile Navigation Links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links a {
    font-family: 'Outfit', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 200px;
}

.mobile-nav-links a:hover {
    color: var(--teal);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile CTA Button Styling */
.mobile-nav-links .btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--emerald));
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 0.875rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.mobile-nav-links .btn-primary:hover {
    color: white !important;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}

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

/* Show hamburger menu on mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    /* Ensure original nav links are hidden on mobile */
    .nav-links {
        display: none !important;
    }
}

/* Hide hamburger menu on desktop */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Focus styles for accessibility */
.hamburger-menu:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.mobile-nav-links a:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* Animation for menu items */
.mobile-menu-overlay.active .mobile-nav-links a {
    animation: slideInUp 0.3s ease forwards;
}

.mobile-nav-links a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links a:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-links a:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-links a:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}