/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.04rem;
    }
    
    .hero-content h2 {
        font-size: 1.55rem;
    }
    
    .navbar-brand {
        font-size: 1.37rem !important;
    }
    
    .feature-card, .service-card, .price-card {
        margin-bottom: 2.21rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        margin-left: 3rem !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0;
    }
    
    .timeline-content::before {
        left: -20px !important;
        border-color: transparent var(--white) transparent transparent !important;
    }
    
    .process-step {
        margin-bottom: 2.21rem;
    }
    
    .team-member {
        margin-bottom: 2.21rem;
    }
    
    /* Contact form improvements */
    .contact-section .row > div {
        margin-bottom: 2.21rem;
    }
    
    /* Swiper disabled autoplay and effects on mobile */
    .swiper {
        --swiper-navigation-size: 20px;
    }
    
    .reviews-slider .swiper-slide {
        margin: 0.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.40rem;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 25%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 25%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.53rem;
    }
    
    .service-card, .price-card {
        height: auto;
        min-height: 400px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3.04rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 3.57rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        margin-top: 1.19rem;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
}

/* Disable animations and effects on mobile for performance */
@media (max-width: 767.98px) {
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .case-study-item:hover,
    .career-item:hover,
    .info-item:hover,
    .blog-post:hover,
    .destination-item:hover,
    .package-item:hover,
    .hotel-item:hover,
    .experience-item:hover,
    .season-item:hover,
    .activity-item:hover,
    .culture-item:hover,
    .transport-item:hover,
    .photo-item:hover {
        transform: none;
    }
    
    .gallery-section img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .breadcrumbs,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    .row {
        display: block !important;
    }
    
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        width: 100% !important;
        float: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #140f4c;
        --secondary-color: #ff4633;
        --accent-color: #00585d;
        --success-color: #249305;
        --warning-color: #8b051e;
        --gray: #9e9e9e;
        --dark-gray: #000000;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-item,
    .case-study-item,
    .timeline-content,
    .career-item,
    .info-item,
    .blog-post,
    .destination-item,
    .package-item,
    .hotel-item,
    .experience-item,
    .season-item,
    .activity-item,
    .culture-item,
    .transport-item,
    .photo-item {
        border: 2px solid var(--dark-gray);
    }
}

/* Reduce Motion for Accessibility */
@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;
    }
    
    .swiper {
        --swiper-autoplay-delay: 999999999;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.navbar-brand:focus {
    outline: 3px solid var(--warning-color);
    outline-offset: 2px;
}

/* Skip Links for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
} 