/* =============================================================
   Cheyenne Krijgsman — Responsive Rules
   ============================================================= */

/* -------- Large desktop tighten -------- */
/* Sinds "Boeken" in het menu staat (10 links) is de standaardafstand van 34px tot ~1360px te breed */
@media (max-width: 1360px) {
  .nav-menu { gap: 28px; }
}
@media (max-width: 1200px) {
  .release-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 3 200px; }
  /* Small laptops: a little less space between menu links so the header fits on one line */
  .nav-menu { gap: 26px; }
}
/* Net boven het hamburger-menu: nog krapper, anders past het menu (9 links + pijltje bij Zangles) niet.
   "Official" naast het logo valt hier weg, net als op telefoon. */
@media (min-width: 1025px) and (max-width: 1120px) {
  .nav-menu { gap: 14px; }
  .nav-link { font-size: 0.88rem; }
  .nav-logo-tagline { display: none; }
}

/* -------- Tablet -------- */
@media (max-width: 1024px) {
  :root { --header-height: 72px; }

  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-glass);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }
  .nav-menu.open { max-height: 820px; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 16px 24px; }
  .nav-link::after { display: none; }
  /* Submenu: altijd open, ingesprongen onder "Zangles" */
  .nav-has-sub > .nav-link { display: block; }
  .nav-has-sub > .nav-link::before { display: none; }
  .nav-sub {
    position: static;
    min-width: 0;
    margin: -8px 0 8px;
    padding: 0 0 0 24px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-sub::before { display: none; }
  .nav-sub-link { padding: 10px 24px; border-left: 2px solid var(--border-glass); border-radius: 0; }

  .nav-toggle { display: flex; order: 3; }
  .nav-controls { order: 2; }

  .hero-top-row { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
  .hero-top-row .hero-single-info,
  .hero-top-row .hero-shows-info { padding: 0; }
  .hero-shows-info { text-align: center; }
  .hero-single-info { text-align: left; }
  /* Column layout: basis would become a height, so size the banner by width instead */
  .hero-top-row .live-status-wrap { flex: none; width: 100%; max-width: 380px; }
  .hero-shows-list li { justify-content: center; }
  .hero-stage { grid-template-columns: 1fr; justify-items: center; row-gap: 20px; }
  .hero-headline-left, .hero-headline-right { margin: 0; text-align: center; align-items: center; }
  .hero-headline-left { order: 1; }
  .hero-photo { order: 2; width: 100%; max-width: 380px; }
  .hero-headline-right { order: 3; }
  .hero-tagline-row { flex-direction: column; align-items: center; text-align: center; }
  .hero-tagline { max-width: 100%; }
  .hero-press { justify-content: center; }
  .hero-scroll { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-frame { max-width: 420px; margin: 0 auto; }

  .release-grid { grid-template-columns: repeat(2, 1fr); }
  .tiktok-grid { grid-template-columns: repeat(2, 1fr); }
  .embed-grid { grid-template-columns: 1fr; }
  .masonry-grid { columns: 2 220px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .footer-links, .footer-social { justify-content: center; }
}

/* -------- Mobile -------- */
@media (max-width: 700px) {
  .container { padding: 0 18px; }

  /* Compact header so logo, language switch, theme toggle and menu button fit on one line */
  .navbar { padding: 0 16px; gap: 10px; }
  .nav-controls { gap: 8px; }
  .lang-switch { padding: 6px 10px; gap: 4px; }
  .theme-toggle, .nav-toggle { width: 36px; height: 36px; }
  .section { padding: 80px 0; }

  .hero-headline { font-size: clamp(2.1rem, 13vw, 3.2rem); }
  .hero-cta { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-cta .btn-primary { justify-content: center; width: 100%; }
  .hero-cta .btn-secondary { text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .release-grid { grid-template-columns: 1fr; }
  .tiktok-grid { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }

  .media-item, .media-item.has-link { grid-template-columns: 90px 1fr; padding: 18px; gap: 16px; }
  .media-link { grid-column: 1 / -1; justify-self: center; }

  .event-card { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .event-date { border-right: none; border-bottom: 1px solid var(--border-glass); padding-right: 0; padding-bottom: 14px; }
  .event-ticket { justify-self: center; }

  .countdown { gap: 14px; }
  .countdown-unit { min-width: 56px; }

  .contact-form { padding: 26px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { bottom: 82px; right: 23px; width: 44px; height: 44px; }
}

/* -------- Small mobile -------- */
@media (max-width: 480px) {
  .nav-logo-tagline { display: none; }
}

@media (max-width: 420px) {
  .nav-logo-main { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .hero-press-logos { gap: 22px; }
}
