/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

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

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

/* Search Form Overlay */
.search-form-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.search-form-wrapper.active {
    display: flex;
}

.search-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    gap: 1rem;
}

.search-field {
    flex: 1;
    padding: 1rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
}

.search-submit {
    padding: 1rem 2rem;
    background: var(--color-orange);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Sticky Header Enhancement */
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Enhancements */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        z-index: 999;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .sub-menu {
        position: static;
        box-shadow: none;
        padding: 0 0 0 1rem;
        background: var(--color-light-gray);
    }
    
    .menu-item-has-children:hover .sub-menu {
        display: none;
    }
    
    .menu-item-has-children.active .sub-menu {
        display: block;
    }
}

@media (max-width: 640px) {
    .header-actions {
        gap: var(--spacing-sm);
    }
    
    .phone-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        height: 400px;
    }
}
