/* Responsive Design - Mobile First Approach */
/* Sustainable Sportswear Brand - No Mobile Scroll Animations */

/* Base Mobile Styles (up to 576px) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.375rem; }
  h4 { font-size: 1.25rem; }
  
  /* Conservative navbar brand sizing */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* Disable all animations on mobile scroll - CRITICAL REQUIREMENT */
  .hero-decorative-blob {
    animation: none;
    position: static;
    display: none;
  }
  
  /* Service cards mobile stack */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Price cards mobile adjustments */
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team photo size reduction */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* FAQ cards mobile spacing */
  .faq-card {
    padding: 1rem;
  }
  
  /* Footer mobile adjustments */
  .footer-section {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .price-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .btn-primary:hover,
  .gallery-item:hover img {
    transform: none;
    box-shadow: none;
  }
  
  /* Remove transitions on mobile for performance */
  .service-card,
  .price-card,
  .career-card,
  .blog-card,
  .btn-primary,
  .gallery-item img,
  .form-control {
    transition: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .navbar-brand {
    font-size: 1.375rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  /* Still disable animations on small devices */
  .hero-decorative-blob {
    animation: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Reduced hover effects */
  .service-card:hover,
  .blog-card:hover {
    transform: translateY(-3px);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .hero-section {
    min-height: 95vh;
  }
  
  /* Enable light animations on tablets */
  .hero-decorative-blob {
    animation: float 8s ease-in-out infinite;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Full animations on desktop */
  .hero-decorative-blob {
    animation: float 6s ease-in-out infinite;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enhanced animations on large screens */
  .hero-decorative-blob {
    animation: float 6s ease-in-out infinite;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  /* Enhanced hover effects on large screens */
  .service-card:hover,
  .blog-card:hover {
    transform: translateY(-8px);
  }
}

/* Mobile Navigation Overrides - Standard Bootstrap 5 Only */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: 2px solid var(--color-forest-green);
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(107, 142, 107, 0.25);
  }
  
  .navbar-collapse {
    background-color: var(--color-white);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: var(--color-forest-green-dark);
    font-weight: 500;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer-section,
  .hero-decorative-blob {
    display: none;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--color-black);
  }
  
  .btn-primary {
    border: 2px solid var(--color-black);
  }
  
  .form-control {
    border: 2px solid var(--color-black);
  }
}

/* Landscape Orientation Adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* CRITICAL: No scroll animations on mobile devices */
@media (max-width: 768px) {
  /* SAL.js animations fully disabled on mobile - as per memory */
  /*
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .sal-animate {
    opacity: 1 !important;
    transform: none !important;
  }
  */
  
  /* Disable all CSS animations and transitions on mobile scroll */
  * {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
  }
  
  /* Ensure content is always visible on mobile */
  .hero-section,
  .section-padding,
  .service-card,
  .feature-icon,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card,
  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-decorative-blob {
    animation: none !important;
  }
  
  /* Ensure smooth focus indicators */
  .btn:focus,
  .form-control:focus,
  .navbar-toggler:focus {
    outline: 2px solid var(--color-ocean-blue);
    outline-offset: 2px;
  }
}

/* Dark Mode Support (respects system preference) */


body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 100px;
}