/* Responsive CSS - English Immersion Retreats */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
    
    .display-5 {
        font-size: 1.875rem;
    }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    /* Navigation */
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        margin: 5px 0;
    }
    
    /* Hero Section */
    .hero {
        text-align: center;
    }
    
    .hero .row {
        flex-direction: column-reverse;
    }
    
    /* Typography */
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
    
    /* Team Images */
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    /* Timeline */
    .timeline-wrapper::before {
        left: 20px;
    }
    
    .timeline-item .row {
        flex-direction: column !important;
    }
    
    .timeline-item .text-end {
        text-align: left !important;
    }
    
    /* Price Cards */
    .price-card {
        margin-bottom: 20px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    /* Global */
    body {
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Typography */
    h1, .h1 { font-size: 1.5rem; }
    h2, .h2 { font-size: 1.375rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    h5, .h5 { font-size: 1rem; }
    
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    
    .lead {
        font-size: 1.125rem;
    }
    
    /* Navbar */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.125rem;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    /* Cards */
    .service-card, .blog-card, .case-card {
        margin-bottom: 20px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 30px;
    }
    
    /* Reviews Slider */
    .review-card {
        margin: 0 10px;
    }
    
    /* Footer */
    .footer .row > div {
        margin-bottom: 30px;
        text-align: center;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 25px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 0.875rem;
    }
    
    /* Gallery */
    .gallery .col-md-4 {
        margin-bottom: 15px;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        margin-top: 70px;
        padding: 10px 0;
    }
    
    .breadcrumb-img {
        height: 30px !important;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Container Padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Typography */
    h1, .h1 { font-size: 1.375rem; }
    h2, .h2 { font-size: 1.25rem; }
    h3, .h3 { font-size: 1.125rem; }
    h4, .h4 { font-size: 1rem; }
    
    .display-4 { font-size: 1.5rem; }
    .display-5 { font-size: 1.375rem; }
    
    /* Section Padding */
    section {
        padding: 40px 0;
    }
    
    /* Hero */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero img {
        max-width: 80%;
        margin: 20px auto 0;
        display: block;
    }
    
    /* Feature Boxes */
    .feature-box {
        padding: 20px !important;
        margin-bottom: 20px;
    }
    
    /* Service Cards */
    .service-card img {
        height: 150px;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 30px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process */
    .step-number {
        width: 50px !important;
        height: 50px !important;
    }
    
    .step-number .h4 {
        font-size: 1.25rem !important;
    }
    
    /* Timeline */
    .timeline-dot {
        width: 15px !important;
        height: 15px !important;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 0.875rem;
    }
    
    /* FAQ Accordion */
    .accordion-button {
        padding: 15px;
        font-size: 0.875rem;
    }
    
    /* Price Features */
    #priceplan-item-1-features,
    #priceplan-item-2-features,
    #priceplan-item-3-features {
        font-size: 0.875rem;
    }
    
    /* Icons */
    .fa-3x {
        font-size: 2.5em !important;
    }
    
    .fa-2x {
        font-size: 1.75em !important;
    }
    
    /* Gallery Grid */
    .gallery .row {
        margin: 0 -5px;
    }
    
    .gallery .col-md-4 {
        padding: 0 5px;
    }
}

/* Very Small Devices (less than 400px) */
@media (max-width: 399.98px) {
    /* Typography */
    body {
        font-size: 14px;
    }
    
    h1, .h1 { font-size: 1.25rem; }
    h2, .h2 { font-size: 1.125rem; }
    h3, .h3 { font-size: 1rem; }
    
    .display-4 { font-size: 1.375rem; }
    .display-5 { font-size: 1.25rem; }
    
    /* Navbar */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 20px;
        font-size: 0.8125rem;
    }
    
    /* Cards Text */
    .service-card p,
    .review-card p,
    .blog-card p {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .btn,
    .swiper-pagination,
    .breadcrumb-section,
    #gallery,
    .footer {
        display: none !important;
    }
    
    /* Ensure good contrast */
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    /* Page breaks */
    section {
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--primary-1-dark) !important;
        border: 2px solid var(--white) !important;
    }
    
    .form-control {
        border: 2px solid var(--dark) !important;
    }
    
    .card {
        border: 2px solid var(--dark) !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* You can add dark mode styles here if needed */
}

/* Swiper Mobile Adjustments */
@media (max-width: 767.98px) {
    .swiper {
        padding: 10px 0 40px !important;
    }
    
    .swiper-slide {
        padding: 0 5px;
    }
    
    /* Disable autoplay and effects on mobile */
    .swiper-container-autoplay .swiper-wrapper,
    .swiper-container-fade .swiper-wrapper,
    .swiper-container-cube .swiper-wrapper,
    .swiper-container-flip .swiper-wrapper,
    .swiper-container-coverflow .swiper-wrapper {
        transition-duration: 0ms !important;
    }
} 