/* EcoTech Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        padding-top: 70px;
    overflow-x: hidden;
}
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-shapes .shape-blob-1,
    .hero-shapes .shape-blob-2 {
        display: none;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Remove animations on mobile per requirement */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .gallery img:hover {
        transform: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2.25rem;
    }
    
    .card-img-top {
        height: 190px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-shapes .shape-blob-1 {
        width: 150px;
        height: 150px;
    }
    
    .hero-shapes .shape-blob-2 {
        width: 120px;
        height: 120px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .hero-shapes .shape-blob-1 {
        width: 180px;
        height: 180px;
    }
    
    .hero-shapes .shape-blob-2 {
        width: 140px;
        height: 140px;
    }
    
    /* Remove scroll animations on tablets per requirement */
    @media (max-width: 991.98px) {
        * {
            animation: none !important;
        }
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .card-img-top {
        height: 220px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .display-4 {
        font-size: 2.75rem;
    }
    
    .lead {
        font-size: 1.15rem;
    }
    
    .card-img-top {
        height: 240px;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
    #hero {
        text-align: center;
        min-height: 80vh;
    }
    
    #hero .col-lg-6:first-child {
        order: 2;
        margin-top: 2rem;
    }
    
    #hero .col-lg-6:last-child {
        order: 1;
    }
}

/* Card Grid Responsive */
@media (max-width: 575.98px) {
    .row.g-4 > * {
        margin-bottom: 1.5rem;
    }
}

/* Gallery Responsive */
@media (max-width: 767.98px) {
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    #footer .row.g-4 > * {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Form Responsive */
@media (max-width: 575.98px) {
    .form-control {
        padding: 10px 12px;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* Team Section Responsive */
@media (max-width: 575.98px) {
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
    .breadcrumb {
        padding: 0.5rem 0;
    }
}

/* Spacing Adjustments */
@media (max-width: 767.98px) {
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
}

/* Typography Responsive */
@media (max-width: 575.98px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    .h1 {
        font-size: 1.75rem;
    }
    
    .h4 {
        font-size: 1.1rem;
    }
}

/* Icon Responsive */
@media (max-width: 575.98px) {
    .fa-3x {
        font-size: 2rem !important;
    }
    
    .fa-2x {
        font-size: 1.5rem !important;
    }
}

/* Price Card Responsive */
@media (max-width: 767.98px) {
    .card-body.p-4 {
        padding: 1.5rem !important;
    }
}

/* About Features Responsive */
@media (max-width: 991.98px) {
    .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Contact Info Responsive */
@media (max-width: 767.98px) {
    .col-md-4.text-center {
        margin-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #hero .hero-shapes,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .text-white {
        color: #000 !important;
    }
    
    .bg-dark {
        background-color: #fff !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .form-control {
        border: 2px solid #000;
    }
}

/* Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes * {
        animation: none !important;
    }
    
    .card,
    .btn,
    img,
    * {
        transition: none !important;
        transform: none !important;
    }
}

/* Landscape Phone Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
    }
    
    section {
        padding: 1.5rem 0;
    }
}

/* Very Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-shapes .shape-blob-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shapes .shape-blob-2 {
        width: 200px;
        height: 200px;
    }
} 