/* EcoStore - Responsive CSS */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    .card-img-top {
        height: 220px;
    }
}

/* Large Devices (993px to 11911px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    #hero h1 {
        font-size: 2.86rem;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* Medium Devices (768px to 991px) - Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Typography adjustments */
    #hero h1, .display-4 {
        font-size: 2.44rem;
    }
    
    h2, .h2 {
        font-size: 1.90rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.33rem;
    }
    
    /* Hero section */
    #hero {
        min-height: 85vh;
        padding: 2rem 0;
    }
    
    /* Cards */
    .card-img-top {
        height: 180px;
    }
    
    /* Team images */
    #team img {
        width: 100px;
        height: 100px;
    }
    
    /* Process steps */
    .rounded-circle {
        width: 50px;
        height: 50px;
        font-size: 0.98rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Small Devices (576px to 767px) - Large Phones */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    /* Typography */
    #hero h1, .display-4 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2, .h2 {
        font-size: 1.98rem;
    }
    
    h3, .h3 {
        font-size: 1.54rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    /* Hero section */
    #hero {
        min-height: 80vh;
        text-align: center;
    }
    
    #hero .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    /* Remove hover effects */
    .card:hover {
        transform: none;
        box-shadow: 0 9px 8px rgba(40, 94, 39, 0.15);
    }
    
    #team img:hover {
        transform: none;
        border-color: var(--color-highlight);
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-success:hover,
    .btn-outline-success:hover {
        transform: none;
    }
    
    /* Cards */
    .card-img-top {
        height: 160px;
    }
    
    /* Team images */
    #team img {
        width: 80px;
        height: 80px;
    }
    
    /* Process steps */
    .rounded-circle {
        width: 45px;
        height: 45px;
        font-size: 1.00rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 2.70rem;
        padding-bottom: 2.96rem;
    }
    
    /* Form adjustments */
    .form-control {
        padding: 0.75rem;
    }
    
    /* Button adjustments */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Extra Small Devices (less than 576px) - Phones */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Typography */
    #hero h1, .display-4 {
        font-size: 1.83rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2, .h2 {
        font-size: 1.59rem;
        margin-bottom: 1rem;
    }
    
    h3, .h3 {
        font-size: 1.30rem;
    }
    
    h4, .h4 {
        font-size: 1.20rem;
    }
    
    h5, .h5 {
        font-size: 1rem;
    }
    
    p.lead {
        font-size: 1rem;
        margin-bottom: 1.70rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    /* Hero section */
    #hero {
        min-height: 75vh;
        text-align: center;
        padding: 1rem 0;
    }
    
    #hero .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    #hero .btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Disable all hover effects and animations */
    .card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(26, 62, 28, 0.10);
    }
    
    #team img:hover {
        transform: none;
        border-color: var(--color-highlight);
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.84rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Team section */
    #team .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    #team img {
        width: 70px;
        height: 70px;
    }
    
    /* Process steps */
    .rounded-circle {
        width: 40px;
        height: 40px;
        font-size: 0.87rem;
        margin-bottom: 1.07rem;
    }
    
    /* Services grid */
    #services .col-lg-4 {
        margin-bottom: 1.83rem;
    }
    
    /* Pricing cards */
    #priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Reviews */
    #reviews .col-lg-4 {
        margin-bottom: 1.75rem;
    }
    
    /* FAQ */
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Gallery */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    /* Contact form */
    #contacts .col-lg-8 {
        margin-bottom: 2rem;
    }
    
    .form-control {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.98rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    .g-4 > * {
        margin-bottom: 1.79rem;
    }
    
    /* Footer adjustments */
    #footer .col-lg-4,
    #footer .col-lg-2,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    #footer .row.align-items-center > div {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Additional page sections */
    .col-lg-2.col-md-4 {
        margin-bottom: 1.60rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        text-align: center;
        padding: 1rem 0;
    }
}

/* Portrait Orientation Adjustments */
@media (max-width: 575px) and (orientation: portrait) {
    #hero {
        min-height: 70vh;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    #team img {
        width: 60px;
        height: 60px;
    }
}

/* Landscape Orientation for Small Devices */
@media (max-width: 767px) and (orientation: landscape) {
    #hero {
        min-height: 90vh;
    }
    
    .navbar-nav .nav-link {
        padding: 0.375rem 0.75rem;
    }
}

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

/* Print Styles */
@media print {
    #header,
    #footer,
    .btn,
    .navbar,
    .breadcrumb {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .py-5 {
        padding: 1rem 0;
    }
} 