/* ===== RESPONSIVE STYLES - ECO-TOILET RENTAL ===== */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Section Padding */
  section {
    padding: 2rem 0;
  }
  
  /* Hero Section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .btn-primary-custom {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  /* Decorative Shapes - Hide on Mobile */
  .hero-shape {
    display: none;
  }
  
  /* Cards Spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  /* Contact Form */
  .contact-form,
  .contact-info {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process Numbers */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 200px;
  }
  
  /* Footer */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  /* Remove all animations and transforms on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-image:hover,
  .btn-primary-custom:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none !important;
  }
  
  /* Service Price */
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Price Value */
  .price-value {
    font-size: 2rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  /* Section Padding */
  section {
    padding: 3rem 0;
  }
  
  /* Hero Section */
  #hero {
    min-height: 90vh;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  /* Contact Sections */
  .contact-form,
  .contact-info {
    padding: 2.5rem;
    margin-bottom: 2rem;
  }
  
  /* Remove animations on small devices too */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-image:hover {
    transform: none !important;
  }
  
  .price-card.featured {
    transform: none !important;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Section Padding */
  section {
    padding: 3.5rem 0;
  }
  
  /* Hero Section */
  #hero {
    min-height: 95vh;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 220px;
  }
  
  /* Reduced animations on tablets */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: translateY(-3px) !important;
  }
  
  .gallery-image:hover {
    transform: scale(1.02) !important;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full animations enabled on desktop */
  .hero-shape {
    display: block;
  }
  
  /* Cards maintain full hover effects */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 0;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Enhanced spacing for larger screens */
  .container {
    max-width: 1140px;
  }
  
  /* Hero Section */
  #hero {
    min-height: 100vh;
  }
  
  /* Enhanced decorative elements */
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 180px;
    height: 180px;
  }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced typography for very large screens */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.1rem; }
  
  /* Enhanced decorative shapes */
  .hero-shape-1 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Print Styles */
@media print {
  /* Remove backgrounds and shadows */
  .hero-shape,
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  /* Remove decorative elements */
  .hero-shape {
    display: none !important;
  }
  
  /* Ensure text is readable */
  body, p, h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
  
  /* Remove unnecessary sections for print */
  #header,
  #footer {
    display: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #1a5c2a;
    --primary-blue: #2e5984;
    --text-primary: #000000;
    --text-secondary: #333333;
    --bg-light: #ffffff;
    --bg-section: #f0f0f0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    border: 2px solid #333333 !important;
  }
}

/* Dark Mode Support */

body {
    overflow-x: hidden;
}