/* Responsive Styles for Eco-Friendly Laundry Service */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  #hero h1 {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
  }
  
  #hero {
    text-align: center;
  }
  
  #hero h1 {
    font-size: 2.5rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 30px;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 30px;
  }
  
  /* Stack columns on medium screens */
  .price-card.featured {
    transform: none;
    margin-top: 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 50px 0;
  }
  
  /* Disable animations on mobile for better performance */
  @media (prefers-reduced-motion: no-preference) {
    * {
      animation: none !important;
      transition: none !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .team-card:hover,
    .review-card:hover,
    .case-card:hover,
    .process-step:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover {
      transform: none !important;
    }
  }
  
  #header .navbar-brand {
    font-size: 1.3rem;
  }
  
  #hero {
    min-height: 80vh;
    padding: 20px 0;
  }
  
  #hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  #hero .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  #hero .hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .section-title {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .section-description {
    margin-bottom: 40px;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 25px;
  }
  
  .feature-card,
  .contact-form,
  .contact-info {
    padding: 25px;
  }
  
  .price-card {
    padding: 30px 20px;
  }
  
  .price-card .price {
    font-size: 2.5rem;
  }
  
  .process-step {
    margin-bottom: 30px;
  }
  
  .timeline-item {
    margin-bottom: 15px;
    padding: 20px;
  }
  
  .gallery-item {
    height: 200px;
    margin-bottom: 15px;
  }
  
  /* Navigation adjustments */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 40px 0;
    --container-padding: 15px;
  }
  
  .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
  
  #hero {
    min-height: 70vh;
  }
  
  #hero h1 {
    font-size: 1.9rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1rem;
  }
  
  #hero .hero-description {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    margin-bottom: 20px;
  }
  
  .feature-card,
  .contact-form,
  .contact-info {
    padding: 20px;
  }
  
  .price-card {
    padding: 25px 15px;
  }
  
  .service-card .card-body,
  .blog-card .card-body,
  .team-card .card-body {
    padding: 20px;
    overflow-x: hidden;
}
  
  .service-card .card-title,
  .blog-card h5 {
    font-size: 1.2rem;
  }
  
  .service-card .service-price {
    font-size: 1.6rem;
  }
  
  .price-card .price {
    font-size: 2.2rem;
  }
  
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .feature-card .feature-icon,
  .info-card .info-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .contact-info .contact-item i {
    width: 35px;
    height: 35px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .btn-eco,
  .btn-outline-eco {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 40px 0 15px;
  }
  
  #footer .col-md-3,
  #footer .col-md-4 {
    margin-bottom: 30px;
  }
}

/* Ultra small devices (less than 375px) */
@media (max-width: 374.98px) {
  #hero h1 {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card,
  .contact-form,
  .contact-info {
    padding: 15px;
  }
  
  .price-card {
    padding: 20px 10px;
  }
  
  .service-card .card-body,
  .blog-card .card-body,
  .team-card .card-body {
    padding: 15px;
  }
  
  .process-step .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  #hero::before {
    animation: none;
  }
}

/* Print styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .section-title {
    page-break-after: avoid;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .btn-eco,
  .btn-outline-eco {
    border-width: 3px;
  }
}

/* Dark mode support (if system preference) */

.hero-content {
    padding-top: 175px;
}