/* sonicevents.gr — "night" theme. Loaded after site.css; remove the <link> to go back to the light theme. */

@property --glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff4fa3;
}

:root {
  --night: #0e0b16;
  --blue-b: #6f9bff;
  --pink-b: #ff4fa3;
  --red-b: #ff5a5f;
  --orange-b: #ffa24c;
  --text: #cfc9dd;
  --muted: #9e97b3;
  --ink: #f6f3fc;
  --lavender: transparent;
  --white: var(--night);
}

body {
  background: var(--night);
  color: var(--text);
  font-weight: 200; /* one step up from the light theme: thin white text on dark reads thinner */
  --glow: var(--pink-b);
  transition: --glow 1.4s ease;
}
body[data-glow="about"]   { --glow: var(--blue-b); }
body[data-glow="music"]   { --glow: var(--pink-b); }
body[data-glow="sound"]   { --glow: var(--red-b); }
body[data-glow="rent"]    { --glow: var(--orange-b); }
body[data-glow="contact"] { --glow: var(--blue-b); }

::selection { background: var(--glow); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* ---------- Ambient background: blurred party + moving stage light ---------- */
.ambient { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient::before {
  content: ""; position: absolute; inset: -60px;
  background: url("/assets/img/music-crowd.jpg") center / cover no-repeat;
  filter: blur(44px) brightness(.36) saturate(1.5);
}
.ambient__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 85% 15%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 70%),
    radial-gradient(50% 40% at 10% 85%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  mix-blend-mode: screen;
}

/* ---------- Header ---------- */
.logo--light { display: none; }
.logo--dark { display: block; }
.bar {
  background: rgba(14, 11, 22, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav a { color: var(--ink); }
.nav a:hover, .nav a:focus-visible { color: var(--glow); }
.nav .nav__lang { color: var(--glow); }
.nav-toggle span { background: var(--ink); }
@media (max-width: 960px) {
  .nav { background: rgba(14, 11, 22, .94); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
  .nav a { border-top-color: rgba(255, 255, 255, .07); }
}

/* ---------- Hero: the one big moment ---------- */
.hero { background: var(--night); }
/* video at full brightness, as on the original site; only the last strip fades into the page */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 82%, var(--night) 100%);
}
.hero__logo { animation: focus-in 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 {
  color: #fff;
  font-weight: 100;
  font-size: clamp(40px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 14ch;
  text-shadow: 0 0 40px rgba(255, 255, 255, .28), 0 0 90px color-mix(in srgb, var(--glow) 45%, transparent);
  animation: focus-in 1.8s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes focus-in {
  from { opacity: 0; filter: blur(14px); letter-spacing: .08em; }
  to   { opacity: 1; filter: blur(0); letter-spacing: -.02em; }
}

/* ---------- Content sections ---------- */
.content { background: transparent; }
.block h2 { text-shadow: 0 0 34px color-mix(in srgb, currentColor 45%, transparent); }
.block--about h2  { color: var(--blue-b); }
.block--music h2  { color: var(--pink-b); }
.block--sound h2  { color: var(--red-b); }
.block--rent h2   { color: var(--orange-b); }
.block--about .label  { color: var(--blue-b); }
.block--music .label  { color: var(--pink-b); }
.block--sound .label  { color: var(--red-b); }
.block--rent .label   { color: var(--orange-b); }
.caption { color: var(--muted); }

/* photos spill their section's light onto the room */
.block figure img, .slider {
  border-radius: 3px;
  box-shadow: 0 30px 90px -25px color-mix(in srgb, var(--glow) 60%, transparent);
  filter: contrast(1.05) saturate(1.1);
}
.slider { background: #1a1524; }
.slider__btn { background: rgba(14, 11, 22, .6); color: var(--ink); }
.slider__dots button { background: rgba(255, 255, 255, .35); }
.slider__dots button[aria-current="true"] { background: var(--glow); }

.equipment h3 { color: var(--orange-b); }
.equipment li { color: var(--text); }

/* ---------- Contact: the finale ---------- */
.contact { background: transparent; padding: 120px 0 100px; }
.contact h2 { color: var(--muted); }
.contact p:first-of-type a {
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 100;
  color: var(--ink);
  text-shadow: 0 0 40px color-mix(in srgb, var(--glow) 55%, transparent);
}
.contact a:hover { color: var(--glow); }
.social a { background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: var(--ink); }
.social a:hover { background: var(--glow); border-color: var(--glow); color: #fff; }

.footer a:hover, .legal a { color: var(--glow); }
.footer { background: transparent; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
  .hero h1, .hero__logo { animation: none; }
}
