/* ============================================================
   Tom & Eva — Bruiloft stylesheet
   Romantic elegance: warm roze, oranje en donker als accenten
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ivory:      #f9eaec;
  --ivory-dark: #f7dae0;
  --gold:       #f1853e;
  --gold-light: #f7dae0;
  --green:      #3c3c3b;
  --green-light:#f7dae0;
  --ink:        #3c3c3b;
  --muted:      #7a6f6e;
  --border:     #e8c8cc;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 24px rgba(60,60,59,.07);
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Jost', sans-serif;
  --max-w:      680px;
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  /* background-color: var(--ivory); */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, #f7dae020 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23f1853e' opacity='.12'/%3E%3C/svg%3E");
}

/* ── Page wrapper ───────────────────────────────────────── */
.site-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── Decorative divider ─────────────────────────────────── */
.site-main > section + section {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 3rem;
}

/* ── Hero section ───────────────────────────────────────── */
.site-main > section:first-child {
  text-align: center;
  padding: 5rem 1rem 3.5rem;
  position: relative;
}

.site-main > section:first-child::before,
.site-main > section:first-child::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  opacity: .6;
}
.site-main > section:first-child::before { margin-bottom: 2rem; }
.site-main > section:first-child::after  { margin-top: 2rem; }

.site-main > section:first-child h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: .75rem;
}

.site-main > section:first-child h1 span {
  font-size: 2rem;
  font-style: italic;
}

.site-main > section:first-child p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ── Form section ───────────────────────────────────────── */

.hidden-fields-container { display: none !important; }

.wpcf7-form article h2,
article.guest-information h2,
article.party-information h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--green);
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .75rem;
}
article.guest-information h2::before { content: '✦'; font-size: .7rem; color: var(--gold); }
article.party-information h2::before { content: '✦'; font-size: .7rem; color: var(--gold); }

article.guest-information,
article.party-information {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

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

.wpcf7-form label,
.wpcf7-form p > label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.wpcf7-form p {
  margin-bottom: 1.1rem;
}
.wpcf7-form p:last-child { margin-bottom: 0; }

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  display: block;
  width: 100%;
  padding: .7rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241,133,62,.15);
  background: #fff;
}

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

.wpcf7-form-control.wpcf7-radio {
  display: flex;
  gap: .75rem;
  margin-top: .25rem;
}

.wpcf7-list-item {
  flex: 1;
  margin: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  background: var(--ivory);
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
}

.wpcf7-list-item input[type="radio"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}

.wpcf7-list-item input[type="radio"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.wpcf7-list-item:has(input:checked) label {
  border-color: var(--gold);
  background: #fff3ee;
  color: var(--ink);
}

.wpcf7-form-control.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.5rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(60,60,59,.2);
}

.wpcf7-form-control.wpcf7-submit:hover {
  background: #f1853e;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(241,133,62,.3);
}
.wpcf7-form-control.wpcf7-submit:active {
  transform: translateY(0);
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  display: none;
}
.wpcf7-form.sent .wpcf7-response-output {
  display: block;
  background: var(--green-light);
  border: 1px solid var(--border);
  color: var(--green);
}
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  display: block;
  background: #fdecea;
  border: 1px solid #e08080;
  color: #a32d2d;
}

.wpcf7-not-valid-tip {
  color: #a32d2d;
  font-size: .8rem;
  margin-top: .25rem;
  display: block;
}

/* ── Praktische informatie ──────────────────────────────── */
.site-main > section:last-child h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: .03em;
  margin-bottom: 2rem;
  text-align: center;
}

article.dresscode,
article.bereikbaarheid,
article.ceremoniemeesters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

article.dresscode::before,
article.bereikbaarheid::before,
article.ceremoniemeesters::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 3px 0 0 3px;
}

article.dresscode h3,
article.bereikbaarheid h3,
article.ceremoniemeesters h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green);
  letter-spacing: .03em;
  margin-bottom: .75rem;
}

article.dresscode p,
article.bereikbaarheid p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
}

article.ceremoniemeesters > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--ivory-dark);
}
article.ceremoniemeesters > div:last-child { border-bottom: none; padding-bottom: 0; }
article.ceremoniemeesters > div:first-of-type { padding-top: 0; }

article.ceremoniemeesters h4 {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}

article.ceremoniemeesters a {
  color: var(--gold);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--gold-light);
  transition: color .2s, border-color .2s;
}
article.ceremoniemeesters a:hover {
  color: #3c3c3b;
  border-color: var(--border);
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-main > section {
  animation: fadeUp .7s ease both;
}
.site-main > section:nth-child(1) { animation-delay: .05s; }
.site-main > section:nth-child(2) { animation-delay: .15s; }
.site-main > section:nth-child(3) { animation-delay: .25s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 500px) {
  article.guest-information,
  article.party-information,
  article.dresscode,
  article.bereikbaarheid,
  article.ceremoniemeesters {
    padding: 1.25rem;
  }

  .wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
  }
}