/**
 * Saudi Travel - Responsive Stylesheet
 * Media queries for mobile-first responsive design
 */

/* ===================================
   Extra Small Devices (< 576px)
   =================================== */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Logo */
    .logo {
        max-width: 200px;
    }
    
    /* Contact Info */
    .contact-info {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    /* Menu */
    .main-menu .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Parallax */
    .parallax-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .parallax-content h2 {
        font-size: 1.75rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
    
    /* Benefits Cards */
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    /* Destination Cards */
    .destination-card {
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-outline-primary {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
        display: block;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    /* Scroll to Top */
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    /* Two Column Sections */
    .two-column-section {
        padding: 3rem 0;
    }
    
    .two-column-section .content-image {
        margin-bottom: 2rem;
    }
}

/* ===================================
   Small Devices (≥ 576px and < 768px)
   =================================== */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-section {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Logo */
    .logo {
        max-width: 250px;
    }
    
    /* Contact Info */
    .contact-info {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Parallax */
    .parallax-section {
        background-attachment: scroll;
    }
    
    /* Sections */
    .section {
        padding: 4rem 0;
    }
}

/* ===================================
   Medium Devices (≥ 768px and < 992px)
   =================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    /* Logo */
    .logo {
        max-width: 280px;
    }
    
    /* Contact Info */
    .contact-info {
        gap: 1.25rem;
    }
    
    /* Menu */
    .main-menu .nav-link {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
    
    /* Destination Cards */
    .destination-card img {
        height: 220px;
    }
    
    /* Parallax */
    .parallax-content h2 {
        font-size: 2.5rem;
    }
}

/* ===================================
   Large Devices (≥ 992px and < 1200px)
   =================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Menu */
    .main-menu .nav-link {
        padding: 1rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 3.25rem;
    }
}

/* ===================================
   Extra Large Devices (≥ 1200px)
   =================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ===================================
   Mobile Menu Specific
   =================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(138, 79, 9, 0.98);
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1rem;
    }
    
    .main-menu .navbar-nav {
        gap: 0;
    }
    
    .main-menu .nav-link {
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
    
    .main-menu .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1);
        margin: 0.5rem 1rem;
    }
    
    .main-menu .dropdown-item {
        color: var(--color-white);
    }
    
    .main-menu .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--color-white);
    }
}

/* ===================================
   Landscape Orientation - Phones
   =================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
    }
    
    .parallax-section {
        padding: 3rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .cookie-notice,
    .main-menu,
    .scroll-top-btn,
    .btn,
    .footer-menu {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        background: none;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        color: var(--color-text-dark);
        text-shadow: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    .page-content {
        padding: 1rem 0;
    }
}

/* ===================================
   High DPI / Retina Displays
   =================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for retina displays if needed */
    .logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ===================================
   Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   Dark Mode Support (Optional)
   =================================== */
@media (prefers-color-scheme: dark) {
    /* Users who prefer dark mode can see adjusted colors */
    /* This is optional and can be customized */
}