/* Responsive Styles for Eco-Toilet Rentals */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 200px;
}
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 1.75rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 75vh;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .service-card {
    height: auto;
    min-height: 300px;
  }
  
  .price-card {
    min-height: 350px;
  }
  
  .team-card {
    min-height: 280px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    min-height: 320px;
  }
  
  .price-card {
    min-height: 380px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
  /* Disable animations on mobile as per requirements */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Stack navigation items vertically */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Adjust section spacing */
  section {
    padding: 2rem 0;
  }
  
  /* Make cards full width on mobile */
  .card-deck .card {
    margin-bottom: 1rem;
  }
  
  /* Optimize form layout */
  .form-row .col {
    margin-bottom: 1rem;
  }
  
  /* Adjust gallery grid */
  .gallery-item {
    margin-bottom: 0.5rem;
  }
  
  /* Footer adjustments */
  #footer .col-md-3 {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Tablet portrait adjustments */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  .hero-section {
    min-height: 60vh;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
} 