/* ═══════════════════════════════════════════════════════════
   OASIS — Stylesheet
   Lettertypes: Dune_Rise.otf (titels) + Lucida Bright (body)
═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Dune_Rise';
  src: url('Dune_Rise.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold:        #c8a96e;
  --gold-light:  #e8d4a2;
  --sand:        #f2e8d5;
  --dark:        #0a1520;
  --dark-mid:    #0d1e2e;
  --dark-warm:   #0e1f30;
  --text:        #d6c9b0;
  --text-muted:  #8a7a65;
  --overlay:     rgba(8, 5, 2, 0.65);

  /* Header kleuren (wit thema) */
  --header-bg:       rgba(255, 255, 255, 0.97);
  --header-text:     #1a2a3a;
  --header-border:   rgba(26, 42, 58, 0.12);

  --font-title:  'Dune_Rise', 'Trajan Pro', serif;
  --font-body:   'Lucida Bright', 'Georgia', serif;

  --nav-h:       76px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }


/* ═══════════════════════════════════════════════════════════
   HEADER — wit thema
═══════════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease);
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.14);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.38em;
  color: var(--header-text);
  text-transform: uppercase;
  cursor: default;
  user-select: none;
}

/* Rechter kolom: hamburger + mute */
.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

/* ─── Hamburger ─────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), width 0.3s var(--ease), background 0.3s;
  transform-origin: center;
}

.hamburger.open span { background: var(--sand); }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─── Nav-menu (fullscreen overlay) ─────────────────────── */
.nav-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 120px;
  background: rgba(10, 21, 32, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 150;
}

.nav-menu.open {
  opacity: 1;
  pointer-events: all;
}

.nav-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.nav-menu ul li {
  margin: 0.7rem 0;
  overflow: hidden;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--sand);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Beheer-knop in nav */
.nav-admin-item {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,169,110,0.15);
}

.nav-admin-btn {
  background: none;
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.nav-admin-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ─── Mute knop ─────────────────────────────────────────── */
.mute-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 42, 58, 0.08);
  border: 1px solid rgba(26, 42, 58, 0.22);
  border-radius: 50%;
  color: rgba(26, 42, 58, 0.7);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s var(--ease);
  flex-shrink: 0;
}

.mute-btn:hover {
  background: rgba(26, 42, 58, 0.14);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.1);
}

.mute-btn.unmuted {
  background: rgba(200, 169, 110, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

#mute-icon {
  width: 15px;
  height: 15px;
  display: block;
  overflow: visible;
  pointer-events: none;
}

/* ─── Admin inlog overlay ───────────────────────────────── */
#admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 3, 1, 0.88);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#admin-overlay-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 3rem 2.5rem 2.5rem;
  background: rgba(16, 12, 8, 0.97);
  border: 1px solid rgba(200,169,110,0.2);
  text-align: center;
  animation: slideUp 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

#admin-overlay-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
  line-height: 1;
}
#admin-overlay-close:hover { color: var(--gold); }

.admin-overlay-logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.admin-overlay-sub {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

#admin-overlay-box label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 0.4rem;
}

#overlay-pw {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
  transition: border-color 0.25s;
}
#overlay-pw:focus { border-color: rgba(200,169,110,0.6); }

.admin-overlay-error {
  font-size: 0.8rem;
  color: #c0392b;
  min-height: 1.2em;
  margin-bottom: 0.75rem;
}

.admin-overlay-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}
.admin-overlay-btn:hover { background: var(--gold); color: var(--dark); }


/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero-video-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,5,2,0.4) 0%, rgba(8,5,2,0.15) 40%, rgba(8,5,2,0.6) 100%);
}

#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.site-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 12vw, 9rem);
  letter-spacing: 0.4em;
  color: var(--sand);
  text-transform: uppercase;
  line-height: 1;
  text-shadow:
    0 0 80px rgba(200, 169, 110, 0.4),
    0 2px 40px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.25em;
  color: var(--sand);
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--gold);
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
}

.hero-cta:hover { color: var(--dark); }
.hero-cta:hover::before { transform: translateX(0); }
.hero-cta span, .hero-cta { position: relative; z-index: 1; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.6;
  animation: bounce 2s infinite var(--ease);
}


/* ═══════════════════════════════════════════════════════════
   PARALLAX SECTIES
═══════════════════════════════════════════════════════════ */
.parallax-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: rgba(10, 21, 32, 0.92);
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.18;
}

#bg-de-film        { background-color: #0a2035; }
#bg-de-makers      { background-color: #051828; }
#bg-the-making-of  { background-color: #0c2240; }
#bg-nieuws         { background-color: #081520; }
#bg-agenda         { background-color: #071018; }

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,5,2,0.6) 0%,
    rgba(8,5,2,0.0) 50%,
    rgba(8,5,2,0.6) 100%
  );
}

.parallax-section.alt {
  background: rgba(14, 31, 48, 0.94);
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  padding: 7rem 2rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.section-inner h2 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--sand);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.section-inner p {
  font-size: 0.9rem;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  line-height: 1.9;
}


/* ─── De Makers ─────────────────────────────────────────── */
.makers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: 2.5rem;
  margin-top: 2.5rem;
  justify-content: start;
}

.maker-card {
  text-align: center;
}

.maker-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  background-color: var(--dark-warm);
  border: 1px solid rgba(200,169,110,0.2);
  margin-bottom: 1rem;
  filter: grayscale(40%);
  transition: filter 0.4s var(--ease);
}

.maker-card:hover .maker-img { filter: grayscale(0%); }

.maker-card h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.25rem;
}

.maker-card p {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Tekst onder de makers-kaarten */
.makers-tekst {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,169,110,0.15);
  max-width: 700px;
}

.makers-tekst p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}


/* ─── Nieuws ─────────────────────────────────────────────── */
.nieuws-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nieuws-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(200,169,110,0.15);
  transition: border-color 0.3s var(--ease);
}

.nieuws-item:first-child { border-top: 1px solid rgba(200,169,110,0.15); }
.nieuws-item:hover { border-color: rgba(200,169,110,0.4); }

.nieuws-item time {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.5rem;
}

.nieuws-item h3 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--sand);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.nieuws-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}


/* ─── Agenda ─────────────────────────────────────────────── */
.agenda-wrap {
  margin-top: 2.5rem;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.agenda-table thead tr {
  border-bottom: 1px solid rgba(200,169,110,0.4);
}

.agenda-table th {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: normal;
  padding: 0 1.5rem 0.9rem 0;
  text-align: left;
  white-space: nowrap;
}

.agenda-table tbody tr {
  border-bottom: 1px solid rgba(200,169,110,0.1);
  transition: background 0.25s;
}

.agenda-table tbody tr:hover {
  background: rgba(200,169,110,0.05);
}

.agenda-table td {
  padding: 1.2rem 1.5rem 1.2rem 0;
  color: var(--text);
  vertical-align: middle;
}

.agenda-table td.ag-datum {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.agenda-table td.ag-tijd {
  color: var(--sand);
  font-size: 0.88rem;
  white-space: nowrap;
}

.agenda-table td.ag-locatie a {
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  transition: color 0.25s, border-color 0.25s;
}

.agenda-table td.ag-locatie a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.agenda-table td.ag-kosten {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.85rem;
}

/* Geen events melding */
.agenda-leeg {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(126,200,227,0.15);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  opacity: 0.75;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}


/* ═══════════════════════════════════════════════════════════
   ANIMATIES
═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  #site-header { padding: 0 1.5rem; }
  .logo-icon   { height: 40px; }
  .logo-text   { font-size: 1.2rem; }

  .section-inner { padding: 5rem 1.5rem; }

  .makers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .agenda-table th:last-child,
  .agenda-table td:last-child { display: none; } /* kosten verbergen op mobiel */
}

@media (max-width: 480px) {
  .site-title  { letter-spacing: 0.15em; }
  .logo-text   { display: none; } /* enkel logo-icoon op klein scherm */
  .makers-grid { grid-template-columns: 1fr 1fr; }
}
