/* ===== RESPONSIVE STYLES - HYDROPONIC GARDEN UNITS ===== */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  
  /* Hero section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative { display: none; }
  
  /* Sections padding */
  .section { padding: 40px 0; }
  
  /* Cards spacing */
  .card { margin-bottom: 2rem; }
  
  /* Service cards */
  .service-card { margin-bottom: 2rem; }
  .service-icon { font-size: 2.5rem; }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Price cards */
  .price-card {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  .price { font-size: 2.5rem; }
  
  /* Contact form */
  .form-control { font-size: 16px; } /* Prevents zoom on iOS */
  
  /* Footer */
  .footer { text-align: center; }
  .footer .col-md-3 { margin-bottom: 2rem; }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .hero-section { min-height: 80vh; }
  .section { padding: 60px 0; }
  
  .price-card.featured {
    transform: none; /* Remove scale on small screens */
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section { min-height: 90vh; }
  
  .hero-decorative {
    width: 120px;
    height: 120px;
  }
  
  .section { padding: 70px 0; }
  
  .card-img-top { height: 180px; }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-decorative {
    width: 140px;
    height: 140px;
  }
  
  .service-icon { font-size: 3.2rem; }
  .feature-icon { font-size: 2.7rem; }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .section { padding: 100px 0; }
  
  .card-img-top { height: 220px; }
  
  .container {
    max-width: 1140px;
  }
}

/* Landscape Orientation Adjustments */
@media screen and (orientation: landscape) and (max-height: 568px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section { padding: 30px 0; }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar {
    box-shadow: 0 1px 5px rgba(44, 62, 80, 0.15);
  }
  
  .card {
    box-shadow: 0 3px 15px rgba(44, 62, 80, 0.12);
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Dark Mode Support (if enabled by user) */

.hero-content {
    padding-top: 125px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
