/* ════════════════════════════════════════
   RESPONSIVE — Kallol Entertainment
════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Stack hero poster above content */
  #hero { height: auto; max-height: none; overflow: visible; }
  .hero-slide {
    position: relative; grid-template-columns: 1fr;
    opacity: 1; pointer-events: all; display: none;
  }
  .hero-slide.active { display: grid; }

  .slide-media  { position: relative; overflow: hidden; min-height: 56vw; }
  .slide-poster { position: relative; inset: auto; }
  .slide-poster img { width: 100%; height: auto; object-fit: unset; filter: saturate(.9) brightness(.9); display: block; }
  .slide-poster::after { display: none; }
  .slide-poster.gradient-poster { position: relative; min-height: 56vw; }
  .slide-poster.gradient-poster::after { background: linear-gradient(to top, var(--surface-1) 0%, transparent 60%) !important; }

  .slide-iframe-wrap { position: absolute; inset: 0; }
  .slide-iframe-wrap::after { background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 50%); }
  .slide-content { padding: 2rem 1.75rem 2.5rem; }

  /* Tabs below poster on mobile */
  .hero-tabs {
    position: relative; bottom: auto; left: auto; max-width: 100%;
    padding: .75rem 1rem; border-bottom: 1px solid var(--border);
    background: var(--surface-1); overflow-x: auto;
    scrollbar-width: none; flex-wrap: nowrap;
  }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .hero-tab { flex-shrink: 0; }
  .hero-dots { display: none; }

  /* Swipe hint arrows — always visible over the image on mobile */
  .hero-swipe-hint {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: calc(56vw - 1.2rem);
    z-index: 25; width: 2.4rem; height: 2.4rem;
    background: rgba(0,0,0,.52); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
    color: #fff; font-size: 1.6rem; line-height: 1;
    cursor: pointer; padding: 0;
  }
  [data-theme="light"] .hero-swipe-hint { background: rgba(255,255,255,.72); color: var(--text-primary); border-color: var(--border-strong); }
  .hero-swipe-prev { left: .65rem; }
  .hero-swipe-next { right: .65rem; }

  [data-theme="light"] .hero-tabs { background: var(--surface-2); border-color: var(--border); }

  .testi-card  { flex: 0 0 85vw; }
  .testi-arrow { display: none; }

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

@media (max-width: 768px) {
  .hamburger            { display: flex; }
  .nav-links,
  .nav-ticket-btn-d     { display: none; }

  /* Slightly smaller logo on very small screens */
  .nav-logo-img         { height: 50px; }

  .perf-row {
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto auto;
    gap: .35rem .75rem;
    align-items: start;
  }
  .perf-row > *:nth-child(1) { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .perf-row > *:nth-child(2) { grid-column: 2; grid-row: 1; }
  .perf-row > *:nth-child(3) { grid-column: 2; grid-row: 2; justify-self: start; margin-top: .15rem; }
  .perf-row > *:nth-child(4) { grid-column: 2; grid-row: 3; justify-self: start; margin-top: .35rem; }
  .perf-details-btn           { display: none; }

  .testi-card           { flex: 0 0 88vw; }
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; }

  /* Show detail hero stacks on mobile */
  .show-detail-hero-grid { grid-template-columns: 1fr !important; }
  .show-detail-hero-grid > :first-child { max-height: 320px; }
}

@media (max-width: 480px) {
  .slide-ctas            { flex-direction: column; align-items: flex-start; }
  .slide-ctas .btn       { width: 100%; }
}

@media (max-width: 640px) {
  .tp-inner { max-width: 95% !important; width: 95% !important; }
}
