/* Mobile Menu Styles */

/* Menu Toggle Button */
.simple-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 32px;
    height: 24px;
}

/* Menu Icon (Hamburger) */
.menu-icon {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Active state for menu toggle */
.simple-menu-toggle.active .menu-icon {
    background-color: transparent;
}

.simple-menu-toggle.active .menu-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.simple-menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.simple-mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.simple-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: #f5f5f5;
    color: #497EE6;
}

.mobile-nav-cta {
    display: inline-block;
    margin: 0.5rem 1.5rem;
    padding: 0.5rem 1.25rem;
    background-color: #497EE6;
    color: white !important;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .simple-nav {
        display: none;
    }
    
    .simple-menu-toggle {
        display: block;
    }
    
    .simple-mobile-menu {
        display: block;
    }
}

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

/* Adjust header height for mobile */
.simple-navbar {
    min-height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid #497EE6;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #497EE6;
    color: white;
    padding: 0.5rem 1rem;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}
