/* Toddler Playground - Responsive Styles */

/* Tablet and smaller screens */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
    --card-padding: 1.5rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: var(--h2-size);
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile screens */
@media (max-width: 767.98px) {
  :root {
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
    --section-padding: 50px 0;
    --card-padding: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section .shape {
    display: none;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: var(--font-size-base);
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: var(--h2-size);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .service-price {
    font-size: var(--h3-size);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  /* Swiper adjustments for mobile */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Extra small screens */
@media (max-width: 575.98px) {
  :root {
    --h1-size: 1.5rem;
    --h2-size: 1.25rem;
    --section-padding: 40px 0;
    --card-padding: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  .navbar-nav .nav-link {
  font-size: 10px;
    padding: 0.25rem 0.75rem !important;
    font-size: var(--font-size-sm);
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
  }
}

/* Large screens optimization */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-section .shape,
  .btn {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: var(--neutral-white) !important;
  }
  
  .hero-title,
  .hero-subtitle,
  .hero-description {
    color: var(--neutral-gray-800) !important;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--neutral-gray-300);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-coral: #CC0044;
    --primary-mint: #006633;
    --primary-sunshine: #CC6600;
    --primary-lavender: #6600CC;
    --primary-peach: #CC3300;
    --neutral-gray-600: #333333;
    --neutral-gray-800: #000000;
  }
  
  .card {
    border: 2px solid var(--neutral-gray-800);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Focus and accessibility improvements */
@media (max-width: 767.98px) {
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 138, 0.5);
  }
  
  .nav-link:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
  }
  
  .btn:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
  }
}
