/* ===== MOBILE-ONLY STYLES ===== */
/* All styles scoped with max-width media queries to prevent desktop impact */

/* ===== MOBILE BREAKPOINT: 576px and below ===== */
@media (max-width: 576px) {
    
    /* === HEADER & LOGO === */
    .header {
        height: auto !important;
        padding: 15px 10px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .logo {
        position: static !important;
        transform: none !important;
        order: 2 !important;
    }
    
    .logo-image {
        height: 110px !important;
        width: auto !important;
        max-width: 100% !important;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)) !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* === HOSTAGE COUNTER === */
    .hostage-counter {
        font-size: 10px !important;
        padding: 6px 8px !important;
        position: fixed !important;
        bottom: 80px !important;
        right: 10px !important;
        max-width: 180px !important;
        z-index: 999 !important;
        order: 1 !important;
    }
    
    .hostage-timer {
        gap: 2px !important;
    }
    
    .timer-number {
        font-size: 14px !important;
    }
    
    .timer-label {
        font-size: 8px !important;
    }
    
    .hostage-text,
    .hostage-subtext,
    .bring-them-home {
        font-size: 9px !important;
    }
    
    /* === HEADER INFO === */
    .header-info {
        position: static !important;
        order: 3 !important;
        text-align: center !important;
    }
    
    .time-date-container {
        font-size: 12px !important;
    }
    
    /* === MOBILE NAVIGATION === */
    .mobile-menu-btn {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 1001 !important;
        background: rgba(0,0,0,0.7) !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 12px !important;
        cursor: pointer !important;
        width: 44px !important;
        height: 44px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .mobile-menu-btn span {
        width: 20px !important;
        height: 2px !important;
        background: white !important;
        display: block !important;
        transition: 0.3s ease !important;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    /* === NAVIGATION CONTAINER === */
    .nav-container {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        width: 85% !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3) !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
        border: none !important;
    }
    
    .nav-container.active {
        left: 0 !important;
    }
    
    /* === NAVIGATION OVERLAY === */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* === NAVIGATION LINKS - PRESERVE COLORFUL GRADIENTS === */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        padding: 80px 10px 20px 10px !important;
        margin: 0 !important;
        list-style: none !important;
        gap: 8px !important;
    }
    
    .nav-links li {
        margin: 0 !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        margin: 0 !important;
        text-decoration: none !important;
        color: var(--gray-800) !important;
        transition: all 0.3s ease !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }
    
    .nav-links a i {
        margin-right: 12px !important;
        font-size: 18px !important;
        width: 20px !important;
        text-align: center !important;
    }
    
    /* === PRESERVE COLORFUL GRADIENTS FOR MOBILE === */
    .nav-links li:nth-child(1) a {
        background: linear-gradient(135deg, #B8E0FF 0%, #94CCFF 100%) !important;
    }
    
    .nav-links li:nth-child(2) a {
        background: linear-gradient(135deg, #FFE0F0 0%, #FFCCE5 100%) !important;
    }
    
    .nav-links li:nth-child(3) a {
        background: linear-gradient(135deg, #E0FFEB 0%, #C2FFD6 100%) !important;
    }
    
    .nav-links li:nth-child(4) a {
        background: linear-gradient(135deg, #FFFACD 0%, #FFE09E 100%) !important;
    }
    
    .nav-links li:nth-child(5) a {
        background: linear-gradient(135deg, #E8E0FF 0%, #D1C4FF 100%) !important;
    }
    
    .nav-links li:nth-child(6) a {
        background: linear-gradient(135deg, #FFE8D1 0%, #FFD9B8 100%) !important;
    }
    
    .nav-links li:nth-child(7) a {
        background: linear-gradient(135deg, #F0E68C 0%, #FFD700 100%) !important;
    }
    
    .nav-links li:nth-child(8) a {
        background: linear-gradient(135deg, #FFE8D1 0%, #FFD9B8 100%) !important;
    }
    
    /* === HOVER EFFECTS FOR MOBILE === */
    .nav-links li:nth-child(1) a:active {
        background: linear-gradient(135deg, #94CCFF 0%, #70B8FF 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(2) a:active {
        background: linear-gradient(135deg, #FFCCE5 0%, #FFB8DB 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(3) a:active {
        background: linear-gradient(135deg, #C2FFD6 0%, #A4FFC1 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(4) a:active {
        background: linear-gradient(135deg, #FFE09E 0%, #FFD074 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(5) a:active {
        background: linear-gradient(135deg, #D1C4FF 0%, #BBA7FF 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(6) a:active {
        background: linear-gradient(135deg, #FFD9B8 0%, #FFCA9F 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(7) a:active {
        background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-links li:nth-child(8) a:active {
        background: linear-gradient(135deg, #FFD9B8 0%, #FFCA9F 100%) !important;
        transform: translateX(5px) !important;
    }
    
    /* === DROPDOWN CONTENT FOR MOBILE === */
    .dropdown-content {
        position: static !important;
        display: none !important;
        width: 100% !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.95) !important;
        border-radius: 8px !important;
        margin-top: 5px !important;
        padding: 5px !important;
    }
    
    .dropdown.active .dropdown-content {
        display: block !important;
    }
    
    .dropdown-content a {
        background: rgba(255,255,255,0.8) !important;
        margin: 2px 0 !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }
    
    .dropdown-content a:active {
        background: rgba(255,255,255,1) !important;
    }
    
    /* === CONTAINER & LAYOUT === */
    .container {
        display: block !important;
        padding: 10px !important;
        margin: 0 !important;
        width: 100% !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    /* === HIDE SIDEBARS ON MOBILE === */
    .sidebar {
        display: none !important;
    }
    
    /* === MAIN CONTENT === */
    .main-content {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* === CONTENT GRID === */
    .content-grid {
        display: block !important;
        gap: 15px !important;
    }
    
    /* === CONTENT CARDS === */
    .content-card {
        margin: 0 0 15px 0 !important;
        padding: 15px !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        background: white !important;
    }
    
    .content-card h3 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        color: var(--primary-blue) !important;
    }
    
    .content-card p, 
    .content-card ul, 
    .content-card ol {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* === SERVICE TIMES === */
    div[data-editable="service-times"] ul li {
        padding: 8px 0 !important;
        line-height: 1.3 !important;
        text-indent: -3em !important;
        padding-left: 3em !important;
    }
    
    /* === TOUCH-FRIENDLY ELEMENTS === */
    button, 
    .btn, 
    a[role="button"],
    input[type="submit"],
    input[type="button"] {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    /* === FOOTER === */
    .footer {
        padding: 20px 10px !important;
        text-align: center !important;
        font-size: 12px !important;
        margin-bottom: 60px !important;
    }
    
}

/* ===== MOBILE BREAKPOINT: 577px to 768px ===== */
@media (min-width: 577px) and (max-width: 768px) {
    
    .logo-image {
        height: 120px !important;
    }
    
    .nav-container {
        width: 80% !important;
    }
    
    .nav-links {
        padding: 90px 15px 25px 15px !important;
    }
    
    .nav-links a {
        padding: 18px 24px !important;
        font-size: 17px !important;
    }
    
    .content-card {
        padding: 20px !important;
    }
    
    .content-card h3 {
        font-size: 20px !important;
    }
    
    .content-card p, 
    .content-card ul, 
    .content-card ol {
        font-size: 15px !important;
    }
    
    .hostage-counter {
        max-width: 200px !important;
        font-size: 11px !important;
    }
    
}

/* ===== MOBILE BREAKPOINT: 769px to 992px (Tablet Portrait) ===== */
@media (min-width: 769px) and (max-width: 992px) {
    
    /* Show desktop navigation but make it more touch-friendly */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-container {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .nav-links {
        flex-direction: row !important;
        padding: 0 !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .nav-links a {
        padding: 14px 12px !important;
        font-size: 14px !important;
        min-height: 44px !important;
    }
    
}