
:root {
  --accent: #FF6920;
    --primary: #921C7F;
  --primary-dark: #3A0B33;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f5f7; /* wit */
  color: #1a1a1a; /* donker voor leesbaarheid */
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

nav .logo {
  font-family: 'Arial', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
}

nav a.nav-btn {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a.nav-btn:hover {
  background: #d44e14;
}

.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  /* Zorg dat de afronding van de hero behouden blijft */
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  
  /* VERWIJDER de border-bottom: */
  border-bottom: none !important; 
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(58,11,51,0.2), rgba(58,11,51,0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.hero-overlay h1 {
  font-family: 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.hero-overlay a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  width: fit-content;
}

.hero-overlay a:hover {
  background: #d44e14;
}

/* CONTENT */
main {
  max-width: 720px;
  margin: -80px auto 0 auto; /* trekt omhoog */
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;

  position: relative;
  z-index: 2; /* boven hero */
}

.section h2 {
  font-family: 'Arial', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.section p {
  line-height: 1.7;
  color: #333;
}

.section a {
  color: var(--accent);
}

.section a:hover {
  color: var(--accent);
}

/* AUDIO PLAYER */

#nieuwste h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
}

audio {
  width: 100%;
  accent-color: var(--primary);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer img {
  height: 48px;
}

footer a {
  color: #CA84BF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--accent);
}

footer p {
  font-size: 0.8rem;
  color: #CA84BF;
}

@media (max-width: 600px) {
  nav { padding: 1rem; }
  .hero { height: 320px; }
  .hero-overlay { padding: 1.5rem; }
}

main .section {
  max-width: 720px;
}

.section {
  color: #1a1a1a;
}

.section p {
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.nieuwste-box {
  background: var(--primary-dark) !important;
  color: #ffffff;
  padding: 2rem;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 40px rgba(58,11,51,0.25);

  /* Positie: 0 zorgt dat hij de onderkant van de hero raakt */
  margin-top: 0; 

  /* Borders: Geen bovenkant, wel zijkanten en onderkant */
  border-left: 2px solid var(--accent) !important;
  border-right: 2px solid var(--accent) !important;
  border-bottom: 2px solid var(--accent) !important;
  border-top: none !important;

  /* Hoeken: Bovenkant kaarsrecht, onderkant rond */
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.nieuwste-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.nieuwste-box audio {
  margin: 1rem 0;
}

.nieuwste-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

.nieuwste-link:hover {
  text-decoration: underline;
}

.section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}