/*
 * Strakke stijllaag (Apple-achtig) bovenop styles.css.
 * Alleen visueel: geen elementen verborgen of verwijderd.
 * Verwijder de <link> naar dit bestand om terug te gaan naar de oude stijl.
 */

:root {
  --plum: #1d1d1f;
  --plum-soft: #424245;
  --muted: #6e6e73;
  --cream: #f5f5f7;
  --lavender-50: #f5f5f7;
  --lavender-100: #efeaf5;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);

}

body {
  background: var(--cream);
}

/* Lustrumpatroon duidelijk zichtbaar */
body.is-authenticated {
  background:
    linear-gradient(rgba(245, 245, 247, 0.55), rgba(245, 245, 247, 0.55)),
    url("assets/lustrum-patroon.png") center top / 420px auto repeat,
    var(--cream);
  background-attachment: fixed;
}

.section-intro,
.hero-intro,
.meta {
  color: var(--muted);
}

/* Header: frosted glas */
.site-header {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.04);
}


/* Knoppen: rustig, afgerond, geen hoofdletters */
.primary,
.secondary,
.ghost,
.danger {
  border-radius: 980px;
  padding: 10px 20px;
  box-shadow: none;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.12s ease;
}

.primary {
  border-color: transparent;
  color: #fff;
  background: var(--orange-strong);
}

.primary:hover {
  background: #a44e27;
}

.secondary {
  border-color: var(--line-strong);
  background: #fff;
}

.ghost {
  color: var(--lavender-700);
  background: rgba(128, 104, 146, 0.1);
}

.primary:hover,
.secondary:hover,
.ghost:hover,
.danger:hover {
  transform: none;
  box-shadow: none;
}

.primary:active,
.secondary:active,
.ghost:active,
.danger:active {
  transform: scale(0.97);
}

/* Kaarten en modules */
.content-module {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.activity-card {
  border-color: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.activity-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.activity-card .eyebrow {
  padding: 0;
  background: none;
}

.activity-actions {
  border-left-color: rgba(0, 0, 0, 0.06);
  background: #fbfbfd;
}

/* Hero */
.portal-hero {
  box-shadow: var(--shadow-md);
}

.portal-hero-copy {
  background: linear-gradient(160deg, #c3b0da 0%, #a68dc0 100%);
}

.portal-hero-copy h1 {
  color: #fff;
}

.hero-next-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.portal-hero .primary {
  color: var(--plum);
  background: #fff;
}

.portal-hero .secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

/* Formulieren */
input,
select,
textarea {
  border-radius: 12px !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(128, 104, 146, 0.18) !important;
}

/* Mobiele tabbalk: iOS-stijl */
@media (max-width: 760px) {
  body.is-authenticated:not(.admin-portal):not(:has(#loginScreen:not(.hidden))) .bottom-nav {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }

  .bottom-nav a[aria-current="page"] {
    color: var(--orange-strong);
    background: transparent;
  }

}

@media (prefers-reduced-motion: reduce) {
  .primary:active,
  .secondary:active,
  .ghost:active,
  .danger:active {
    transform: none;
  }
}

/* Paginakoppen: licht en rustig */
.page-banner {
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: clamp(28px, 4.5vw, 52px);
  background: linear-gradient(160deg, #ffffff 0%, #f3eef8 100%);
  box-shadow: var(--shadow-sm);
}

.page-banner-compact {
  min-height: 0;
}

.page-banner h1 {
  margin-bottom: 8px;
}

.page-banner p:last-child {
  color: var(--muted);
}

.page-number {
  color: rgba(128, 104, 146, 0.16);
}

.portal-hero-copy h1 span {
  color: rgba(255, 255, 255, 0.82);
}
