/* Forest School Kits - Responsive CSS */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card {
    min-height: 400px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
  /* Typography */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
  padding-top: 100px !important;
    padding: 2rem 1rem;
  }
  
  /* Sections */
  .section {
    padding: 40px 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  /* Team */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Contact */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  /* Process */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
    margin-bottom: 2rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  /* Blog */
  .blog-card-body {
  overflow-x: hidden !important;
    padding: 1rem;
  }
}

/* Small Mobile (576px and below) */
@media (max-width: 575px) {
  /* Container */
  .container {
    padding: 0 15px;
  }
  
  /* Typography */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card,
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  /* Team */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Price */
  .price-card .price {
    font-size: 2.5rem;
  }
  
  /* Contact Info */
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-section {
    display: none;
  }
  
  .section {
    padding: 20px 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }
  
  body {
  overflow-x: hidden !important;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  .container {
    max-width: 100%;
  }
}

/* Swiper Responsive Overrides for Mobile */
@media (max-width: 767px) {
  .swiper-slide {
    padding: 0 10px;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../NEX_images/hero-bg@2x.webp');
  }
}

/* Dark Mode Media Query (for system preference) */
@media (prefers-color-scheme: dark) {
  /* Keep light theme as per requirements - no dark mode */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide {
    transition: none;
  }
  
  .hero-section::before,
  .feature-card,
  .service-card,
  .team-member img {
    transition: none;
  }
  
  .gallery-item:hover,
  .service-card:hover,
  .feature-card:hover {
    transform: none;
  }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--sunrise-orange);
    outline-offset: 2px;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
} 