/* ============================================
   Festipeut — festipeut.nl
   Festival luxe · violet / pink / amber gradients
   ============================================ */

:root {
  --bg: #0e081c;
  --bg-2: #160d2b;
  --violet: #7c3aed;
  --pink: #ec4899;
  --amber: #f59e0b;
  --ink: #f3edfb;
  --muted: #a795c4;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(120deg, var(--violet), var(--pink) 50%, var(--amber));
  --serif: "Marcellus", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--pink); color: #fff; }

/* ---------- Backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; background: var(--bg); overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: drift 24s ease-in-out infinite alternate;
}

.blob.b1 { width: 640px; height: 640px; top: -200px; left: -160px; background: radial-gradient(circle, #3b1d7a, transparent 65%); }
.blob.b2 { width: 560px; height: 560px; top: 25%; right: -220px; background: radial-gradient(circle, #6b1d4e, transparent 65%); animation-delay: -9s; animation-duration: 30s; }
.blob.b3 { width: 700px; height: 700px; bottom: -280px; left: 30%; background: radial-gradient(circle, #52340b, transparent 60%); animation-delay: -18s; animation-duration: 36s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.18); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(14, 8, 28, 0.45);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.scrolled { background: rgba(14, 8, 28, 0.85); border-bottom-color: var(--glass-border); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand img { height: 42px; width: 42px; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-name span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.main-nav { display: flex; gap: 30px; }

nav.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 2px;
  transition: color 0.25s;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav.main-nav a:hover { color: var(--ink); }

nav.main-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: -60px 0;
  background-image: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=2000&q=75');
  background-size: cover;
  background-position: center;
  animation: heroZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(124, 58, 237, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(14, 8, 28, 0.72) 0%, rgba(14, 8, 28, 0.45) 45%, var(--bg) 100%);
}

#sparkles { position: absolute; inset: 0; z-index: 1; opacity: 0.7; }

.hero-inner { position: relative; z-index: 3; }

.hero-emblem { position: relative; width: 190px; height: 190px; margin: 0 auto 26px; }

.hero-emblem .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 0 42%, var(--violet) 52%, var(--amber) 62%, transparent 72% 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 10s linear infinite;
}

.hero-emblem .ring.r2 {
  inset: -15px;
  padding: 1px;
  background: conic-gradient(from 200deg, transparent 0 55%, rgba(236, 72, 153, 0.9) 70%, transparent 82% 100%);
  animation: spin 15s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-emblem img {
  position: absolute;
  inset: 18px;
  width: auto; height: auto;
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.4));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.grad-text {
  background: linear-gradient(120deg, #c084fc, var(--pink) 40%, var(--amber) 70%, #c084fc);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer { to { background-position: 220% center; } }

.hero .motto {
  font-size: 0.92rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #cbb8e8;
  margin-bottom: 30px;
}

.hero .lede {
  max-width: 560px;
  margin: 0 auto 44px;
  color: #d5c8ea;
  font-size: 1.15rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 16px 46px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  background-size: 170% auto;
  transition: background-position 0.4s, box-shadow 0.4s, transform 0.2s;
  box-shadow: 0 10px 36px rgba(236, 72, 153, 0.4);
}

.btn:hover {
  background-position: right center;
  box-shadow: 0 14px 50px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--amber);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track { display: inline-block; animation: marquee 26s linear infinite; }

.marquee span {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 32px;
}

.marquee span b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { position: relative; padding: 110px 0; }

.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2.title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 22px;
}

.center-text { max-width: 620px; margin: 0 auto; text-align: center; color: #c4b4de; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ---------- Cards ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 46px 34px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5); }

.card:hover::before { opacity: 1; }

.card .icon {
  width: 58px; height: 58px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(245, 158, 11, 0.25));
  border: 1px solid var(--glass-border);
}

.card .icon svg { width: 27px; height: 27px; stroke: var(--amber); fill: none; stroke-width: 1.8; }

.card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Image cards ---------- */
.img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

.img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(124, 58, 237, 0.28), transparent 45%, rgba(14, 8, 28, 0.75) 100%);
  pointer-events: none;
}

.img-card img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 18s ease-in-out infinite alternate;
  transition: transform 0.6s ease;
}

@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, 1.5%); }
}

.img-card:hover img { transform: scale(1.14); animation-play-state: paused; }

.img-card .img-label {
  position: absolute;
  left: 26px; bottom: 22px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.img-card .img-label::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin-top: 8px;
  background: var(--grad);
  border-radius: 2px;
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.split .kicker, .split h2.title { text-align: left; }

.split p { color: #c4b4de; margin-bottom: 18px; }

.img-stack { position: relative; height: 470px; }

.img-stack .img-card.back {
  position: absolute;
  top: 0; right: 0;
  width: 78%; height: 350px;
  transform: rotate(2.5deg);
}

.img-stack .img-card.front {
  position: absolute;
  bottom: 0; left: 0;
  width: 60%; height: 290px;
  transform: rotate(-3deg);
  z-index: 3;
  animation: float 9s ease-in-out infinite;
}

/* beam */
.beam {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.beam::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 160px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
  filter: blur(1px);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.8);
  animation: beam 5s ease-in-out infinite;
}

@keyframes beam {
  0% { left: -10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- Quote band ---------- */
.quote-band { position: relative; padding: 130px 0; text-align: center; overflow: hidden; }

.quote-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(236, 72, 153, 0.16), transparent 65%);
}

.quote-band blockquote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 18px;
}

.quote-band cite {
  position: relative;
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  padding: 30px 0 140px;
}

.contact .value { font-size: 1.4rem; font-weight: 300; margin-top: 10px; }

.contact .value a {
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 1px solid rgba(245, 158, 11, 0.45);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(14, 8, 28, 0.75);
  padding: 46px 0 40px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand img { height: 38px; width: 38px; }

.footer-brand .name {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0.18em;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-motto {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-meta { text-align: right; line-height: 2; }

.footer-meta a { color: #d5c8ea; text-decoration: none; }

.footer-meta a:hover { color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .trio, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .img-stack { height: 380px; }
  .site-header .container { height: auto; flex-direction: column; padding: 12px 24px; gap: 8px; }
  .hero { padding-top: 150px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
