html {
  font-size: 16px;
}

@media (max-width: 1800px) {
  html { font-size: 14.5px; }
}

@media (max-width: 1200px) {
  html { font-size: 13.5px; }
}

@media (max-width: 768px) {
  html { font-size: 13px; }
}

:root {
  --navbar-height: 80px;
  --animation-duration: 0.3s;
  --scale-value: 1.05;

  --fs-400: 1rem;
  --fs-500: 1.25rem;
  --fs-600: clamp(1.4rem, 1.1rem + 0.5vw, 2rem);
  --fs-700: clamp(1.5rem, 1.2rem + 0.5vw, 2.5rem);
  --fs-800: clamp(2rem, 1.4rem + 1.2vw, 4rem);

  /* Colors — warmed-up purple/mauve palette */
  --color-bg: #6A5E7E;
  --color-nav: rgba(142, 120, 138, 0.75);
  --color-card: #8B7D8E;
  --color-accent: #FCDEFF;
  --color-text: #FAF7F5;
  --color-text-muted: rgba(250, 247, 245, 0.85);
  --color-carousel-fade: #5C566E;

  /* Spacing */
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;

  /* Radii */
  --radius-card: 14px;
  --radius-button: 6px;
  --radius-pill: 50px;

  /* Cards */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.15);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.22);
  --color-card-bg: rgba(255, 255, 255, 0.10);
  --color-card-border: rgba(252, 222, 255, 0.3);

  /* Transitions */
  --transition-card: 0.35s ease;
  --transition-fast: 0.2s ease;

  /* Body text */
  --fs-body: 1.1rem;
  --lh-body: 1.7;
}

.divider {
  border-color: rgba(226, 226, 226, 0.3);
  border-radius: 10px;
  margin-block: 1rem;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  font-family: "Raleway", sans-serif;
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100svh;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", serif;
}

#mainPageBody {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: -webkit-fill-available;
  position: relative;
  overflow: hidden;
  background-image: url("../images/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

#mainPageBody::before {
  content: '';
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

#mainPageBody nav {
  position: relative;
  z-index: 1000;
}

#mainPageBody main,
#mainPageBody footer {
  position: relative;
  z-index: 1;
}

#mainPageBody main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
}

main {
  min-height: calc(100vh - var(--navbar-height));
  min-height: calc(100svh - var(--navbar-height));
  overflow: hidden;
  position: relative;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-bottom: solid 1px rgba(252, 222, 255, 0.25);

  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  flex-shrink: 0;
  padding-inline: 1rem;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(142, 120, 138, 0.45);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  z-index: -1;
}

nav:empty {
  border-bottom-color: transparent;
}

nav:empty::before {
  display: none;
}

.primary-navigation {
  display: contents;
}


nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: var(--fs-600);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

nav ul {
  display: flex;
  list-style: none;
  height: 100%;
  white-space: nowrap;
}

nav li {
  padding-inline: 1rem;
  display: flex;
  align-items: center;

  background-color: transparent;
  transition: background-color 0.9s ease;
}

nav ul .active {
  animation: activeIn 0.2s ease forwards;
}

a{
  display: inline-block; 
}

ul a:link{
  color:white;
}

a:visited{
  color: inherit;
}

ul a:hover{
  color: var(--color-accent);
}

.mobile-nav-toggle {
  display: none;
}

.contactInfo {
  font-family: "Cormorant Garamond", serif;
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1.25rem;
  font-style: italic;
  white-space: nowrap;
}

.logoContainer {
  font-family: "Cormorant Garamond", serif;
  height: 100%;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  padding-block: 0.5rem;
  position: absolute;
  left: 1rem;
}

.logoContainer:hover {
  text-decoration: none;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#homepageContent {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

#homepageContent h1 {
  font-size: clamp(2.2rem, 1.5rem + 1.5vw, 4.5rem);
  font-weight: bold;
  line-height: 1.25;
  animation: fadeInUp 0.8s ease forwards;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

#homepageContent .cta-button {
  margin-top: 2.5rem;
  animation: fadeInUp 0.8s ease 1s both;
}

#homepageContent p {
  font-size: clamp(1.3rem, 1rem + 0.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 2.5rem;
  animation: fadeInUp 0.8s ease 0.5s both;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Animations */
.scale-effect {
  transition: transform var(--animation-duration) ease;
}
.scale-effect:hover {
  transform: scale(var(--scale-value));
}

@keyframes activeIn {
  from {
    background-color: transparent;
  }
  to {
    background-color: rgba(252,222,255, 0.33);
  }
}

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

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1.1rem 3rem;
  background: linear-gradient(135deg, rgba(252, 222, 255, 0.18) 0%, rgba(180, 140, 200, 0.22) 100%);
  border: 1.5px solid rgba(252, 222, 255, 0.5);
  color: var(--color-accent);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 1vw + 0.85rem, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(252, 222, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background: linear-gradient(135deg, rgba(252, 222, 255, 0.3) 0%, rgba(180, 140, 200, 0.35) 100%);
  color: white;
  border-color: rgba(252, 222, 255, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(252, 222, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-button:visited {
  color: var(--color-accent);
}


/* ══ RESPONSIVE BREAKPOINTS ══
   600px  — compact/phone: footer stacks, card padding shrinks
   768px  — tablet: layouts go single-column, carousel stacks
   1150px — nav: hamburger menu activates, homepage adjustments
   ══════════════════════════════ */

@media (max-width: 1150px) {
  .primary-navigation {
    background: rgba(122, 110, 145, 0.55);
    backdrop-filter: blur(50px) saturate(1.5);
    -webkit-backdrop-filter: blur(50px) saturate(1.5);
    border-left: 1px solid var(--color-card-border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    width: min(400px, 85%);
    height: 100vh;
    height: 100svh;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    overflow-y: auto;

    transform: translateX(100%);
    transition: transform var(--animation-duration) ease-in-out;
  }

  .primary-navigation ul {
    flex-direction: column;
    padding: min(20vh, 5rem) 2rem 0;
    gap: 1rem;
  }

  .primary-navigation a {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .primary-navigation li {
    white-space: normal;
    border-radius: var(--radius-pill);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .primary-navigation li:hover {
    transition: none;
    transform: none;
  }

  .primary-navigation ul .active {
    animation: none;
    background: linear-gradient(135deg, rgba(252, 222, 255, 0.18) 0%, rgba(180, 140, 200, 0.22) 100%);
    border: 1.5px solid rgba(252, 222, 255, 0.5);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    margin-right: -2rem;
    padding: 0.5rem calc(1rem + 2rem) 0.5rem 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(252, 222, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  /* Dark backdrop overlay behind the side panel */
  .primary-navigation::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--animation-duration) ease, visibility var(--animation-duration) ease;
    z-index: -1;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0);
    transition: transform var(--animation-duration) ease-in-out;
  }

  .primary-navigation[data-visible="true"]::before {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      position: absolute;
      top: calc((var(--navbar-height) - 2.5rem) / 2);
      right: 1rem;
      width: 2.5rem;
      aspect-ratio: 1;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 9999;
  }

  .hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1001;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(4) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .logoContainer {
    position: relative;
    left: 0;
    margin-right: auto;
    max-height: 60px;
  }

  .contactInfo {
    display: flex;
    padding-bottom: 1rem;
    align-items: center;
  }
}

/* OVER MIJ */

#aboutMeBody {
  overflow-x: hidden;
  background: radial-gradient(ellipse at center, #7C7090 0%, #5C566E 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* Unified decorative leaves (all pages except index) */
.page-leaf-top {
  position: absolute;
  top: -5%;
  left: -5%;
  max-width: 75%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.page-leaf-bottom {
  position: absolute;
  bottom: -5%;
  right: -5%;
  max-width: 65%;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

/* Intro section — photo + quote side by side */
.about-intro {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-shadow: none;
}

.about-intro-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(252, 222, 255, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.about-intro-photo .tine-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-intro-text {
  max-width: 480px;
}

.about-intro-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: var(--fs-800);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.about-intro-text blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.about-intro-text blockquote strong {
  font-weight: 700;
  color: white;
}

.scribble-wrap {
  position: relative;
  display: inline;
}

.scribble-wrap .scribble {
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Bio section — glass card */
.about-bio-section {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  text-shadow: none;
}

.about-bio-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
}

.about-bio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.about-bio-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.85);
}

.about-bio-card p + p {
  margin-top: 1.25rem;
}

/* Philosophy quote */
.about-philosophy {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  text-shadow: none;
}

/* Qualifications section — new card design */
.about-qualifications {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  text-shadow: none;
}

.qual-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
}

.qual-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.qual-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.qual-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.qual-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.qual-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.qual-card ul li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.qual-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(252, 222, 255, 0.5);
}

h1 strong {
  font-weight: bold;
  color: rgba(255, 255, 255, 1);
  display: inline-block;
}

/* Aanbod cards (reusable glass card) */
.card {
  max-width: 100%;
  padding: 2rem 2.5rem;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
  overflow: hidden;
  word-break: break-word;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card p:first-of-type {
  margin-bottom: 1rem;
}

.card p {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
}

/* ══ 768px — tablet: single-column layouts, carousel stacks ══ */
@media (max-width: 768px) {
  /* Leaf decorations */
  .page-leaf-top {
    max-width: 160%;
    top: -3%;
  }
  .page-leaf-bottom {
    max-width: 140%;
    bottom: -3%;
  }

  /* About page */
  .about-intro {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.25rem 1.5rem;
    text-align: center;
  }

  .about-intro-photo {
    width: 220px;
    height: 220px;
  }

  .about-intro-text h1 {
    margin-bottom: 1rem;
  }

  .about-bio-section {
    padding: 1.5rem 1.25rem 0;
  }

  .about-bio-card {
    padding: 1.75rem;
  }

  .about-bio-card p {
    font-size: 1.05rem;
  }

  .about-philosophy {
    padding: 2rem 1.25rem;
  }

  .about-qualifications {
    padding: 0 1.25rem 2.5rem;
  }

  .qual-card {
    padding: 1.75rem;
  }

  .card {
    padding: 1.75rem;
  }

  /* Aanbod page */
  .aanbod-grid {
    grid-template-columns: 1fr;
  }
  .aanbod-wrapper {
    padding: 2rem 1rem;
  }

}

/* Accessibility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* AANBOD */

#aanbodBody {
  overflow-x: hidden;
  background: radial-gradient(ellipse at center, #7C7090 0%, #5C566E 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.aanbod-content {
  min-height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.aanbod-wrapper {
  max-width: min(1100px, 100%);
  margin: auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-shadow: none;
}

.aanbod-wrapper .cta-button {
  margin-top: var(--space-sm);
}

.aanbod-title {
  font-size: var(--fs-800);
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.aanbod-intro {
  font-size: 1.25rem;
  text-align: center;
  max-width: 700px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

.aanbod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  counter-reset: service-counter;
}

/* CONTACT */

#contactBody {
  overflow-x: hidden;
  background: radial-gradient(ellipse at center, #7C7090 0%, #5C566E 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.contact-content {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-wrapper {
  max-width: min(800px, 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-shadow: none;
}

.contact-title {
  font-size: var(--fs-800);
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.contact-intro {
  font-size: 1.25rem;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}

.contact-details a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details a:hover {
  color: white;
}

.email-template-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
}

.email-template-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.email-template-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.template-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(226,226,226,0.2);
}

.template-field:last-child {
  border-bottom: none;
}

.template-field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.template-field-hint {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

@media (max-width: 600px) {
  .email-template-card {
    padding: 1.5rem;
  }
  .contact-content {
    padding: 2rem 1rem;
  }
  .card,
  .qual-card,
  .about-bio-card {
    padding: 1.5rem;
  }
  .cta-button {
    padding: 0.9rem 1.75rem;
    font-size: 1.05rem;
  }
  .info-card h3,
  .email-template-card h3 {
    text-align: center;
    word-break: break-word;
    hyphens: auto;
  }
}

/* FOOTER */
.site-footer {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: rgba(250, 247, 245, 0.5);
  border-top: 1px solid rgba(252, 222, 255, 0.2);
  flex-wrap: wrap;
  gap: 0.5rem;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(250, 247, 245, 0.5);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* NAV DROPDOWN */
.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  border-radius: 12px;
  background: rgba(122, 110, 145, 0.55);
  backdrop-filter: blur(50px) saturate(1.5);
  -webkit-backdrop-filter: blur(50px) saturate(1.5);
  border: 1px solid var(--color-card-border);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
  z-index: 2000;
}

/* Invisible bridge so the mouse can travel from the nav item to the dropdown */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 1.25rem;
  color: white;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-dropdown-menu a:hover {
  color: var(--color-accent);
  background-color: rgba(252, 222, 255, 0.15);
}

.nav-disabled {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.4);
  cursor: default;
  letter-spacing: 0.02em;
}

.nav-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(252, 222, 255, 0.2);
  color: var(--color-accent);
  padding: 0.15em 0.5em;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.3rem;
}

@media (max-width: 1150px) {
  .nav-dropdown {
    display: none;
  }
}

.philosophy-quote {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  padding-inline: 3rem;
}

.philosophy-quote::before,
.philosophy-quote::after {
  content: '\201C';
  font-size: 5rem;
  color: rgba(252, 222, 255, 0.25);
  font-family: "Cormorant Garamond", serif;
  position: absolute;
  line-height: 1;
}

.philosophy-quote::before {
  top: -1rem;
  left: 0;
}

.philosophy-quote::after {
  content: '\201D';
  bottom: -2rem;
  right: 0;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 950px) {
  .qual-grid {
    grid-template-columns: 1fr;
  }
}

/* GROEPSSESSIES CAROUSEL */
#groepssessiesBody {
  overflow-x: hidden;
  background: radial-gradient(ellipse at center, #7C7090 0%, #5C566E 100%);
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
}

#groepssessiesBody main {
  flex: 1;
  min-height: 0;
  display: flex;
}

.carousel-container {
  display: flex;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.carousel-left {
  width: clamp(250px, 30%, 350px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(252, 222, 255, 0.1);
}

.carousel-left::before,
.carousel-left::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 10;
  pointer-events: none;
}

.carousel-left::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-carousel-fade), transparent);
}

.carousel-left::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-carousel-fade), transparent);
}

.carousel-track {
  position: relative;
  height: 420px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-pill {
  position: absolute;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(252, 222, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.64, 1),
              opacity 0.55s ease,
              background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

.carousel-pill.active {
  background-color: rgba(252, 222, 255, 0.15);
  border-color: rgba(252, 222, 255, 0.6);
  color: white;
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-pill:hover:not(.active) {
  color: white;
  border-color: rgba(252, 222, 255, 0.6);
}

.carousel-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 4rem);
  overflow: hidden;
}

.carousel-right-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.6s ease;
  opacity: 0;
}

.carousel-right-bg.active {
  opacity: 0.9;
}

.carousel-right-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 25, 0.45);
}

.session-panel {
  position: absolute;
  max-width: clamp(600px, 55vw, 900px);
  width: calc(100% - clamp(3rem, 6vw, 8rem));
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  text-shadow: none;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  background: rgba(20, 20, 25, 0.45);
  backdrop-filter: blur(4px) saturate(1.3);
  -webkit-backdrop-filter: blur(4px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.session-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.session-panel-number {
  font-size: 6rem;
  font-weight: 700;
  color: rgba(252, 222, 255, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond", serif;
}

.session-panel h2 {
  font-size: clamp(1.6rem, 1vw + 1.2rem, 2.2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.session-panel p {
  font-size: clamp(1.05rem, 0.5vw + 0.9rem, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
}

.session-badge {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252, 222, 255, 0.55);
  border: 1px solid rgba(252, 222, 255, 0.25);
  border-radius: 20px;
  padding: 0.4rem 1.25rem;
}


/* Carousel mobile: pills on top, content below */
@media (max-width: 768px) {
  #groepssessiesBody {
    height: auto;
  }

  #groepssessiesBody main {
    display: flex;
    flex-direction: column;
  }

  .carousel-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--navbar-height));
    position: relative;
    overflow: hidden;
  }

  .carousel-left {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: none;
    overflow: visible;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 2;
  }

  .carousel-left::before,
  .carousel-left::after {
    display: none;
  }

  .carousel-track {
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .carousel-pill {
    position: static;
    transform: none;
    opacity: 1;
  }

  .carousel-pill.active {
    font-size: 1.15rem;
  }

  .carousel-right {
    flex: 1;
    padding: 0;
    align-items: flex-start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .carousel-right-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
  }

  .carousel-right-bg.active {
    opacity: 1;
  }

  .carousel-right-bg::after {
    background: linear-gradient(to bottom, rgba(20, 20, 25, 0.2) 0%, rgba(20, 20, 25, 0.7) 50%);
  }

  .session-panel {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    max-width: calc(100% - 2rem);
    width: 100%;
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    background: rgba(20, 20, 25, 0.45);
    backdrop-filter: blur(4px) saturate(1.3);
    -webkit-backdrop-filter: blur(4px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
    margin: auto 1rem 2rem;
  }

  .session-panel.active {
    display: block;
  }

  .session-panel-number {
    font-size: 3rem;
  }
}

/* Mobile-only nav items (e.g. Groepssessies direct link) */
.mobile-only-nav {
  display: none;
}

@media (max-width: 1150px) {
  .mobile-only-nav {
    display: flex;
  }

  /* Homepage adjustments (merged from 900px) */
  #mainPageBody {
    height: auto;
    min-height: 100svh;
  }

  #mainPageBody main {
    min-height: calc(100svh - var(--navbar-height));
    flex: unset;
  }

  #mainPageBody::before {
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
  }
}

/* ── Contact: info cards ── */
.info-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-card-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.85);
}

.tarief-email {
  display: inline-block;
  color: var(--color-accent);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.info-card .cta-button {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.info-note {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-top: 0.75rem;
}

.info-note + p {
  margin-top: var(--space-sm);
}

p + .cancellation-row,
p + .reimbursement-row {
  margin-top: 1rem;
}

.cancellation-row,
.reimbursement-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(226,226,226,0.2);
}

.cancellation-row:last-of-type,
.reimbursement-row:last-of-type {
  border-bottom: none;
}

.reimbursement-row.no-border {
  border-bottom: none;
}

.cancellation-time,
.reimbursement-label {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}

.cancellation-cost,
.reimbursement-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-align: right;
  white-space: nowrap;
}

.payment-list {
  list-style: none;
  padding: 0;
}

.payment-list li {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  padding-block: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.payment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

@media (max-width: 600px) {
  .cancellation-row,
  .reimbursement-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-card .cta-button {
    display: block;
    margin-inline: auto;
    width: fit-content;
  }
}

/* ── Aanbod: two-section layout ── */
.aanbod-section {
  width: 100%;
}

.aanbod-card {
  max-width: 100%;
}

.aanbod-card h2 {
  font-size: var(--fs-700);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.aanbod-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  padding-inline: 0.5rem;
  margin-top: 1rem;
  list-style: none;
}

.topic-grid li {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  padding-left: 1.25rem;
  padding-block: 0.35rem;
  position: relative;
}

.topic-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

@media (max-width: 768px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Groepssessies: session metadata ── */
.session-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
}

.session-location {
  font-weight: 600;
  color: rgba(252, 222, 255, 0.8);
}

.session-dates {
  color: rgba(255, 255, 255, 0.7);
}

.session-arrow {
  font-size: 1.3em;
  vertical-align: -0.1em;
}

.session-cta {
  margin-top: 1rem;
}

.session-register {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.session-register a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.session-register a:hover {
  color: white;
}

.session-badge--open {
  color: rgba(180, 255, 180, 0.85);
  border-color: rgba(180, 255, 180, 0.3);
}

/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Scroll-down indicator ── */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(252, 222, 255, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
}

.scroll-indicator--hidden {
  opacity: 0;
}

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

@media (max-width: 768px) {
  .scroll-indicator { display: none; }
}

/* ── Mobile: homepage adjustments ── */

/* ── Mobile: footer stacking ── */
@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}