/* FleetShine - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.83rem;
        line-height: 1.2;
    }
    
    .h3, h2 {
        font-size: 1.47rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Spacing */
    .py-5 {
        padding-top: 2.58rem !important;
        padding-bottom: 2.59rem !important;
    }
    
    /* Navigation */
    .navbar-brand {
    font-size: 10px !important;
        font-size: 1.30rem;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-section .display-4 {
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        margin-bottom: 1.58rem;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.56rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    /* Team Photos */
    .team-member-photo,
    .rounded-circle {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Process Steps */
    .process-step {
        width: 40px;
        height: 40px;
        font-size: 0.92rem;
    }
    
    /* Contact Form */
    .contact-form .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    /* Gallery Grid */
    .gallery .col-lg-3,
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    footer .row > div {
        margin-bottom: 1.62rem;
        text-align: center;
    }
    
    footer .text-lg-end {
        text-align: center !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    .display-4 {
        font-size: 2.24rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 85vh;
        padding: 3rem 0;
    }
    
    /* Team Grid */
    .team-member-photo,
    .rounded-circle {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* Process Steps */
    .process-step {
        width: 50px;
        height: 50px;
        font-size: 0.98rem;
    }
    
    /* Reviews Grid */
    .reviews .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    /* Services Grid */
    .services .col-lg-4 {
        margin-bottom: 1.67rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    /* Grid Adjustments */
    .col-lg-2.col-md-4 {
        margin-bottom: 1.74rem;
    }
    
    .col-lg-3.col-md-6 {
        margin-bottom: 2rem;
    }
    
    /* Team Grid */
    .team-member-photo,
    .rounded-circle {
        width: 110px !important;
        height: 110px !important;
    }
    
    /* Contact Form */
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Services */
    .services .card-img-top {
        height: 180px;
    }
    
    /* Feature Cards */
    .feature-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
    }
    
    /* Typography Fine-tuning */
    .display-4 {
        font-size: 2.44rem;
    }
    
    /* Grid Spacing */
    .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    /* Team Photos */
    .team-member-photo,
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Services Grid */
    .services .card-img-top {
        height: 200px;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container Max Width */
    .container {
        max-width: 1140px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding: 0;
    }
    
    /* Typography */
    .display-4 {
        font-size: 2.60rem;
    }
    
    .h3 {
        font-size: 1.95rem;
    }
    
    /* Enhanced Spacing */
    .py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    /* Feature Cards Enhancement */
    .feature-card {
        padding: 2rem !important;
    }
    
    /* Team Photos */
    .team-member-photo,
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Contact Section */
    .contact-info {
        position: sticky;
        top: 100px;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section .display-4 {
        font-size: 3rem;
    }
    
    .py-5 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 200% 200%;
    }
    
    .card-img-top,
    .img-fluid {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Phone Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .hero-section::before,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .card {
        border: 1px solid #d5d5d5 !important;
        break-inside: avoid;
    }
    
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    a {
        text-decoration: none !important;
        color: black !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .bg-dark {
        background: white !important;
    }
}

/* Accessibility - Focus States */
@media (hover: hover) and (pointer: fine) {
    .btn:hover,
    .card:hover,
    .feature-card:hover {
        transform: translateY(-2px);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .feature-card:hover,
    .btn:hover {
        transform: none !important;
    }
    
    .hero-section::before {
        animation: none !important;
    }
}

/* Dark Mode Support (Future Enhancement) */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .nav-link {
    font-size: 10px !important;
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Larger touch targets */
    .navbar-toggler {
        padding: 0.5rem 0.75rem;
    }
    
    .form-control,
    .form-select {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Specific Breakpoint Adjustments */

/* Between Large and Extra Large */
@media (min-width: 992px) and (max-width: 1199px) {
    .reviews .col-lg-2 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    .timeline .col-lg-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Services Grid Optimization */
@media (min-width: 768px) and (max-width: 1199px) {
    .services .col-lg-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Team Section Responsive */
@media (max-width: 991px) {
    .team .col-lg-2 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .team .col-lg-2 {
        width: 100%;
        margin-bottom: 1.64rem;
    }
} 

.hero-section h1 {
    padding-top: 150px;
}