/* EcoClean Laundry - Responsive CSS */

/* Extra Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.4rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .service-card .card-img-top {
    height: 220px;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content .lead {
    font-size: 1.2rem;
  }
  
  .feature-card {
    padding: 2.5rem 1.5rem;
  }
  
  .service-card .card-img-top {
    height: 200px;
  }
  
  .pricing-card.featured {
    transform: scale(1.05);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons .btn {
    margin-right: 1rem;
  }
  
  .service-card .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  body {
    padding-top: 70px;
    overflow-x: hidden;
}
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 100px;
}
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    text-align: center;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Remove hero shapes on mobile for better performance */
  .hero-shapes {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Section padding */
  .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  /* Feature cards */
  .feature-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-card i {
    font-size: 2rem;
  }
  
  /* Service cards */
  .service-card .card-img-top {
    height: 160px;
  }
  
  .service-card .card-body {
    padding: 1rem;
  }
  
  /* Feature items */
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
  
  .feature-icon i {
    font-size: 2rem;
  }
  
  /* Pricing cards */
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
    border: 2px solid var(--primary-color);
  }
  
  .pricing-card .card-body {
    padding: 1.5rem;
  }
  
  .price-display .h2 {
    font-size: 2rem;
  }
  
  /* Team cards */
  .team-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Review cards */
  .review-card {
    margin-bottom: 1rem;
  }
  
  .review-card .card-body {
    padding: 1rem;
  }
  
  /* FAQ cards */
  .faq-card .card-body {
    padding: 1rem;
  }
  
  .faq-card .card-title {
    font-size: 1rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 1rem 0;
  }
  
  .contact-item {
    margin-bottom: 2rem;
  }
  
  .contact-item i {
    font-size: 1.5rem;
  }
  
  /* Gallery */
  #gallery .col-lg-4 {
    margin-bottom: 1rem;
  }
  
  /* Footer */
  #footer {
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
  
  #footer .text-end {
    text-align: center;
  }
  
  /* Breadcrumb */
  .breadcrumb-section {
    margin-top: 70px;
    padding: 0.5rem 0;
  }
  
  /* Blog cards */
  .blog-card, .tip-card, .sustainability-card, .story-card, .resource-card {
    margin-bottom: 1rem;
  }
  
  .blog-card .card-img-top {
    height: 150px;
  }
  
  /* News items */
  .news-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Impact stats */
  .impact-stat {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Customer photos */
  .customer-photo img {
    width: 50px;
    height: 50px;
  }
  
  /* Resource cards */
  .resource-card .card-body {
    padding: 1rem;
  }
  
  .resource-card i {
    font-size: 2rem;
  }
  
  /* Disable animations on mobile for better performance */
  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .review-card:hover,
  .faq-card:hover,
  .blog-card:hover,
  .tip-card:hover,
  .sustainability-card:hover,
  .story-card:hover,
  .resource-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .btn:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Print styles */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  .row {
    display: block;
  }
  
  .col-lg-4, .col-lg-6, .col-lg-8, .col-md-6 {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
  }
  
  .card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  
  .btn {
    display: none;
  }
  
  .navbar, .hero-shapes, #footer {
    display: none;
  }
  
  .hero-section {
    background: none;
    padding: 0;
  }
  
  .hero-content h1 {
    font-size: 24pt;
    margin-bottom: 12pt;
  }
  
  h2 {
    font-size: 18pt;
    margin-bottom: 12pt;
  }
  
  h3 {
    font-size: 16pt;
    margin-bottom: 10pt;
  }
  
  h4 {
    font-size: 14pt;
    margin-bottom: 8pt;
  }
  
  p {
    margin-bottom: 8pt;
  }
  
  .py-5 {
    padding: 12pt 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-section {
    background: white;
  }
  
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background-color: #000;
    border-color: #000;
    color: #fff;
  }
  
  .btn-outline-primary {
    color: #000;
    border-color: #000;
  }
  
  .text-primary {
    color: #000;
  }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
  .hero-shapes,
  .shape {
    display: none;
  }
  
  .hero-section {
    background: var(--light-color);
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
} 