/* Smart Greenhouse IoT Sensors - Responsive CSS */
/* Mobile-First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile scroll */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    padding-top: 100px;
}
  
  .section {
    padding: 2rem 0;
  }
  
  .section-alt {
    padding: 2rem 0;
  }
  
  .services-card,
  .price-card,
  .team-card,
  .career-card {
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  .timeline-item {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-section h1 {
    font-size: 1.9rem;
    padding-top: 100px;
}
  
  .section {
    padding: 3rem 0;
  }
  
  .section-alt {
    padding: 3rem 0;
  }
  
  .team-card img {
    width: 130px;
    height: 130px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section-alt {
    padding: 3.5rem 0;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-alt {
    padding: 4rem 0;
  }
  
  .team-card img {
    width: 150px;
    height: 150px;
  }
  
  .gallery-image {
    height: 230px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-alt {
    padding: 4rem 0;
  }
  
  .gallery-image {
    height: 250px;
  }
  
  .decorative-blob {
    display: block;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .section,
  .section-alt {
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
    background: none;
    color: var(--color-dark);
  }
  
  * {
    background: none !important;
    color: var(--color-dark) !important;
    box-shadow: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .services-card,
  .price-card,
  .team-card,
  .career-card,
  .faq-card {
    border-width: 3px;
  }
  
  .btn-greenhouse,
  .btn-tech {
    border: 2px solid var(--color-dark);
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
