/* ==========================================================
   Jay & Joan — Bruiloft 21.08.2026
   style.css
   ========================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --ivory:      #FDF6F0;
  --blush:      #E8C4C4;
  --rose:       #C89090;
  --gold:       #C9A84C;
  --sage:       #A8B8A0;
  --charcoal:   #3D3535;
  --white:      #ffffff;
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }
a { color: inherit; }

/* ===== UTILITY ===== */
.font-script    { font-family: 'Great Vibes', cursive; }
.text-gold      { color: var(--gold) !important; }
.text-rose      { color: var(--rose) !important; }
.bg-ivory       { background-color: var(--ivory) !important; }
.bg-charcoal    { background-color: var(--charcoal) !important; }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
  margin-top: .4rem;
}

.gold-line {
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn-rose {
  background: var(--rose);
  border: 2px solid var(--rose);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .75rem 2.2rem;
  border-radius: 0;
  transition: all .3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-rose:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .75rem 2.2rem;
  border-radius: 0;
  transition: all .3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .75rem 2.2rem;
  border-radius: 0;
  transition: all .3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ===== NAVBAR ===== */
.navbar-wedding {
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 1.4rem 0;
}
.navbar-wedding.scrolled {
  background: rgba(253,246,240,.97) !important;
  box-shadow: 0 2px 20px rgba(61,53,53,.1);
  padding: .8rem 0;
}
.navbar-wedding .navbar-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: var(--gold) !important;
  line-height: 1;
}
.navbar-wedding .nav-link {
  font-family: 'Lato', sans-serif;
  font-size: .73rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(253,246,240,.9) !important;
  padding: .4rem .9rem !important;
  transition: color .3s ease;
}
.navbar-wedding.scrolled .nav-link    { color: var(--charcoal) !important; }
.navbar-wedding .nav-link:hover,
.navbar-wedding.scrolled .nav-link:hover { color: var(--gold) !important; }

.navbar-toggler {
  border: 1px solid rgba(253,246,240,.5);
  padding: .3rem .55rem;
}
.navbar-wedding.scrolled .navbar-toggler { border-color: var(--rose); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(253,246,240,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-wedding.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233D3535' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO — LANDING (index.html) ===== */
.hero-landing {
  min-height: 100vh;
  background: linear-gradient(155deg, #2a1f1f 0%, #4a3232 30%, #7a5050 65%, #c89090 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
}
.hero-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(201,168,76,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(200,144,144,.16) 0%, transparent 55%);
}
.hero-landing::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c9a84c' fill-opacity='.05' d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/svg%3E");
}
.hero-landing-content {
  position: relative;
  z-index: 2;
}

/* Monogram animation */
.monogram-hero {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 8px 50px rgba(201,168,76,.25);
  animation: monogramIn 2.4s cubic-bezier(.16,1,.3,1) both;
  opacity: 0;
}
@keyframes monogramIn {
  0%  { opacity: 0; transform: scale(.7) translateY(50px); }
  60% { opacity: 1; }
  100%{ opacity: 1; transform: scale(1) translateY(0); }
}

.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 4.5vw, 2.8rem);
  color: var(--ivory);
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: fadeUp 1.4s ease 1.1s both;
}
.hero-meta {
  font-family: 'Lato', sans-serif;
  font-size: clamp(.75rem, 2vw, .95rem);
  color: var(--blush);
  letter-spacing: .35em;
  text-transform: uppercase;
  animation: fadeUp 1.4s ease 1.5s both;
}
.hero-cta {
  animation: fadeUp 1.4s ease 2s both;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--blush);
  opacity: .5;
  animation: bounceDown 2.4s ease-in-out infinite;
  font-size: 1.3rem;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(9px); }
}

/* ===== HERO — INNER PAGES ===== */
.hero-inner {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 7rem 1.5rem 5rem;
}
.hero-inner .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.hero-inner .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,31,31,.4) 0%, rgba(42,31,31,.72) 100%);
}
.hero-inner .hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .35em 1.3em;
  margin-bottom: 1.6rem;
}
.hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1.1;
}
.hero-couple-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--ivory);
  letter-spacing: .1em;
  line-height: 1;
}
.hero-date-line {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blush);
}

@media (max-width: 767.98px) {
  .hero-inner .hero-bg { background-attachment: scroll; }
}

/* ===== COUNTDOWN ===== */
.countdown-wrap {
  background: var(--charcoal);
  padding: 3.5rem 1rem;
}
.cd-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blush);
  opacity: .7;
  margin-bottom: 1.8rem;
}
.cd-box { text-align: center; padding: .5rem; }
.cd-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  min-width: 2ch;
}
.cd-unit {
  font-family: 'Lato', sans-serif;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(232,196,196,.55);
  margin-top: .5rem;
  display: block;
}
.cd-sep {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--rose);
  opacity: .3;
  line-height: 1;
  padding-top: .15em;
  user-select: none;
}

/* ===== GUEST MODAL ===== */
.modal-guest .modal-dialog { max-width: 600px; }
.modal-guest .modal-content {
  background: var(--ivory);
  border: none;
  border-radius: 0;
  box-shadow: 0 30px 90px rgba(42,31,31,.4);
}
.modal-guest .modal-header {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem 1rem;
  gap: .3rem;
}
.modal-script {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.modal-guest .modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin: 0;
}
.modal-guest .modal-body { padding: 1.5rem 2rem 2.5rem; }

.guest-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  border: 2px solid var(--blush);
  padding: 2.5rem 1.5rem 2rem;
  background: var(--white);
  height: 100%;
  transition: all .3s ease;
}
.guest-pick:hover {
  border-color: var(--rose);
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(200,144,144,.24);
}
.guest-pick-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.guest-pick-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}
.guest-pick-sub {
  font-size: .85rem;
  color: #9a8a8a;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* ===== LOVE STORY TIMELINE ===== */
.story-section {
  padding: 6rem 0;
  background: var(--ivory);
}
.tl-wrap {
  position: relative;
  padding: 1rem 0 2rem;
}
.tl-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blush) 10%, var(--blush) 90%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}
.tl-item:nth-child(odd)  { padding-right: calc(50% + 32px); }
.tl-item:nth-child(even) { padding-left:  calc(50% + 32px); flex-direction: row-reverse; }
.tl-card {
  background: var(--white);
  border: 1px solid var(--blush);
  padding: 1.5rem 1.8rem;
  width: 100%;
  transition: box-shadow .3s ease;
}
.tl-card:hover { box-shadow: 0 8px 28px rgba(200,144,144,.18); }
.tl-item:nth-child(odd) .tl-card  { text-align: right; }
.tl-item:nth-child(even) .tl-card { text-align: left; }
.tl-dot {
  position: absolute;
  left: 50%;
  top: 1.2rem;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
  flex-shrink: 0;
}
.tl-year  { font-family: 'Great Vibes', cursive; font-size: 1.45rem; color: var(--gold); display: block; margin-bottom: .3rem; }
.tl-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--charcoal); margin-bottom: .4rem; }
.tl-text  { font-size: .875rem; color: #9a8a8a; line-height: 1.75; margin: 0; }

@media (max-width: 767.98px) {
  .tl-wrap::before { left: 22px; }
  .tl-item,
  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    flex-direction: column;
    padding: 0 0 0 64px;
  }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card { text-align: left; }
  .tl-dot { left: 22px; top: .4rem; width: 38px; height: 38px; font-size: 1rem; }
}

/* ===== PROGRAM ===== */
.program-section {
  padding: 6rem 0;
  background: var(--white);
}
.prog-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px dashed rgba(200,144,144,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.prog-item:last-child { border-bottom: none; }
.prog-item.visible    { opacity: 1; transform: none; }
.prog-time {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--gold);
  min-width: 68px;
  font-weight: 600;
  padding-top: .25rem;
  flex-shrink: 0;
}
.prog-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.prog-title { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--charcoal); margin-bottom: .2rem; }
.prog-desc  { font-size: .83rem; color: #aaa; line-height: 1.55; margin: 0; }

/* ===== VENUE ===== */
.venue-section {
  padding: 6rem 0;
  background: var(--ivory);
}
.venue-card {
  background: var(--white);
  border: 1px solid var(--blush);
  padding: 3rem 2rem;
  height: 100%;
  text-align: center;
  transition: box-shadow .3s ease;
}
.venue-card:hover { box-shadow: 0 12px 38px rgba(200,144,144,.18); }
.venue-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.2rem; }
.venue-card h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--charcoal); margin-bottom: .4rem; }
.venue-time-script { font-family: 'Great Vibes', cursive; font-size: 2.1rem; color: var(--rose); display: block; margin-bottom: .8rem; }
.venue-address { font-size: .88rem; color: #999; line-height: 1.85; }
.btn-map {
  display: inline-block;
  margin-top: 1.2rem;
  border: 1px solid var(--sage);
  color: #777;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 1.4rem;
  border-radius: 0;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-map:hover { background: var(--sage); color: var(--white); border-color: var(--sage); }

/* ===== DRESSCODE ===== */
.dresscode-section {
  padding: 6rem 0;
  background: var(--charcoal);
}
.dresscode-section .section-label { color: var(--blush); }
.dresscode-section .section-title { color: var(--ivory); }
.dresscode-section .gold-line     { margin: 1rem auto 2.5rem; }
.swatch-item { text-align: center; }
.color-dot {
  width: 58px; height: 58px;
  border-radius: 50%;
  margin: 0 auto .7rem;
  border: 3px solid rgba(255,255,255,.12);
  transition: transform .3s ease;
}
.color-dot:hover { transform: scale(1.12); }
.swatch-label { font-size: .68rem; color: var(--blush); letter-spacing: .14em; text-transform: uppercase; font-family: 'Lato', sans-serif; }
.dresscode-note { font-size: .9rem; color: rgba(232,196,196,.7); line-height: 1.88; max-width: 580px; margin: 0 auto; }

/* ===== GALLERY ===== */
.gallery-section {
  padding: 6rem 0;
  background: var(--white);
}
.gal-item { overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gal-item:hover img { transform: scale(1.07); }

/* ===== COUPLE INTRO (avondgast) ===== */
.couple-section {
  padding: 6rem 0;
  background: var(--ivory);
}
.couple-photo {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  box-shadow: 16px 16px 0 var(--blush);
  max-width: 380px;
  display: block;
}
.couple-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.55;
}
.couple-body { font-size: .95rem; color: #888; line-height: 1.9; }

/* ===== RSVP ===== */
.rsvp-section {
  padding: 6rem 0;
  background: linear-gradient(145deg, #f5e5e5 0%, var(--ivory) 100%);
}
.rsvp-box {
  background: var(--white);
  border: 1px solid var(--blush);
  padding: clamp(2rem, 6vw, 3.5rem);
  max-width: 680px;
  margin: 0 auto;
}
.form-label {
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  margin-bottom: .4rem;
}
.form-control,
.form-select {
  border: 1px solid var(--blush);
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  padding: .75rem 1rem;
  background: var(--ivory);
  color: var(--charcoal);
  transition: border-color .3s ease, background .3s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 .15rem rgba(200,144,144,.2);
  background: var(--white);
  outline: none;
}
textarea.form-control { resize: vertical; min-height: 110px; }

/* ===== GUEST NAME FIELDS ===== */
#gasten-list { display: flex; flex-direction: column; gap: .5rem; }

.gast-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.gast-row .form-control { flex: 1; }

.btn-remove-guest {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--blush);
  color: var(--rose);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  font-size: .85rem;
  padding: 0;
}
.btn-remove-guest:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: white;
}

.btn-add-guest {
  background: transparent;
  border: 1px dashed var(--rose);
  color: var(--rose);
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  border-radius: 0;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.btn-add-guest:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: white;
}

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  padding: 4rem 1rem 2.5rem;
  text-align: center;
}
.footer-monogram { font-family: 'Great Vibes', cursive; font-size: 4rem; color: var(--gold); line-height: 1; }
.footer-tagline  { font-family: 'Playfair Display', serif; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--blush); margin-top: .5rem; }
.footer-divider  { width: 40px; height: 1px; background: var(--gold); opacity: .3; margin: 1.5rem auto; }
.footer-copy     { font-size: .72rem; color: rgba(232,196,196,.35); letter-spacing: .1em; }

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  margin-top: 1.5rem;
  font-size: .9rem;
  transition: background .3s ease;
}
.back-top:hover { background: var(--gold); color: var(--charcoal); }

/* ===== SCROLL FADE ===== */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.in-view { opacity: 1; transform: none; }

/* ===== ORNAMENT DIVIDER ===== */
.ornament-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
}
.ornament-row::before,
.ornament-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .3;
}
