/* Responsive CSS for Sanatorium for Pensioners Template */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.4rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-item {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 3rem;
  }
  
  .review-item {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content h2 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 450px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-item, .blog-card, .price-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
  
  .review-item {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .hero-section {
    min-height: 400px;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-item, .blog-card, .price-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
  
  .review-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .service-option {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .card:hover, .service-item:hover, .blog-card:hover, .price-card:hover {
    transform: none !important;
  }
  
  .blog-card:hover .blog-img img {
    transform: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
} 