/* Responsive CSS for Scrap Wood Shop */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.81rem;
  }
  
  .hero-subtitle {
    font-size: 1.04rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-item,
  .price-item {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-pagination-bullet-size: 8px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.33rem;
  }
  
  .service-item {
    padding: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.51rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-feature {
    padding: 2.5rem 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-item {
    padding: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .container-fluid {
    max-width: 1400px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* High DPI displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
  /* Optimize images and icons for retina displays */
  .team-photo,
  .service-image,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
} 