/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        display: none;
        gap: 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(10, 36, 99, 0.1);
    }
    
    .nav-cta {
        margin-top: 15px;
        text-align: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.8rem; }
    .phone-cta-large { font-size: 1.5rem; padding: 18px 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.2rem; }
    .phone-cta-large { font-size: 1.3rem; padding: 16px 28px; }
    .deals-container { padding: 30px 20px; }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large mobile devices */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .deal-tags {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .hero, .cta-section {
        background: #fff !important;
        color: #000 !important;
    }
    
    .phone-cta-large, .nav-cta, .menu-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .service-card, .destination-card, .deal-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #000080;
        --secondary-blue: #0000CD;
        --accent-orange: #FF4500;
        --text-dark: #000000;
        --text-light: #2F4F4F;
    }
    
    .hero {
        background: linear-gradient(135deg, #000080 0%, #0000CD 100%);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .phone-cta-large {
        animation: none !important;
    }
    
    .deal-card:hover,
    .service-card:hover,
    .destination-card:hover {
        transform: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a2e;
        --white: #16213e;
        --text-dark: #e6e6e6;
        --text-light: #b8b8b8;
    }
    
    .deals-container,
    .service-card,
    .destination-card {
        background: #0f3460;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .phone-cta-large {
        padding: 12px 24px;
        font-size: 1.2rem;
    }
}