/* Responsive Design - Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    /* Typography adjustments */
    #hero-title-1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    h4 {
        font-size: 1.3rem !important;
    }
    
    /* Navbar adjustments */
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .navbar-nav .nav-link {
        margin: 0 5px;
        text-align: center;
    }
    
    /* Hero section adjustments */
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    #hero-subtitle-1 {
        font-size: 1.2rem;
    }
    
    #hero-desc-1 {
        font-size: 1rem;
    }
    
    /* Card spacing */
    .feature-card, .service-card, .price-card, .team-member {
        margin-bottom: 2rem;
    }
    
    /* Service cards */
    .service-card img {
        height: 150px;
    }
    
    /* Price display */
    .price-display {
        font-size: 2rem;
    }
    
    /* Team photos */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    /* Contact form */
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    /* Footer adjustments */
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Disable autoplay and effects for Swiper */
    .swiper {
        --swiper-navigation-size: 25px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero-title-1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Disable autoplay for medium devices */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .service-card img {
        height: 200px;
    }
    
    .navbar-nav .nav-link {
        margin: 0 10px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    #hero-title-1 {
        font-size: 3.5rem;
    }
    
    .service-card img {
        height: 220px;
    }
}

/* Mobile-specific adjustments for touch interactions */
@media (max-width: 767.98px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
    
    /* Stack contact info vertically */
    .contact-info-item {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Accordion adjustments */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Gallery adjustments */
    #gallery .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Additional page sections */
    .fleet-item, .maintenance-item, .spec-item, .booking-item,
    .requirement-item, .policy-item, .service-addon, .support-channel {
        margin-bottom: 1.5rem;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumb-section {
        padding: 0.5rem 0;
    }
    
    /* Space section */
    .space-section {
        min-height: 50vh;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    #hero-title-1 {
        font-size: 1.8rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card img,
    .team-photo,
    #gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .btn,
    .swiper-pagination,
    .accordion-button {
        display: none !important;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero-section {
        min-height: auto;
        background: none !important;
        color: #000 !important;
    }
    
    .feature-card,
    .service-card,
    .price-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .swiper {
        --swiper-autoplay-delay: 99999999;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
    .bg-light {
        background-color: #2c3e50 !important;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-card {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .accordion-body {
  overflow-x: hidden;
        background: #34495e;
        color: #ecf0f1;
    }
}

/* Container adjustments for different screen sizes */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Fix for iOS Safari viewport height issues */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 767.98px) {
    /* Ensure sufficient color contrast */
    .navbar-nav .nav-link:focus,
    .btn:focus,
    .form-control:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    /* Improve readability */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Make clickable areas larger */
    .accordion-button {
        min-height: 44px;
    }
    
    /* Stack form elements */
    .form-control {
        margin-bottom: 1rem;
    }
} 