/* ===============================================
   HYDROPONIC GARDEN KIT - RESPONSIVE CSS
   =============================================== */

/* ===============================================
   MOBILE FIRST APPROACH
   =============================================== */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.82rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 1.01rem;
  }
  
  .section-title {
    font-size: 1.77rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 1.05rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.34rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.19rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.40rem;
  }
  
  .hero-subtitle {
    font-size: 1.27rem;
  }
  
  .section-title {
    font-size: 2.38rem;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.57rem;
  }
  
  .hero-subtitle {
    font-size: 1.30rem;
  }
  
  .section-title {
    font-size: 2.62rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .hero {
    min-height: 95vh;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.29rem;
  }
  
  .section-title {
    font-size: 2.64rem;
  }
  
  .service-card img {
    height: 250px;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  .hero {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* ===============================================
   NAVIGATION RESPONSIVE
   =============================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--gradient-primary);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* ===============================================
   HERO RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 225px;
}
  
  .hero-image {
    text-align: center;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
}

/* ===============================================
   SERVICES RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .service-card {
    margin-bottom: 1.60rem;
  }
  
  .service-price {
    font-size: 1.35rem;
  }
}

/* ===============================================
   TEAM RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .team-member {
    margin-bottom: 1.68rem;
  }
}

/* ===============================================
   CONTACT RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* ===============================================
   GALLERY RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-item img {
    height: 220px;
  }
}

@media (min-width: 992px) {
  .gallery-item img {
    height: 250px;
  }
}

/* ===============================================
   FOOTER RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* ===============================================
   FORM RESPONSIVE
   =============================================== */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 0.98rem;
  }
  
  .btn-primary {
    width: 100%;
  }
}

/* ===============================================
   TYPOGRAPHY RESPONSIVE
   =============================================== */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.83rem;
  }
  
  h2 {
    font-size: 1.62rem;
  }
  
  h3 {
    font-size: 1.36rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  h5 {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.91rem;
  }
}

/* ===============================================
   SPACE PAGE RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  #space {
    min-height: 50vh;
    margin: 1rem 0;
  }
}

/* ===============================================
   UTILITIES RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile {
    margin-bottom: 2rem;
  }
  
  .px-mobile {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===============================================
   ACCESSIBILITY RESPONSIVE
   =============================================== */
@media (max-width: 767.98px) {
  .navbar-toggler {
    font-size: 1.38rem;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .btn {
    min-height: 44px;
  }
}

/* ===============================================
   LANDSCAPE ORIENTATION
   =============================================== */
@media (orientation: landscape) and (max-height: 480px) {
  .hero {
    min-height: 120vh;
  }
}

/* ===============================================
   HIGH DPI DISPLAYS
   =============================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-card img,
  .team-member img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
} 