/* Meditation Center Template - Responsive CSS */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    width: 100%;
    opacity: 0.2;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .price-plan-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 3rem auto 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .team-member {
    padding: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
  
  .review-card {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .feature-item,
  .team-member,
  .price-card {
    margin-bottom: 1rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
}

/* Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-section {
    padding: 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #2d5016;
    --primary-deep-teal: #0f2e2a;
    --dark-teal: #000000;
  }
  
  .service-card,
  .team-member,
  .price-card,
  .blog-card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .team-member,
  .price-card,
  .blog-card,
  .btn-primary {
    transition: none !important;
  }
  
  .service-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
  
  /* Disable all Swiper animations */
  .swiper-wrapper {
    transition: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
} 