/* ============================================================
   PROEFLES PAGE STYLES — Judoclub Bunde
   Requires design-system.css (loaded via main.css)
   ============================================================ */

/* ============================================================
   HERO — PROEFLES
   ============================================================ */
.proefles-hero {
  background-color: var(--color-green-dark);
  padding: var(--space-16) var(--space-6) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.proefles-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/background-white.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.proefles-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.proefles-hero__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.proefles-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.proefles-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

/* Benefit bullets */
.benefit-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .benefit-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
  }
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.9);
  font-weight: var(--weight-bold);
}

.benefit-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--color-gold);
  color: var(--color-green-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

/* ============================================================
   MAIN CONTENT — 2-column on desktop
   ============================================================ */
.proefles-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  overflow: hidden;
}

@media (min-width: 900px) {
  .proefles-main {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

/* ============================================================
   LEFT COLUMN — image + training info
   ============================================================ */
.proefles-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.proefles-image .image-placeholder {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-xl);
}

.proefles-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

@media (min-width: 900px) {
  .proefles-image .image-placeholder {
    min-height: 360px;
  }

  .proefles-img {
    height: 410px;
  }
}

/* Training times box */
.training-times {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.training-times__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.training-times__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.training-times__day {
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  white-space: nowrap;
}

.training-times__time {
  color: rgba(255,255,255,0.85);
}

.training-times__divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: var(--space-3) 0;
}

.training-times__location {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
}

.training-times__location svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================================
   RIGHT COLUMN — FORM
   ============================================================ */
.proefles-form-wrap {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.proefles-form-wrap__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-green-dark);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.proefles-form-wrap__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  line-height: var(--leading-normal);
}

.proefles-form-wrap__subtitle a {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.proefles-form-wrap__list {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: var(--leading-normal);
  padding-left: var(--space-5);
}

.proefles-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.proefles-form .form-input,
.proefles-form .form-select,
.proefles-form .form-textarea {
  max-width: 100%;
  box-sizing: border-box;
}

.proefles-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 480px) {
  .proefles-form__row--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.proefles-form__submit {
  margin-top: var(--space-2);
}

.proefles-form .form-hint {
  display: block;
  margin-top: var(--space-1, 0.25rem);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.proefles-form__submit .btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  font-size: var(--text-lg);
  padding: var(--space-3) var(--space-6);
}

/* Status messages */
.proefles-status {
  margin-bottom: var(--space-6);
}

/* Ensure reCAPTCHA badge appears above footer */
.grecaptcha-badge {
  z-index: 200 !important;
}

/* ============================================================
   SITE FOOTER (same as homepage — inherited from design-system)
   ============================================================ */
