/* sonicevents.gr — static rebuild (replaces WordPress + Divi) */

/* Commissioner — free, SIL Open Font License (Google Fonts). Static files in /assets/fonts */
@font-face { font-family: "Commissioner"; font-weight: 100; font-display: swap; src: url("/assets/fonts/Commissioner-Thin.ttf") format("truetype"); }
@font-face { font-family: "Commissioner"; font-weight: 200; font-display: swap; src: url("/assets/fonts/Commissioner-ExtraLight.ttf") format("truetype"); }
@font-face { font-family: "Commissioner"; font-weight: 300; font-display: swap; src: url("/assets/fonts/Commissioner-Light.ttf") format("truetype"); }
@font-face { font-family: "Commissioner"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Commissioner-Bold.ttf") format("truetype"); }

:root {
  --blue: #295494;
  --pink: #cc1a7a;
  --red: #dd242e;
  --orange: #d47728;
  --sky: #2ea3f2;
  --text: #666;
  --muted: #828282;
  --ink: #1d1d1b;
  --lavender: #efedf5;
  --white: #fff;
  --font: "Commissioner", "Century Gothic", "Avenir Next", Helvetica, Arial, sans-serif;
  --bar-h: 88px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 100; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-weight: 200; margin: 0 0 .5em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.ambient, .logo--dark { display: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Top bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--bar-h); }
.bar__logo img { width: 200px; height: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-family: var(--font); font-weight: 300; font-size: 13px; letter-spacing: .08em; text-decoration: none; color: var(--ink); transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--sky); }
.nav .nav__lang { color: var(--sky); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 960px) {
  :root { --bar-h: 72px; }
  .bar__logo img { width: 150px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--bar-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); box-shadow: 0 8px 16px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav a { display: block; width: 100%; padding: 14px 24px; border-top: 1px solid #eee; font-size: 14px; }
  .bar.is-open .nav { max-height: 420px; }
  .bar.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .bar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .bar.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - var(--bar-h)); min-height: 420px; max-height: 900px; display: grid; place-items: center; overflow: hidden; background: #111; }
.hero video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 9vh, 100px); }
.hero__logo { width: clamp(180px, 22vw, 250px); height: auto; }
.hero h1 { position: relative; z-index: 1; color: var(--white); font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; text-align: center; padding: 0 24px; max-width: 900px; }

/* ---------- Content sections ---------- */
.content { background: var(--lavender); padding: 40px 0 80px; }
.block { padding: 70px 0; }
.block .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.label { font-size: 14px; letter-spacing: .02em; color: #000; text-align: right; margin: 0 0 14px; }
.label--spaced { font-family: var(--font); font-weight: 300; font-size: 11px; letter-spacing: 1.2em; text-align: left; }
.caption { font-weight: 300; font-size: 13px; color: var(--muted); text-align: right; margin-top: 10px; }
.block h2 { font-size: clamp(34px, 4.6vw, 55px); }
.block figure { margin: 0 0 28px; }
.block--about h2 { color: var(--blue); }
.block--music h2 { color: var(--pink); text-align: right; }
.block--sound h2 { color: var(--red); }
.block--rent h2 { color: var(--orange); }

/* Rental slider */
.slider { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.slider__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.slider__slide.is-active { opacity: 1; }
.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.7); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }
.slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--white); }

/* Equipment lists */
.block .equipment { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-top: 60px; align-items: start; }
.equipment h3 { font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--text); margin: 0 0 14px; text-transform: uppercase; }
.equipment li { font-size: 14px; line-height: 26px; }

/* ---------- Contact & footer ---------- */
.contact { padding: 80px 0; text-align: center; background: var(--white); }
.contact h2 { font-size: 14px; font-weight: 300; letter-spacing: .3em; color: var(--ink); margin-bottom: 24px; }
.contact p { font-size: 18px; margin: 0 0 8px; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--sky); }
.social { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); color: var(--blue); transition: background .2s, color .2s; }
.social a:hover { background: var(--blue); color: var(--white); }
.social svg { width: 20px; height: 20px; }
.footer { background: var(--lavender); color: var(--muted); font-size: 13px; padding: 28px 0; text-align: center; }
.footer img { width: 120px; margin: 0 auto 10px; }
.footer p { margin: 4px 0; }
.footer a { color: inherit; }
.footer a:hover { color: var(--sky); }
.footer__legal { font-size: 12px; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 90px; }
.legal .wrap { max-width: 72ch; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); color: var(--ink); }
.legal h2 { font-size: 22px; font-weight: 300; color: var(--ink); margin: 2em 0 .5em; }
.legal p, .legal li { font-weight: 300; }
.legal ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--sky); }
.legal .updated { color: var(--muted); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slider__slide { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .block { padding: 40px 0; }
  .block .wrap { grid-template-columns: 1fr; gap: 24px; }
  .block--music h2 { text-align: left; }
  .label { text-align: left; }
  .block .equipment { grid-template-columns: 1fr 1fr; gap: 32px; }
  .equipment figure { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .block .equipment { grid-template-columns: 1fr; }
}
