/* Responsive Styles for Solar Carport Template */

/* Large screens (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    padding-top: 250px;
}
    
    .feature-card, .service-card {
        padding: 2.5rem 2rem;
    }
}

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .feature-card, .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .step-number, .year-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Small screens (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    padding-top: 250px;
}
    
    .feature-card, .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .step-number, .year-badge {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Extra small screens (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        padding-top: 60px;
    }
    
    /* NO ANIMATIONS ON MOBILE - Critical requirement */
    *, *::before, *::after {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card:hover, .service-card:hover, .feature-item:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .btn:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .card:hover .card-img-top {
        transform: none;
    }
    
    /* Typography adjustments */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    h4, h5 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    p, .lead {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
        padding: 1.5rem 0;
        background: var(--light-blue);
    }
    
    .hero-section h1 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    /* Cards and components */
    .feature-card, .service-card, .feature-item,
    .industry-card, .metric-card, .innovation-card, 
    .process-card, .service-item, .info-card {
        padding: 1.25rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Icons */
    .feature-card i, .feature-item i, .info-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    /* Team members */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    /* Process steps */
    .step-number, .year-badge {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    /* Contact form */
    .contact-info {
        margin-top: 2rem;
        padding: 1.25rem;
    }
    
    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .py-5 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    /* Footer */
    footer {
        padding: 2.5rem 0;
    }
    
    footer h5, footer h6 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    /* Breadcrumbs */
    .breadcrumb-section {
        padding: 1.5rem 0;
    }
    
    .breadcrumb-image img {
        max-width: 150px;
    }
    
    /* Space page */
    #space {
        min-height: calc(100vh - 150px);
        padding: 2rem 0;
    }
    
    /* Gallery */
    #gallery .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Utility classes for mobile */
    .text-center-mobile {
        text-align: center;
    }
    
    .mb-mobile-3 {
        margin-bottom: 1.5rem;
    }
    
    /* Price display */
    .h2 {
        font-size: 1.5rem;
    }
    
    .h4 {
        font-size: 1.25rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    .team-member img,
    #gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    #gallery {
        display: none;
    }
    
    body {
        padding-top: 0;
        color: black;
        background: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    h1, h2, h3, h4, h5 {
        color: black;
    }
    
    .text-primary,
    .text-success,
    .text-warning {
        color: black !important;
    }
}

/* Accessibility - Focus styles */
@media (min-width: 576px) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-blue);
        outline-offset: 2px;
    }
}

/* Container max-widths for better readability */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}