/* Responsive CSS - Digital Fleet Optimization */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablets Landscape (992px to 1199px) */
@media (max-width: 1199px) {
    html {
        font-size: 15px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.6rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

/* Tablets Portrait (768px to 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        margin: 0.25rem 0;
        padding: 0.5rem 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 60px !important;
        margin-bottom: 2rem;
    }
    
    .timeline-item::before {
        left: -30px !important;
        right: auto !important;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.15rem; }
    
    /* Sections */
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Hero */
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Services */
    .service-card .price {
        font-size: 1.3rem;
    }
    
    /* Price Cards */
    .price-card.featured {
        transform: none;
    }
    
    .price-tag {
        font-size: 1.5rem;
    }
    
    /* Contact Form */
    .btn-primary {
        padding: 0.6rem 2rem;
        font-size: 1rem;
    }
    
    /* Disable Swiper autoplay on mobile */
    .swiper-container {
        --swiper-autoplay: 0;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    /* Typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Navbar */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    /* Cards and Boxes */
    .feature-box, .service-card, .price-card, 
    .team-member, .case-card, .job-card, 
    .info-box, .blog-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Team Images */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-left: 40px !important;
        padding: 1.5rem;
    }
    
    /* Gallery */
    .gallery-section .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Accordion */
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        margin-top: 60px;
    }
    
    /* Space Section */
    #space {
        min-height: calc(100vh - 60px);
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    html {
        font-size: 13px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.1rem;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Swiper Responsive Settings */
@media (max-width: 768px) {
    .swiper {
        --swiper-autoplay: 0 !important;
    }
    
    .swiper-container[data-autoplay] {
        --swiper-autoplay: 0 !important;
    }
    
    /* Disable autoplay and effects on mobile */
    .swiper-wrapper {
        transition-timing-function: ease-out !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .navbar-toggler {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #008000;
        --text-color: #000000;
        --text-light: #333333;
        --shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --border-color: #424242;
    }
    
    body {
        background-color: #1a1a1a;
    }
    
    .feature-box, .service-card, .price-card,
    .team-member, .case-card, .job-card,
    .info-box, .blog-card, .review-card,
    .timeline-item, .accordion-item {
        background-color: #2a2a2a;
    }
    
    .bg-light {
        background-color: #1f1f1f !important;
    }
    
    .navbar-dark {
        background-color: #0a0a0a !important;
    }
} 