/* Responsive Design CSS - Family Business Succession Consulting */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card,
  .priceplan-card,
  .team-member {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .review-slide {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card,
  .team-member {
    margin-bottom: 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);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Disable animations on mobile for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .swiper-container .swiper-slide {
    transform: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .team-member:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .hero-section,
  .reviews-section,
  .gallery-section,
  .contact-section,
  header,
  footer {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .team-member {
    break-inside: avoid;
  }
} 