/*
Theme Name: BvB AudioVisueel
Theme URI: https://bvbav.nl
Author: BvB AudioVisueel
Description: Schoon, licht custom thema voor BvB AudioVisueel. Geen page builders, geen overbodige plugins.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: bvbav
*/

:root {
  --teal: #008888;
  --teal-dark: #006a6a;
  --ink: #222222;
  --muted: #6b7280;
  --line: #e7eaec;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --maxw: 1180px;
  --radius: 14px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 2px solid var(--teal); color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 20px; letter-spacing: .01em; color: var(--ink); }
.site-logo img { width: 44px; height: 44px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--teal); }
.header-contact { display: flex; align-items: center; gap: 18px; }
.header-contact .phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Toegankelijkheid: visueel verborgen, wel leesbaar voor screenreaders/zoekmachines */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Section heads (shared) */
.section-title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px; text-align: center; }
.section-title .accent { color: var(--teal); }
.section-sub { color: var(--muted); font-size: 18px; text-align: center; max-width: 680px; margin: 0 auto; }

/* Hero slider — full screen */
.hero-slider { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 1s ease; pointer-events: none;
  transform: scale(1.04);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; transform: scale(1); transition: opacity 1s ease, transform 7s ease; }
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.75) 100%);
}
.hero-slide__content { position: relative; padding-bottom: 14vh; }
.hero-slide__title {
  color: #fff; font-size: clamp(44px, 9vw, 110px); line-height: .98; margin: 0 0 14px;
  letter-spacing: -.01em; text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.hero-slide__sub {
  color: #fff; font-size: clamp(16px, 2.4vw, 24px); margin: 0; font-weight: 300;
  position: relative; padding-left: 18px;
}
.hero-slide__sub::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 4px; background: var(--teal); }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(4px); transition: background .2s ease;
}
.hero-slider__arrow:hover { background: var(--teal); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }
.hero-slider__dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-slider__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .2s ease; }
.hero-slider__dot.is-active { background: #fff; }

/* Intro + blocks */
.intro { padding: 96px 0; }
.intro__head { max-width: 720px; margin: 0 auto 60px; }
.intro__blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; max-width: 920px; margin: 0 auto; }
.block { text-align: center; }
.block__icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px;
  background: rgba(0,136,136,.08); display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 38px;
}
.block h3 { font-size: 24px; margin: 0 0 12px; }
.block p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* Showcase (Amphion) — dark full-width band */
.showcase { position: relative; padding: 120px 0; text-align: center; color: #fff; overflow: hidden; background: var(--ink); }
.showcase__bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #1b3a3a 0%, var(--ink) 70%); }
.showcase__inner { position: relative; max-width: 720px; }
.showcase__eyebrow { color: var(--teal); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
.showcase__brand { color: #fff; font-size: clamp(48px, 11vw, 130px); letter-spacing: .14em; margin: 10px 0 18px; line-height: 1; }
.showcase__text { color: rgba(255,255,255,.78); font-size: 18px; margin: 0 auto 30px; max-width: 540px; }

/* Page hero (subpagina's) */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.8) 100%); }
.page-hero__content { position: relative; padding: 0 24px 9vh; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(48px, 9vw, 96px); line-height: 1; margin: 6px 0 20px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: clamp(16px, 2vw, 19px); margin: 0; max-width: 640px; }
.eyebrow-light { color: var(--teal); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; }

/* Split (afbeelding + tekst) */
.split { padding: 96px 0; }
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__body p { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.section-title--left { text-align: left; margin-bottom: 18px; }

/* Band (donkere CTA-strook) */
.band { position: relative; padding: 110px 0; text-align: center; color: #fff; overflow: hidden; background: var(--ink); }
.band__bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #1b3a3a 0%, var(--ink) 70%); }
.band__inner { position: relative; max-width: 680px; }
.band h2 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin: 10px 0 18px; }
.band p { color: rgba(255,255,255,.78); font-size: 17px; margin: 0 auto 30px; }
.band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--ghost-light { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.page-hero--short { min-height: 46vh; }

/* Productrooster (Amphion Studio) */
#producten { scroll-margin-top: 90px; }
.products { padding: 64px 0; }
.products + .products { padding-top: 0; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.product {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 24px; transition: box-shadow .2s ease, transform .2s ease;
}
.product:hover { box-shadow: 0 18px 40px -26px rgba(0,0,0,.3); transform: translateY(-3px); }
.product__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 16px;
  border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.product__media img,
.product__media .product__video { width: 100%; height: 100%; object-fit: contain; display: block; }
.product__video { background: #fff; }
.product__360 {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(0,136,136,.92); padding: 3px 8px; border-radius: 20px;
  pointer-events: none; transition: opacity .2s ease;
}
.product:hover .product__360 { opacity: 0; }
.product__media--ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #eef2f2 0%, #dde7e7 100%); }
.spk { position: relative; width: 46%; height: 78%; background: var(--ink); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.06); }
.spk__woofer { width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a3a3a 0%, #111 70%); box-shadow: 0 0 0 3px rgba(0,136,136,.5); }
.spk__tweeter { width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #555 0%, #222 70%); box-shadow: 0 0 0 2px rgba(0,136,136,.5); }
.product--noimg { }
.product__name { font-size: 24px; color: var(--ink); padding: 0 8px; }
.product__spec { color: var(--teal); font-size: 13px; font-weight: 500; letter-spacing: .02em; padding: 0 8px; }
.product__desc { color: var(--muted); margin: 6px 0 0; font-size: 15px; padding: 0 8px; }

/* Clients */
.clients { padding: 96px 0; background: var(--bg-soft); text-align: center; }
.clients .section-sub { margin-bottom: 52px; }

/* Logo-carousel — max 4 tegelijk zichtbaar, doorlopend */
.logo-carousel { overflow: hidden; position: relative; }
.logo-carousel::before, .logo-carousel::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.logo-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.logo-carousel::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.logo-carousel__track {
  display: flex; align-items: center;
  width: calc(100% * var(--logo-count) / 4);
  animation: bvbav-logo-scroll 30s linear infinite;
}
.logo-carousel:hover .logo-carousel__track { animation-play-state: paused; }
.logo-carousel__item { flex: 0 0 calc(100% / var(--logo-count)); display: flex; align-items: center; justify-content: center; padding: 0 28px; }
.logo-carousel__item img {
  max-height: 58px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .55; transition: filter .25s ease, opacity .25s ease;
}
.logo-carousel__item img:hover { filter: grayscale(0); opacity: 1; }
@keyframes bvbav-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-carousel__track { animation: none; }
}

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { width: 150px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 16px; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; font-size: 15px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); text-align: center; }

/* Responsive */
@media (max-width: 860px) {
  .intro__blocks, .site-footer__grid, .split__inner { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .split, .page-hero { }
  .split__media { order: -1; }
  .logo-carousel__track { width: calc(100% * var(--logo-count) / 2); }
  .intro { padding: 64px 0; }
  .showcase { padding: 80px 0; }
  .hero-slide__content { padding-bottom: 10vh; }
  .hero-slider__arrow { width: 44px; height: 44px; font-size: 24px; }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .header-contact .phone { display: none; }
}
