/* Responsive CSS for Gymnastics and Yoga Template */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: var(--font-size-base);
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-lg);
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --font-size-h1: 1.5rem;
    --font-size-h2: 1.375rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
    --font-brand: 1rem;
  }
  
  .hero {
    min-height: 60vh;
    padding: var(--spacing-lg) 0;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero p {
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-md);
  }
  
  .section-title {
    font-size: var(--font-size-h3);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .service-card {
    padding: var(--spacing-md);
  }
  
  .service-price {
    font-size: var(--font-size-h3);
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-sm);
  }
  
  .contact-form {
    margin: 0 var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .card-body {
  overflow-x: hidden;
    padding: var(--spacing-sm);
  }
  
  .navbar-brand {
    font-size: var(--font-brand) !important;
  }
  
  .navbar-nav .nav-link {
  font-size: 10px;
    font-size: var(--font-size-small);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: var(--spacing-md);
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    overflow: visible;
  }
  
  .swiper-slide {
    margin-bottom: var(--spacing-md);
  }
  
  .swiper-pagination {
    position: static !important;
    margin-top: var(--spacing-md);
  }
  
  .faq-question {
    padding: var(--spacing-sm);
    font-size: var(--font-size-small);
  }
  
  .faq-answer {
    padding: var(--spacing-sm);
    font-size: var(--font-size-small);
  }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero h1 {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: var(--font-size-h4);
  }
  
  .services-grid {
    gap: var(--spacing-xs);
  }
  
  .service-card {
    padding: var(--spacing-sm);
  }
  
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .contact-form {
    margin: 0 var(--spacing-xs);
    padding: var(--spacing-sm);
  }
  
  .btn-primary {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-small);
  }
  
  .card-img-top {
    height: 150px;
  }
  
  .navbar-toggler {
    border: none;
    padding: var(--spacing-xs);
  }
  
  .navbar-collapse {
    margin-top: var(--spacing-sm);
  }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xl);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    background: none !important;
  }
  
  .section {
    padding: var(--spacing-sm) 0;
    break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4 {
    break-after: avoid;
  }
} 