/* Responsive CSS */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* General */
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  /* Hero */
  .hero {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Features */
  .feature-block {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .feature-block-icon {
    margin: 0 auto 1rem;
  }
  
  /* Team */
  .team-image {
    height: 250px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 3rem 0 1.5rem;
  }
  
  .footer-title {
    margin-top: 2rem;
  }
  
  .footer-contact {
    justify-content: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* General */
  section {
    padding: 4rem 0;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Footer */
  footer {
    padding: 4rem 0 2rem;
  }
  
  .footer-title {
    margin-top: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero */
  .hero-title {
    font-size: 3.25rem;
  }
  
  /* Services */
  .service-image {
    height: 180px;
  }
  
  /* Team */
  .team-image {
    height: 240px;
  }
  
  /* Core Info */
  .info-icon-box {
    margin-bottom: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Services */
  .service-image {
    height: 190px;
  }
  
  /* Team */
  .team-image {
    height: 260px;
  }
}

/* Special styles for touch devices */
@media (hover: none) {
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .price-card.featured:hover {
    transform: scale(1.05);
  }
  
  .info-icon-box:hover .info-icon {
    transform: none;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .service-card:hover .service-image img,
  .blog-card:hover .blog-image img,
  .gallery-item:hover img {
    transform: none;
  }
} 