/* Layout & Navigation Styles - Extracted from inline styles */

/* ===================================
   MOBILE MENU TOGGLE
   =================================== */

/* Visually hide toggle but keep it interactive for label (better iOS support) */
#menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CSS-only mobile menu toggle using checkbox */
#menu-toggle:checked ~ #mobile-menu {
    display: block !important;
}

#menu-toggle:checked ~ #mobile-menu-overlay {
    display: block !important;
}

/* ===================================
   MOBILE NAVIGATION
   =================================== */

/* Mobile-first responsive design */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Ensure good touch targets on mobile */
@media (max-width: 768px) {
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-search {
        width: 100%;
        margin: 1rem 0;
    }
    
    .mobile-nav-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
}

/* ===================================
   RESPONSIVE CONTAINERS
   =================================== */

/* Better responsive containers */
.container-responsive {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-responsive {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-responsive {
        padding: 0 2rem;
    }
}

