/* ============================================================
   BASE.CSS — Jules Kuiper Pianolessen
   Gedeelde stijlen voor alle pagina's.
   Laad dit als eerste stylesheet op elke pagina.
   ============================================================ */


/* ── VARIABELEN ── */
:root {
  --ink:   #1a1208;   /* warm bijna-zwart */
  --cream: #f5f2ee;   /* achtergrond */
  --slate: #4a6b7c;   /* logo blauw */
  --sage:  #5a7a6a;   /* logo groen */
  --gold:  #c49a4a;   /* logo goud */
  --muted: #7a7060;   /* bodytekst, demped */
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}


/* ── TYPOGRAFIE ── */

/* Google Fonts worden geladen via <link> in elke HTML pagina:
   Cormorant Garamond (300,400,600 + italic) en Jost (300,400,500) */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
}

p {
  line-height: 1.75;
}

a {
  color: inherit;
}


/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3.5rem;
  background: rgba(245, 242, 238, 0.93);
  backdrop-filter: blur(6px);
}

/* Dunne schuine goudlijn onder nav — eerste jazz-gebaar */
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 30%,
    var(--slate) 70%,
    transparent 100%
  );
  transform: skewX(-1.5deg);
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}


/* ── KNOPPEN ── */

/* Donkere knop met verschoven gouden kader — de signatuurknop */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: background 0.25s;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  transform: rotate(0.8deg);
  transition: transform 0.25s;
  pointer-events: none;
}

.btn:hover { background: var(--slate); }
.btn:hover::after { transform: rotate(1.8deg) translate(2px, 2px); }

/* Lichte knop — voor gebruik op donkere achtergrond */
.btn-light {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: background 0.25s, color 0.25s;
  transform: rotate(-0.3deg);
}

.btn-light:hover {
  background: var(--gold);
  color: var(--ink);
}


/* ── GEDEELDE SECTIE-ELEMENTEN ── */

/* Klein label boven sectietitels — goud, met schuin streepje */
.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--gold);
  transform: rotate(-3deg);
  flex-shrink: 0;
}

/* Sectietitel — gedeeld formaat, kleur per context aanpasbaar */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* Bodytekst in secties */
.section-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}


/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(245, 242, 238, 0.35);
  padding: 2rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

footer a {
  color: rgba(245, 242, 238, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--gold); }


/* ── REVEAL ANIMATIE ── */
/* Voeg .reveal toe aan elk element dat zacht moet infaden bij scrollen.
   JavaScript in elk HTML-bestand voegt .visible toe via IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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


/* ── RESPONSIVE — gedeelde elementen ── */
@media (max-width: 900px) {

  nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  footer {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
