/* ============================================================
   A HOT PARTY — responsive.css
   All breakpoint overrides
   ============================================================ */

/* ── 1280px ────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .services-grid    { grid-template-columns: repeat(2,1fr); }
  .awards-grid      { grid-template-columns: repeat(3,1fr); }
  .team-grid        { grid-template-columns: repeat(4,1fr); }
  .footer-inner     { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-brand     { grid-column: 1 / -1; }
  .footer-contact   { grid-column: span 2; }
  .gallery-grid     { columns: 3; }
}

/* ── 1024px ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2,1fr); }
  .blog-grid        { grid-template-columns: repeat(2,1fr); }
  .team-grid        { grid-template-columns: repeat(4,1fr); }
  .reviews-grid     { columns: 2; }
  .performer-grid   { grid-template-columns: repeat(3,1fr); }
  .themes-grid      { grid-template-columns: repeat(3,1fr); }
}

/* ── 768px (Tablet) ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Show sticky mobile CTA */
  .sticky-mobile-cta { display: flex; }

  /* Typography scale-down */
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero    { padding: 7rem 1.5rem 4rem; min-height: 45vh; }

  /* Sections */
  .section    { padding: 3.5rem 0; }
  .section-lg { padding: 5rem 0; }
  .container  { padding: 0 1.25rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-card  { min-height: 320px; }
  .service-card:hover { transform: none; }

  /* Performers */
  .performer-grid { grid-template-columns: repeat(2,1fr); }

  /* Themes */
  .themes-grid { grid-template-columns: repeat(2,1fr); }

  /* Awards */
  .awards-grid { grid-template-columns: repeat(2,1fr); }

  /* Team */
  .team-grid { grid-template-columns: repeat(2,1fr); }

  /* Reviews */
  .reviews-grid { columns: 1; }

  /* Gallery */
  .gallery-grid { columns: 2; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-awards { justify-content: center; }
  .footer-credit { text-align: center; }

  /* Form grid */
  .form-grid { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner { padding: 4rem 1.5rem; }
  .cta-banner-buttons { flex-direction: column; align-items: center; }

  /* Flip cards */
  .flip-card:hover .flip-card-inner { transform: none; }
  .flip-card-back { transform: none; position: relative; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .flip-card-inner { transform-style: flat; }
  .flip-card-front, .flip-card-back { position: relative; backface-visibility: visible; }
  .flip-card { height: auto; }
  .flip-card-front { border-radius: var(--r-lg) var(--r-lg) 0 0; height: 220px; position: relative; }

  /* Decor grid */
  .decor-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── 480px (Mobile) ────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  .nav-container { padding: .75rem 1rem; }
  .nav-logo img  { height: 40px; }
  .btn-nav       { display: none; }

  /* Hero */
  .hero-badges { display: none; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.2rem; }
  .stat-card   { padding: 1.75rem 1rem; }

  /* Performers */
  .performer-grid { grid-template-columns: repeat(2,1fr); }

  /* Themes */
  .themes-grid { grid-template-columns: 1fr 1fr; }

  /* Awards */
  .awards-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2,1fr); }

  /* Gallery */
  .gallery-grid { columns: 2; }

  /* Decor */
  .decor-grid { grid-template-columns: 1fr; }

  /* Google badge */
  .google-badge { flex-direction: column; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col   { border-top: 1px solid var(--border); padding-top: 1.5rem; }

  /* Video */
  .video-play-btn { width: 60px; height: 60px; font-size: 1.4rem; }

  /* Lightbox nav */
  .lightbox-nav   { width: 40px; height: 40px; font-size: .9rem; }
  .lightbox-prev  { left: .5rem; }
  .lightbox-next  { right: .5rem; }
}

/* ── Mobile overflow guards ────────────────────────────────── */
@media (max-width: 768px) {
  /* reveal-left/right start 65px outside the viewport. On a 390px screen
     that is enough to create a horizontal scroll before the element
     animates in. Slide vertically on small screens instead. */
  .reveal-left, .reveal-right {
    transform: translateY(40px);
  }

  /* btn-xl carries 3.5rem of side padding — with a long label that
     overflows a phone. Let long buttons wrap rather than push the page wide. */
  .btn { max-width: 100%; }
  .btn-xl {
    padding: 1.1rem 1.75rem;
    white-space: normal;
    text-align: center;
  }
}

/* ── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate, .reveal-fade {
    opacity: 1; transform: none;
  }
}
