/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
  --red: #E8453C;
  --green: #4CAF50;
  --gold: #F5A623;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --dark: #3B2A1A;
  --pink: #FFD6CC;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 20px rgba(59, 42, 26, 0.08);
  --shadow-hover: 0 8px 30px rgba(59, 42, 26, 0.14);
  --font-display: 'Pacifico', cursive;
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --max-width: 1100px;
  --nav-height: 3.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

/* ========================================
   SKIP LINK
   ======================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--dark);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ========================================
   UTILITIES
   ======================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-red { color: var(--red); }
.text-green { color: var(--green); }

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background-color: #d63a31;
  color: var(--white);
}

.btn--whatsapp {
  background-color: var(--green);
  color: var(--white);
  font-size: 1.15rem;
  padding: 1rem 2.25rem;
}

.btn--whatsapp:hover {
  background-color: #43a047;
  color: var(--white);
}

.btn__wa-icon {
  flex-shrink: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--dark);
  z-index: 110;
}

.nav__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0.25rem;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger open state */
.nav--open .nav__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav--open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.nav__menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 105;
}

.nav--open .nav__menu {
  opacity: 1;
  pointer-events: auto;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--red);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav__hamburger {
    display: none;
  }

  .nav__menu {
    position: static;
    flex-direction: row;
    background: none;
    opacity: 1;
    pointer-events: auto;
    gap: 0.25rem;
  }

  .nav__link {
    font-size: 0.95rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Decorative food emoji accents */
.hero::before {
  content: '🍓';
  position: absolute;
  top: 8%;
  right: 8%;
  font-size: 2.5rem;
  opacity: 0.2;
  transform: rotate(15deg);
  pointer-events: none;
}

.hero::after {
  content: '🧁';
  position: absolute;
  bottom: 12%;
  left: 6%;
  font-size: 2.5rem;
  opacity: 0.2;
  transform: rotate(-10deg);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__logo {
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(59, 42, 26, 0.15);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.5rem;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--dark);
  opacity: 0.8;
}

.hero__sub-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
}

.hero__cta {
  margin-top: 1rem;
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero__logo {
    width: 18rem;
    height: 18rem;
  }
}

/* ========================================
   SECTIONS (shared)
   ======================================== */

.section {
  padding: 4rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
}

.section__underline {
  width: 4rem;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* ========================================
   OOR SMULMAATJIES (About)
   ======================================== */

.about__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 2px dashed var(--pink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Center the last 2 cards in the 3-col grid */
  .about__grid .card:nth-child(4) {
    grid-column: 1 / 2;
    justify-self: end;
    width: 90%;
  }

  .about__grid .card:nth-child(5) {
    grid-column: 2 / 3;
    justify-self: start;
    width: 90%;
  }
}

/* ========================================
   AKTIWITEITE (Activities)
   ======================================== */

.activities {
  background-color: var(--white);
  position: relative;
}

/* Decorative accent */
.activities::after {
  content: '🍪';
  position: absolute;
  bottom: 2rem;
  right: 5%;
  font-size: 2rem;
  opacity: 0.15;
  transform: rotate(20deg);
  pointer-events: none;
}

.activities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.activity-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.activity-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.activity-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

/* ========================================
   VEILIGHEID (Safety)
   ======================================== */

.safety {
  background: linear-gradient(135deg, #f0faf0 0%, var(--cream) 100%);
  position: relative;
}

/* Decorative accent */
.safety::before {
  content: '🥕';
  position: absolute;
  top: 2rem;
  left: 5%;
  font-size: 2rem;
  opacity: 0.15;
  transform: rotate(-15deg);
  pointer-events: none;
}

.safety__intro {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--dark);
  opacity: 0.85;
}

.safety__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 40rem;
  margin: 0 auto;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow);
}

.safety-item__check {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.safety-item__text {
  font-weight: 600;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .safety__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 50rem;
  }
}

/* ========================================
   KOSTES (Pricing)
   ======================================== */

.pricing-card {
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}

.pricing-card__per {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.7;
}

.pricing-card__quarterly {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.25rem;
}

.pricing-card__divider {
  border: none;
  border-top: 2px dashed var(--pink);
  margin: 1.5rem 0;
}

.pricing-card__details {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-card__details li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 600;
}

.pricing-card__details li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  transform: rotate(-2deg);
  margin-bottom: 1.5rem;
}

.pricing-card__cta {
  width: 100%;
}

/* ========================================
   OOR CHERON (Teacher)
   ======================================== */

.teacher__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.teacher__photo-wrapper {
  flex-shrink: 0;
}

.teacher__photo {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: 0 6px 24px rgba(59, 42, 26, 0.12);
}

.teacher__bio p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .teacher__content {
    flex-direction: row;
    text-align: left;
    max-width: 48rem;
    margin: 0 auto;
  }

  .teacher__photo {
    width: 17rem;
    height: 17rem;
  }
}

/* ========================================
   KONTAK (Contact)
   ======================================== */

.contact__content {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact__item a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact__item a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.contact__whatsapp {
  width: 100%;
  max-width: 20rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: var(--dark);
  color: var(--cream);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo {
  width: 9.375rem;
  height: 9.375rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer__links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer__copy {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ========================================
   INSKRYWING (Registration Form)
   ======================================== */

.registration {
  background-color: var(--white);
  padding-top: calc(var(--nav-height) + 2rem);
  min-height: 100vh;
}

.reg-intro {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.75;
  margin-top: 0.75rem;
}

.reg-form {
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  max-width: 38rem;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.reg-form__section-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px dashed var(--pink);
}

.reg-form__section-label:first-child {
  margin-top: 0;
}

.reg-form__group {
  margin-bottom: 1.25rem;
}

.reg-form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.reg-form__required {
  color: var(--red);
}

.reg-form__input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.reg-form__input::placeholder {
  color: var(--dark);
  opacity: 0.4;
}

.reg-form__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.reg-form__input--error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 69, 60, 0.12);
}

.reg-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233B2A1A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.reg-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.reg-form__fieldset {
  border: none;
  margin-bottom: 1.25rem;
  padding: 0;
}

.reg-form__radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.35rem;
}

.reg-form__radio-group--stacked {
  flex-direction: column;
  gap: 0.6rem;
}

.reg-form__radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.reg-form__radio {
  accent-color: var(--red);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.reg-form__allergy-detail {
  margin-top: 0.75rem;
}

.reg-form__terms {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.reg-form__terms-list {
  list-style: decimal;
  padding-left: 1rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--dark);
  opacity: 0.85;
}

.reg-form__terms-list li {
  padding: 0.15rem 0;
}

.reg-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.reg-form__checkbox {
  accent-color: var(--red);
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
}

.reg-form__checkbox-text {
  font-size: 0.95rem;
}

.reg-form__signature {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.reg-form__error {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.reg-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1.15rem;
  padding: 1rem 2rem;
}

.reg-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Success state */
.reg-form__success {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.reg-form__success-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

.reg-form__success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.reg-form__success-text {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.reg-form__back {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .reg-form {
    padding: 2.5rem 2.5rem;
  }

  .reg-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
