/* Responsive Styles */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        position: static;
        margin-bottom: 10px;
    }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    /* Navigation */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    /* Hero Section */
    .hero {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Timeline */
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 50px !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 20px;
        width: 20px;
        height: 20px;
        background: var(--primary-color);
        border-radius: 50%;
        border: 4px solid #fff;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    /* Typography */
    body {
        font-size: 15px;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar-brand {
    font-size: 14px !important;
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 80vh;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    /* Cards */
    .service-card img,
    .destination-card img,
    .experience-card img,
    .case-card img {
        height: 180px;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    .gallery img {
        height: 200px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Swiper - Disable autoplay and effects on mobile */
    .swiper-container {
        --swiper-navigation-size: 30px;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Container */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Typography */
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1.75rem;
    }
    
    /* Cards */
    .feature-box,
    .price-card,
    .career-card {
        padding: 1.5rem;
    }
    
    /* Process Steps */
    .process-step {
        padding-top: 50px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline */
    .timeline-container {
        padding-left: 0;
    }
    
    .timeline-item {
        margin-left: 30px !important;
        padding: 15px !important;
    }
    
    /* Price Cards */
    .price-card .display-4 {
        font-size: 1.75rem;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 0.9rem;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    .header,
    .hero-image,
    .gallery,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev,
    .btn,
    .form-check,
    #site_submit_btn {
        display: none !important;
    }
    
    /* Adjust layout for print */
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .container {
        max-width: 100%;
    }
    
    /* Show URLs for links */
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    /* Ensure good contrast */
    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #003d5c;
        --secondary-color: #b8860b;
        --dark-color: #000;
        --light-color: #fff;
    }
    
    .btn-primary {
        border: 2px solid var(--primary-color);
    }
    
    .form-control {
        border-width: 2px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header,
    .feature-box,
    .service-card,
    .price-card,
    .review-card,
    .career-card,
    .contact-form,
    .blog-card,
    .destination-card,
    .experience-card,
    .case-card,
    .timeline-item {
        background-color: #2a2a2a;
        color: #e0e0e0;
    }
    
    .bg-light {
        background-color: #1a1a1a !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
    font-size: 10px;
        color: #e0e0e0;
    }
    
    .text-muted {
        color: #999 !important;
    }
    
    .form-control {
        background-color: #333;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        background-color: #333;
        border-color: var(--primary-color);
        color: #e0e0e0;
    }
} 