/* Responsive Styles for Recycling Solutions Website */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Hero Section */
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 80vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 1.61rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.11rem !important;
    }
    
    /* Section padding */
    .section {
        padding: 3rem 0;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-card,
    .process-step,
    .timeline-item,
    .career-item,
    .coreinfo-item {
        margin-bottom: 1.62rem;
    }
    
    /* Team photos */
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    /* Service images */
    .service-image {
        height: 150px;
    }
    
    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Process steps */
    .process-step::before {
        top: -15px;
        width: 30px;
        height: 30px;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 1.65rem;
    }
    
    .team-photo {
        width: 160px;
        height: 160px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-image {
        height: 180px;
    }
    
    .gallery-image {
        height: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 1.72rem;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-image {
        height: 240px;
    }
    
    /* Process steps on tablet */
    .process-step {
        padding: 1.5rem;
    }
    
    /* Contact form layout */
    .contact-section .row {
        align-items: start;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: var(--font-size-h1);
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 100vh;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .team-photo {
        width: 200px;
        height: 200px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility responsive classes */
.d-block-mobile {
    display: none;
}

.d-none-mobile {
    display: block;
}

@media (max-width: 767.98px) {
    .d-block-mobile {
        display: block;
    }
    
    .d-none-mobile {
        display: none;
    }
}

/* Text alignment responsive */
@media (max-width: 767.98px) {
    .text-center-mobile {
        text-align: center !important;
    }
    
    .text-left-mobile {
        text-align: left !important;
    }
}

/* Spacing responsive */
@media (max-width: 767.98px) {
    .mb-mobile-3 {
        margin-bottom: 1rem !important;
    }
    
    .mt-mobile-3 {
        margin-top: 1rem !important;
    }
    
    .p-mobile-2 {
        padding: 0.5rem !important;
    }
}

/* Hero shapes responsive */
@media (max-width: 991.98px) {
    .hero-shape {
        display: none;
    }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
    .hero-shape {
        animation: none;
    }
    
    .service-card:hover,
    .feature-card:hover,
    .price-card:hover,
    .blog-card:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link:hover {
        transform: none;
    }
    
    .btn-submit:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar,
    .hero-section,
    .footer {
        background: #000000;
        color: #ffffff;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-card,
    .process-step,
    .timeline-item,
    .career-item,
    .coreinfo-item,
    .faq-card,
    .blog-card {
        border: 2px solid #000000;
        background: #ffffff;
        color: #000000;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-section,
    .gallery-section,
    .footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000000;
        background: #ffffff;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 0.5in 0;
    }
    
    .section-title h2 {
        font-size: 18pt;
        font-weight: bold;
        margin-bottom: 0.5in;
    }
    
    .service-card,
    .feature-card,
    .price-card {
        border: 1pt solid #000000;
        margin-bottom: 0.25in;
        padding: 0.25in;
        page-break-inside: avoid;
    }
}
