/* 
* EcoLife Solutions - Responsive CSS
* Media queries for responsive design
*/

/* Extra Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .section-header h3 {
        font-size: 2.2rem;
    }
    
    .price-item.featured {
        transform: scale(1.03);
    }
    
    .price-item.featured:hover {
        transform: scale(1.03) translateY(-10px);
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-nav .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .hero-section {
        padding-top: 150px;
        padding-bottom: 80px;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .contact-image {
        height: 300px;
    }
    
    .price-item {
        margin-bottom: 30px;
    }
    
    .price-item.featured {
        transform: scale(1);
    }
    
    .price-item.featured:hover {
        transform: translateY(-10px);
    }
    
    .benefit-item,
    .efficiency-item {
        margin-bottom: 20px;
    }
    
    .process-timeline:before {
        left: 25px;
    }
    
    .process-step {
        padding-left: 70px;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
        left: 5px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h3 {
        font-size: 1.8rem;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .testimonials-slider {
        padding-bottom: 50px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    footer {
        padding: 60px 0 30px;
    }
    
    footer h4, 
    footer h5 {
        margin-top: 30px;
    }
    
    .footer-bottom {
        margin-top: 30px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 0.9rem;
    }
    
    .section-header h3 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .service-image,
    .blog-image {
        height: 180px;
    }
    
    .service-item h4,
    .service-item p,
    .service-item ul,
    .service-item .price,
    .blog-content {
        padding: 0 15px;
    }
    
    .service-item h4,
    .blog-content h4 {
        font-size: 1.2rem;
    }
    
    .member-image {
        height: 200px;
    }
    
    .accordion-button {
        padding: 15px;
        font-size: 14px;
    }
    
    .accordion-body {
        padding: 0 15px 15px;
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .material-image {
        height: 180px;
    }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .hero-section .container,
    .service-item:hover .service-image img,
    .team-member:hover .member-image img,
    .blog-item:hover .blog-image img,
    .material-item:hover .material-image img {
        transform: none !important;
    }
    
    .swiper-wrapper {
        transition-timing-function: linear !important;
    }
    
    .service-item:hover,
    .feature-item:hover,
    .price-item:hover,
    .team-member:hover,
    .coreinfo-item:hover,
    .blog-item:hover,
    .gallery-item:hover,
    .feature-card:hover,
    .material-item:hover,
    .efficiency-item:hover,
    .conservation-item:hover,
    .certification-item:hover,
    .benefit-item:hover,
    .resource-item:hover {
        transform: none !important;
    }
}

/* Mobile styles for slider navigation */
@media (max-width: 767.98px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
} 