/* Mobile-First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
  }
  
  .service-item img {
    height: 220px;
  }
  
  .gallery-item img {
    height: 280px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .lead {
    font-size: 1.375rem;
  }
  
  .service-item {
    padding: 2.5rem;
  }
  
  .contact-form {
    padding: 3.5rem;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1200px;
  }
  
  .hero h1 {
    font-size: var(--font-size-h1);
  }
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .service-item img {
    height: 250px;
  }
}

/* Disable autoplay and effects on mobile devices */
@media (max-width: 767.98px) {
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  /* Disable hover effects on touch devices */
  .service-item:hover,
  .blog-item:hover,
  .gallery-item:hover img,
  .coreinfo-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero,
  .section-padding {
    padding: 1rem 0;
  }
  
  .service-item,
  .contact-form,
  .review-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid var(--color-neutral-dark);
  }
  
  .service-item {
    border: 2px solid var(--color-neutral-light);
  }
  
  .form-control {
    border-width: 3px;
  }
}

