/* Responsive CSS for Coin Laundry Template */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .process-step::before {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .service-card img,
  .gallery-item img {
    height: 180px;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Disable autoplay and effects on mobile for Swiper */
@media (max-width: 767.98px) {
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
}

/* Navigation adjustments for mobile */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}

/* Card adjustments for smaller screens */
@media (max-width: 767.98px) {
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .process-step,
  .timeline-item,
  .coreinfo-item,
  .blog-card,
  .career-item,
  .casestudy-item,
  .feature-item,
  .about-feature {
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
}

/* Typography adjustments for readability */
@media (max-width: 575.98px) {
  p {
    font-size: 0.9rem;
  }
  
  .service-card h3,
  .team-card h4,
  .price-card h3 {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
}

/* Form adjustments for mobile */
@media (max-width: 767.98px) {
  .contact-form .form-control {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Grid adjustments */
@media (max-width: 575.98px) {
  .row > * {
    margin-bottom: 1rem;
  }
}

/* Footer adjustments */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Hero section adjustments */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section .row {
    align-items: center;
  }
}

/* FAQ adjustments */
@media (max-width: 767.98px) {
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
}

/* Process steps mobile layout */
@media (max-width: 767.98px) {
  .process-container {
    counter-reset: step-counter;
  }
  
  .process-step {
    margin-bottom: 2rem;
    padding-top: 3rem;
  }
  
  .process-step::before {
    top: 1rem;
    left: 1rem;
    position: absolute;
  }
}

/* Timeline mobile adjustments */
@media (max-width: 767.98px) {
  .timeline-item {
    border-left: none;
    border-top: 4px solid var(--primary-blue);
  }
}

/* Blog grid adjustments */
@media (max-width: 767.98px) {
  .blog-card img {
    height: 150px;
  }
}

/* Gallery adjustments */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Core info adjustments */
@media (max-width: 767.98px) {
  .coreinfo-item i {
    font-size: 2.5rem;
  }
}

/* Feature items adjustments */
@media (max-width: 767.98px) {
  .feature-item i,
  .about-feature i {
    font-size: 2.5rem;
  }
}

/* Contact info adjustments */
@media (max-width: 767.98px) {
  .contact-info {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Ensure proper spacing on all devices */
@media (min-width: 768px) {
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .process-step,
  .timeline-item,
  .coreinfo-item,
  .blog-card,
  .career-item,
  .casestudy-item,
  .feature-item,
  .about-feature {
    border: 2px solid #000;
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid #000;
  }
} 