/* ==========================================================================
   ACS SALON — RESPONSIVE & ACCESSIBILITY STYLESHEET
   Tested Breakpoints: 320px, 375px, 390px, 414px, 768px, 1024px, 1440px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Laptop / Desktop Tweaks (Max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-grid,
  .highlight-grid,
  .contact-grid {
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   2. Tablet View (Max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-glass-tag {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
  }

  .highlight-grid,
  .highlight-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .highlight-grid.reverse > * {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Navigation Mobile Drawer Toggle */
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.25rem;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   3. Mobile Devices (Max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .services-grid,
  .why-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   4. Small Mobile Screens (320px - 414px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-glass-tag {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    margin-top: 1.5rem;
    width: 100%;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .jotform-wrapper {
    padding: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   5. Accessibility: Reduced Motion Support
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-glow {
    display: none;
  }

  .hair-strand-line::after {
    animation: none;
  }
}
