/*
Theme Name: Musicaholic Child – Nooduitgang (Concept A v9)
Theme URI: https://nooduitgang.band
Description: Child theme voor Nooduitgang – band, shows en media
Author: Nooduitgang
Template: musicaholic
Version: 1.9
*/

/* ===============================
   BASIS
   =============================== */

body {
  background-color: #0b0b0b;
}

/* ===============================
   HEADER
   =============================== */

.site-header,
.main-header,
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent !important;
  z-index: 100;
}

.site-header a,
.main-header a {
  color: #fff !important;
}

/* ===============================
   HERO – HOME
   =============================== */

.nooduitgang-hero {
  min-height: 58vh;
  background:
    linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.40)),
    url('assets/bandfoto.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 20px;
}

/* ===== TABLET & MOBIEL ===== */
@media (max-width: 768px) {
  .nooduitgang-hero {
    min-height: auto;          /* voorkomt te hoge crop */
    aspect-ratio: 5 / 4;       /* maakt hero breder */
    background-position: 50% 25%; /* focus iets omhoog */
  }
}

/* ===== KLEINE MOBIELE TOESTELLEN ===== */
@media (max-width: 480px) {
  .nooduitgang-hero {
    aspect-ratio: 4 / 3;       /* nóg iets breder */
    background-position: 50% 20%;
  }
}

.nooduitgang-hero img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.nooduitgang-hero p {
  color: #fff;
  font-size: 18px;
  margin: 10px 0 14px;
}

/* ===============================
   CTA BUTTONS (AANGEPAST + LUISTER NU)
   =============================== */

.nooduitgang-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.nooduitgang-buttons a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Boek ons */
.nooduitgang-book {
  background: #1fa14a;
  color: #fff !important;
  border: 2px solid #1fa14a;
}

.nooduitgang-book:hover {
  background: transparent;
  color: #1fa14a !important;
}

/* Shows */
.nooduitgang-shows {
  border: 2px solid #fff;
  color: #fff !important;
  background: transparent;
  opacity: 0.9;
}

.nooduitgang-shows:hover {
  background: #fff;
  color: #000 !important;
  opacity: 1;
}

/* Luister NU (linkt naar /audio) */
.nooduitgang-listen {
  background: #ff2e2e;
  color: #fff !important;
  border: 2px solid #ff2e2e;
}

.nooduitgang-listen:hover {
  background: transparent;
  color: #ff2e2e !important;
}

/* Optioneel: subtiele pulse animatie voor Luister NU */
@keyframes listen-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 46, 46, 0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 46, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 46, 0); }
}

.nooduitgang-listen {
  animation: listen-pulse 2.6s infinite;
}

/* Mobiel: iets grotere tap targets */
@media (max-width: 480px) {
  .nooduitgang-buttons a {
    padding: 14px 24px;
    font-size: 16px;
  }
}

/* ===============================
   PAGE HERO
   =============================== */

.nooduitgang-page-hero {
  min-height: 28vh;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('assets/bandfoto.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 20px;
}

.nooduitgang-page-hero h1 {
  color: #fff;
  font-size: 32px;
  margin: 0;
}

/* ===============================
   HERO – SOCIAL ICONS
   =============================== */

.hero-socials {
  margin-top: 18px;
  justify-content: center;
}

/* Iets groter in hero */
.hero-socials svg {
  width: 30px !important;
  height: 30px !important;
}

/* ===============================
   CONTENT
   =============================== */

.content-area {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 24px;
}

.content-area > * {
  margin-bottom: 18px;
}

/* ===============================
   FOOTER
   =============================== */

.nooduitgang-footer {
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 12px;
}

.footer-menu a {
  color: #fff !important;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
}

.footer-menu a:hover {
  color: #1fa14a !important;
}

/* ===============================
   SHOWS – KAARTEN + KNOPPEN
   =============================== */

.show-card {
  background: #111;
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

.show-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.show-card p {
  margin: 0.25rem 0;
  color: #ccc;
}

/* Binnenkant card: tekst + poster */
.show-content {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 1rem;
  align-items: start;
}

.show-text {
  flex: 1 1 auto;
}

.show-poster {
  flex: 0 0 140px;
  max-width: 140px;
}

.show-poster img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Buttons altijd zichtbaar */
.show-card .wp-block-buttons {
  display: flex !important;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* Mobiel: poster onder tekst */
@media (max-width: 640px) {
  .show-content {
    grid-template-columns: 1fr;
  }

  .show-poster {
    max-width: 100%;
  }
}

/* ===============================
   BANDPAGINA – GRID (DEFINITIEF)
   =============================== */

/* Grid werkt met én zonder inner container */
.wp-block-group.band-grid,
.wp-block-group.band-grid > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Grid breder dan tekst */
.wp-block-group.band-grid {
  width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards vullen kolom */
.wp-block-group.band-grid > .wp-block-group,
.wp-block-group.band-grid > .wp-block-group__inner-container > .wp-block-group {
  width: 100%;
  display: block !important;
}

/* Bandfoto’s – groter door bredere grid */
.wp-block-group.band-card img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Mobiel: 1 kolom */
@media (max-width: 640px) {
  .wp-block-group.band-grid,
  .wp-block-group.band-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   FOOTER – SOCIAL ICONS FIX
   ========================================= */

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Forceer SVG zichtbaarheid */
.footer-socials svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  fill: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hover kleur */
.footer-socials a:hover svg {
  fill: #1fa14a !important;
}

/* ===============================
   EPK – DOWNLOAD BUTTONS
   =============================== */

.epk-buttons {
  gap: 12px;
}

.epk-buttons .wp-block-button__link {
  font-weight: 600;
}

/* ===== Desktop: menu altijd uitgeklapt ===== */
@media (min-width: 768px) {

  /* Hamburger weg */
  .menu-toggle {
    display: none !important;
  }

  /* Navigatie zichtbaar */
  .main-navigation {
    display: block !important;
  }

  /* Menu UL forceren */
  .main-navigation ul,
  .main-navigation ul ul {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
  }

  /* Horizontaal menu */
  .main-navigation ul {
    justify-content: center;
    gap: 2rem;
  }
}

/* Contact Form 7 – select veld correct zichtbaar */
.wpcf7 select {
  color: #fff;
  background-color: #111;
  border: 1px solid rgba(255,255,255,.25);
}

.wpcf7 select option {
  color: #000;
  background: #fff;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  min-height: 44px;
}

/* Grid voor de show cards */
.shows-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* default: 1 kolom */
}

/* Desktop: 2 kolommen */
@media (min-width: 1024px) {
  .shows-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
