/* Plant Walls Pro - Responsive CSS */
/* Mobile-First Responsive Design */

/* ===== BASE MOBILE STYLES (320px+) ===== */
@media (max-width: 575.98px) {
    /* Typography Adjustments */
    h1 {
        font-size: 1.83rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.52rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.31rem;
    }
    
    h4 {
        font-size: 1.19rem;
    }
    
    p {
        font-size: 1.00rem;
        line-height: 1.5;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.14rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 70vh;
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero h1 {
        margin-bottom: 0.97rem;
    padding-top: 100px;
}
    
    .hero h2 {
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.69rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Services */
    .services .card-img-top {
        height: 150px;
    }
    
    .price {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
    
    /* Features */
    .feature-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1.57rem;
    }
    
    .feature-box i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Pricing */
    .pricing-card.featured {
        transform: none;
        margin-bottom: 1.72rem;
    }
    
    .price-display {
        font-size: 1.61rem;
        margin-top: 1rem;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
        margin-bottom: 0.87rem;
    }
    
    .team-member h5 {
        font-size: 0.99rem;
    }
    
    .team-member p {
        font-size: 0.79rem;
    }
    
    /* Process */
    .process-step {
        margin-bottom: 1.68rem;
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.90rem;
    }
    
    /* Contact */
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.75rem 0;
    }
    
    .contact-item i {
        font-size: 1.31rem;
        margin-right: 0.75rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.91rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.97rem;
    }
    
    /* Gallery */
    .gallery img {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1.63rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Info Cards */
    .info-card {
        padding: 1rem;
        margin-bottom: 1.65rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 1rem 0;
        margin-top: 3.56rem;
    }
    
    .breadcrumb-img {
        max-height: 30px;
    }
}

/* ===== SMALL DEVICES (576px+) ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero adjustments */
    .hero h1 {
        font-size: 2rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 1.43rem;
    }
    
    /* Team member sizing */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Process steps */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.22rem;
    }
    
    /* Contact form */
    .btn {
        width: auto;
        display: inline-block;
    }
    
    /* Cards in grid */
    .card-body {
        padding: 1.25rem;
    }
    
    /* Services images */
    .services .card-img-top {
        height: 175px;
    }
}

/* ===== MEDIUM DEVICES (768px+) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero section */
    .hero h1 {
        font-size: 2.35rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 1.54rem;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    /* Team layout */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    /* Process layout */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Contact section */
    .contact-info {
        margin-top: 0;
    }
    
    /* Pricing cards */
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    /* Gallery grid */
    .gallery .col-md-6 {
        margin-bottom: 1.62rem;
    }
    
    /* Footer layout */
    .footer {
        text-align: left;
    }
    
    .footer .col-lg-4:not(:last-child) {
        margin-bottom: 2rem;
    }
}

/* ===== LARGE DEVICES (996px+) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero fine-tuning */
    .hero h1 {
        font-size: 2.53rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 1.71rem;
    }
    
    /* Team layout optimization */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 1rem;
    }
    
    /* Pricing enhancement */
    .pricing-card.featured {
        transform: scale(1.05);
    }
    
    /* Feature boxes */
    .feature-box {
        padding: 2rem 1.5rem;
    }
    
    /* Contact layout */
    .contact .row {
        align-items: flex-start;
    }
}

/* ===== EXTRA LARGE DEVICES (1200px+) ===== */
@media (min-width: 1200px) {
    /* Container max-width adjustment */
    .container {
        max-width: 1200px;
    }
    
    /* Hero section enhancement */
    .hero h1 {
        font-size: 2.87rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 1.82rem;
    }
    
    .hero p {
        font-size: 1.20rem;
    }
    
    /* Section spacing */
    section {
        padding: 5rem 0;
    }
    
    /* Team grid optimization */
    .team .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    /* Process layout */
    .process .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    /* Feature boxes spacing */
    .feature-box {
        padding: 2.5rem 2rem;
    }
    
    /* Timeline layout */
    .timeline-item {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Info cards */
    .info-card {
        padding: 2rem;
    }
    
    /* Contact section */
    .contact-info {
        padding: 2.5rem;
    }
}

/* ===== ULTRA WIDE SCREENS (1400px+) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Hero section for ultra-wide */
    .hero h1 {
        font-size: 3rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 2rem;
    }
    
    /* Enhanced spacing */
    section {
        padding: 6rem 0;
    }
    
    /* Feature boxes */
    .feature-box {
        padding: 3rem 2.5rem;
    }
}

/* ===== LANDSCAPE ORIENTATION ADJUSTMENTS ===== */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.63rem;
    padding-top: 100px;
}
    
    .hero h2 {
        font-size: 1.26rem;
        margin-bottom: 0.96rem;
    }
    
    .hero p {
        margin-bottom: 1rem;
    }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Enhance shadows for crisp displays */
    .card {
        box-shadow: 0 2px 15px rgba(93, 122, 66, 0.12);
    }
    
    .card:hover {
        box-shadow: 0 7px 25px rgba(113, 145, 85, 0.18);
    }
    
    /* Enhance borders */
    .form-control {
        border-width: 4px;
    }
    
    /* Timeline enhancement */
    .timeline-item {
        border-left-width: 3px;
    }
}

/* ===== ACCESSIBILITY - LARGE TEXT ===== */
@media (min-width: 1200px) {
    .large-text {
        font-size: 1.33rem;
        line-height: 1.7;
    }
    
    .large-text h1 {
        font-size: 3.51rem;
    }
    
    .large-text h2 {
        font-size: 2.58rem;
    }
    
    .large-text .btn {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Enhanced spacing for touch */
    .contact-item {
        padding: 1rem 0;
    }
    
    /* Gallery touch optimization */
    .gallery a {
        display: block;
        padding: 0.25rem;
    }
}

/* ===== HOVER CAPABILITY DETECTION ===== */
@media (hover: none) {
    /* Remove hover effects on non-hover devices */
    .card:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }
    
    .feature-box:hover {
        box-shadow: var(--shadow-light);
    }
    
    .gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* ===== PRINT OPTIMIZATIONS ===== */
@media print {
    /* Hide interactive elements */
    .navbar,
    .btn,
    .contact form {
        display: none;
    }
    
    /* Optimize layout for print */
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dfccca;
    }
    
    .team-member {
        break-inside: avoid;
    }
    
    /* Typography for print */
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 { font-size: 24pt; }
    h2 { font-size: 20pt; }
    h3 { font-size: 16pt; }
    h4 { font-size: 14pt; }
    h5 { font-size: 12pt; }
    h6 { font-size: 11pt; }
}

/* ===== DARK MODE SUPPORT ===== */

/* ===== REDUCED DATA MODE ===== */
@media (prefers-reduced-data: reduce) {
    /* Reduce heavy elements */
    .hero::before {
        display: none;
    }
    
    /* Simplify shadows */
    .card {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    /* Remove gradients */
    .hero {
        background: var(--light-green);
    }
}

/* ===== CONTAINER QUERIES (FUTURE PROOF) ===== */
@supports (container-type: inline-size) {
    .card-container {
        container-type: inline-size;
    }
    
    @container (max-width: 300px) {
        .card-body {
            padding: 0.75rem;
        }
        
        .card-title {
            font-size: 1rem;
        }
    }
} 