/* Media Queries for Responsive Design */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding-top: 80px;
    height: auto;
    min-height: 100vh;
  }
  
  .service-card, 
  .team-member, 
  .price-card,
  .blog-card {
    margin-bottom: 20px;
  }
  
  .review-item {
    margin: 10px 0;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  footer {
    padding: 60px 0 20px;
  }
  
  .footer-info {
    margin-bottom: 30px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .hero-section {
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
  }
  
  .service-card, 
  .team-member, 
  .price-card,
  .blog-card {
    margin-bottom: 25px;
  }
  
  .footer-info {
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.3rem;
  }
  
  .service-card, 
  .team-member, 
  .price-card,
  .blog-card {
    margin-bottom: 30px;
  }
  
  .hero-section {
    padding-top: 0;
  }
  
  .footer-info {
    margin-bottom: 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Animation and reduced motion preferences */
@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,
  .team-member:hover,
  .price-card:hover,
  .blog-card:hover,
  .about-feature:hover,
  .coreinfo-item:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
  
  .blog-card:hover .blog-image img,
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Fix for Mobile Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    height: calc(100vh - 80px);
    min-height: 500px;
  }
} 