/* ═══════════════════════════════════════════════════
   RESET & TOKENS
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #faf7f2;
  --sand:    #e8ddd0;
  --blush:   #c9a99a;
  --rose:    #a0706a;
  --sage:    #8fa89a;
  --slate:   #6b7f8c;
  --dark:    #2c2c2c;
  --white:   #ffffff;

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Montserrat', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--ff-sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════
   CANVAS PETALS (achtergrond)
═══════════════════════════════════════════════════ */
#petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ═══════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 44, 44, 0.25) 0%,
    rgba(44, 44, 44, 0.55) 60%,
    rgba(44, 44, 44, 0.75) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: fadeUp 1.4s var(--ease-out-expo) both;
}

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

.hero__eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.2rem;
  animation: fadeUp 1.4s 0.2s var(--ease-out-expo) both;
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  animation: fadeUp 1.4s 0.35s var(--ease-out-expo) both;
}

.hero__amp {
  font-style: italic;
  font-size: 0.65em;
  color: rgba(255,255,255,0.7);
}

.hero__subtitle {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  animation: fadeUp 1.4s 0.5s var(--ease-out-expo) both;
}

.hero__ring {
  font-size: 2rem;
  margin-top: 1.2rem;
  animation: ringPulse 2.5s ease-in-out infinite, fadeUp 1.4s 0.65s var(--ease-out-expo) both;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50%       { transform: scale(1.15) rotate(5deg); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  animation: fadeUp 1.4s 1s var(--ease-out-expo) both;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.7));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════
   STORY
═══════════════════════════════════════════════════ */
.story {
  padding: 7rem 0 6rem;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.story::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: var(--sand);
  margin: 0 auto 4rem;
}

.story__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.9;
  color: #4a4a4a;
  max-width: 680px;
  margin-bottom: 1.4rem;
}

/* ═══════════════════════════════════════════════════
   DATE BANNER
═══════════════════════════════════════════════════ */
.date-banner {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.date-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,154,0.15) 0%, transparent 70%);
}

.date-banner__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.date-banner__item {
  text-align: center;
}

.date-banner__number {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.date-banner__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
  margin-top: 0.4rem;
}

.date-banner__divider {
  font-size: 1.2rem;
  color: var(--blush);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.gallery__grid {
  display: grid;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: rgba(255,255,255,0.9);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   COUNTDOWN / TOGETHERNESS
═══════════════════════════════════════════════════ */
.countdown {
  padding: 7rem 0;
  background: var(--sand);
  position: relative;
  z-index: 1;
  text-align: center;
}

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.countdown__num {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
  transition: transform 0.3s var(--ease-out-expo);
}

.countdown__num.flip {
  transform: scale(1.15);
}

.countdown__lbl {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════
   WISHES
═══════════════════════════════════════════════════ */
.wishes {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.wishes__form {
  max-width: 600px;
  margin-bottom: 3rem;
}

.wishes__row {
  margin-bottom: 1rem;
}

.wishes__input,
.wishes__textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}

.wishes__input:focus,
.wishes__textarea:focus {
  border-color: var(--blush);
}

.wishes__btn {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.4rem;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}

.wishes__btn:hover {
  background: var(--rose);
  transform: translateY(-1px);
}

.wishes__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
}

.wish-card {
  background: var(--white);
  border-left: 3px solid var(--blush);
  padding: 1.2rem 1.4rem;
  border-radius: 0 3px 3px 0;
  animation: fadeUp 0.5s var(--ease-out-expo) both;
}

.wish-card__name {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 0.4rem;
}

.wish-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

/* ═══════════════════════════════════════════════════
   SITE-FOOTER  (stijl: aronenangelica.nl)
═══════════════════════════════════════════════════ */
.site-footer {
  background-color: #0d1b2e;        /* diep donkerblauw */
  color: #c8bfb5;
  text-align: center;
  padding: 5.5rem 1.5rem 3.5rem;
  position: relative;
  z-index: 1;
}

/* Monogram initialen */
.site-footer__monogram {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: rgba(200, 191, 181, 0.25);
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
  user-select: none;
}

/* Namen */
.site-footer__names {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: #e8e0d8;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* Datum */
.site-footer__date {
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a9bb5;
  margin-bottom: 0;
}

/* Scheidingslijn onder datum */
.site-footer__date::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(138, 155, 181, 0.35);
  margin: 1.3rem auto 0;
}

/* Tagline */
.site-footer__tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: #8a8580;
  line-height: 1.75;
  max-width: 420px;
  margin: 1.2rem auto 2.5rem;
}

/* Credit regel */
.site-footer__credit {
  font-family: var(--ff-sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3d4f66;
}

.site-footer__credit a {
  color: #5a6e87;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(90, 110, 135, 0.4);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.site-footer__credit a:hover {
  color: #8a9bb5;
  text-decoration-color: rgba(138, 155, 181, 0.65);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .date-banner__inner { gap: 1.5rem 2rem; }
  .countdown__grid    { gap: 1.5rem 2rem; }
  .hero__title        { gap: 0.2em; }
}
