/* Responsive CSS for AzerTour Website */

/* ====== TABLET STYLES (768px - 1024px) ====== */
@media screen and (max-width: 1024px) {
    /* Typography adjustments */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Layout adjustments */
    .container {
        padding: 0 var(--spacing-lg);
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    /* Header adjustments */
    .site-logo img {
        max-height: 40px;
    }

    /* Hero section */
    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    /* Destinations grid */
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    /* Hot tour slide */
    .hot-tour-slide {
        flex-direction: column;
    }

    .hot-tour-image {
        min-height: 300px;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer container */
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* ====== MOBILE STYLES (< 768px) ====== */
@media screen and (max-width: 767px) {
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-title {
        margin-bottom: var(--spacing-lg);
    }

    /* Layout adjustments */
    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Header adjustments */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-light);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        z-index: 1001;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        margin: 0;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

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

    /* Hero section */
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn-group {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Destinations grid */
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Contact wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* About story */
    .about-story {
        flex-direction: column;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing cards */
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    /* Footer container */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Destination large card */
    .destination-large-card {
        flex-direction: column;
    }

    .destination-large-image {
        height: 200px;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-sm);
    }

    .newsletter-button {
        border-radius: var(--border-radius-md);
        width: 100%;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        padding: var(--spacing-md) 0;
    }
}

/* ====== SMALL MOBILE STYLES (< 480px) ====== */
@media screen and (max-width: 480px) {
    /* Typography adjustments */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Hot tour content */
    .hot-tour-content {
        padding: var(--spacing-md);
    }

    .hot-tour-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Destination categories */
    .destinations-categories {
        flex-wrap: wrap;
    }

    /* Page header */
    .page-header {
        padding: var(--spacing-xl) 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* Modal */
    .modal {
        padding: var(--spacing-lg);
    }
}

/* ====== LANDSCAPE SPECIFIC STYLES ====== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        padding: var(--spacing-xxl) 0;
    }
}

/* ====== HIGH RESOLUTION SCREENS ====== */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }

    html {
        font-size: 18px;
    }
}

/* ====== PRINT STYLES ====== */
@media print {
    .site-header,
    .site-footer,
    .newsletter,
    .btn,
    .feature-icon,
    .modal-overlay,
    #map {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background-color: #fff;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    img {
        max-width: 500px !important;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }

    p, ul, ol, table {
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .hero, .page-header {
        background: none !important;
        color: #000;
        height: auto !important;
        padding: 20pt 0 !important;
    }

    .hero-title, .page-title {
        color: #000 !important;
    }
}
