/* Responsive CSS for Acoustic Panel Template */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }

  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }

  .hero-section::before {
    display: none; /* Remove decorative blob on mobile */
  }

  /* Card adjustments */
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
  }

  /* Section padding */
  .section {
    padding: 3rem 0;
  }

  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }

  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }

  /* Button adjustments */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on mobile */
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }

  .hero-section {
    min-height: 85vh;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }

  .service-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }

  /* Team photo sizing */
  .team-photo {
    height: 280px;
  }

  /* Gallery items */
  .gallery-item img {
    height: 300px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .section-desc {
    max-width: 700px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card {
    border-width: 3px;
  }

  .btn {
    border-width: 2px;
  }
}

/* Dark mode support */

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-accent);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Utility classes for responsive spacing */
@media (max-width: 767.98px) {
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }

  .mt-mobile-3 {
    margin-top: 1rem;
  }

  .p-mobile-2 {
    padding: 0.5rem;
  }
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure cards stack properly on mobile */
@media (max-width: 767.98px) {
  .row .col-md-4,
  .row .col-md-6,
  .row .col-lg-4 {
    margin-bottom: 2rem;
  }

  .row .col-md-4:last-child,
  .row .col-md-6:last-child,
  .row .col-lg-4:last-child {
    margin-bottom: 0;
  }
} 

.hero-content {
    padding-top: 100px;
}