/* Responsive CSS for Acoustic Panel Template */
/* Mobile-first approach with no scroll animations on mobile */

/* Mobile Devices (up to 768px) */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  /* Section padding reduced */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Service cards stack properly */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Gallery items full width on mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
  }
  
  .price-value {
    font-size: 2rem;
  }
}

/* Tablet Devices (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Service cards in 2 columns */
  .service-grid .col-md-6:nth-child(odd) {
    padding-right: 1rem;
  }
  
  .service-grid .col-md-6:nth-child(even) {
    padding-left: 1rem;
  }
  
  /* Team grid adjustments */
  .team-photo {
    width: 110px;
    height: 110px;
  }
}

/* Desktop Devices (992px and up) */
@media (min-width: 992px) {
  /* Full animations enabled on desktop */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Service cards hover effects */
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  /* Gallery hover effects */
  .gallery-item:hover img {
    transform: scale(1.08);
  }
  
  /* Blog card hover effects */
  .blog-card:hover {
    transform: translateY(-5px);
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Section padding increased */
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Hero content spacing */
  .hero-section {
    padding: 0 2rem;
  }
}

/* Extra Large Desktop (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-item,
  [data-sal] {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-soft-blue: #0066cc;
    --primary-charcoal: #000000;
    --primary-cream: #ffffff;
    --text-primary: #000000;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form,
  .price-card,
  .case-study-card,
  .blog-card {
    border: 2px solid #000000;
  }
}

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

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects for touch devices */
  .service-card:hover,
  .gallery-item:hover img,
  .blog-card:hover {
    transform: none;
  }
  
  /* Larger touch targets */
  .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  /* Navbar toggler larger */
  .navbar-toggler {
    padding: 0.5rem 0.75rem;
  }
}

/* Dark Mode Support */

.hero-section h1 {
    padding-top: 125px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
