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

:root {
  --rose: #f2a7b8;
  --rose-deep: #d4637a;
  --rose-light: #fce8ed;
  --blush: #fdf0f3;
  --gold: #c9a84c;
  --gold-light: #f5e9cc;
  --ivory: #fdf8f5;
  --text-dark: #3a2530;
  --text-mid: #7a5a62;
  --text-soft: #b08090;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory);
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* =========================================
         SCROLLBAR (still stylish)
      ========================================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--rose-light);
}

::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 3px;
}

/* =========================================
         FLOATING PETALS BACKGROUND
      ========================================= */
.petals-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 12px;
  height: 16px;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: floatPetal linear infinite;
}

.petal:nth-child(odd) {
  background: var(--rose);
}

.petal:nth-child(even) {
  background: var(--gold);
}

@keyframes floatPetal {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* =========================================
         MAIN WRAPPER
      ========================================= */
#app {
  position: relative;
  z-index: 5;
}

/* =========================================
         HERO SECTION — with VIDEO BACKGROUND
      ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.65) contrast(1.1) saturate(1.1);
  transition: filter 0.3s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(245, 233, 204, 0.85);
  backdrop-filter: blur(4px);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  animation: fadeSlideDown 1s ease both;
}

.hero__eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: #fff9f0;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeSlideDown 1s ease 0.2s both;
}

.hero__name {
  font-family: "Playfair Display", serif;
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 700;
  font-style: italic;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  animation: fadeSlideDown 1.2s ease 0.3s both;
  background: linear-gradient(135deg, #ffffff 20%, #ffdfdb 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 4vw, 36px);
  font-weight: 400;
  color: #fff3ea;
  letter-spacing: 4px;
  margin-bottom: 32px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: fadeSlideDown 1.2s ease 0.5s both;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  animation: fadeIn 1.5s ease 0.7s both;
}

.hero__divider-line {
  width: 80px;
  height: 1px;
  background: rgba(255, 245, 235, 0.7);
}

.hero__divider-line:last-child {
  background: rgba(255, 245, 235, 0.7);
}

.hero__divider-icon {
  font-size: 18px;
  color: #ffdfd0;
}

.hero__date-block {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 48px;
  animation: fadeSlideUp 1.2s ease 0.8s both;
}

.hero__date-item {
  text-align: center;
}

.hero__date-num {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff0e0;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero__date-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffefe2;
  margin-top: 4px;
}

.hero__date-sep {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  color: #ffd8c6;
  align-self: center;
}

.hero__quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: #fff4ed;
  max-width: 520px;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  margin-top: 0.5rem;
  animation: fadeIn 1.5s ease 1s both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite 2s;
  opacity: 0.75;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero__scroll-hint span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff1e6;
  border-bottom: 2px solid #fff1e6;
  transform: rotate(45deg);
  margin: -6px auto;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =========================================
         SECTION BASE
      ========================================= */
section {
  padding: 80px 24px;
  max-width: 780px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* =========================================
         FULL-WIDTH PINK BAND
      ========================================= */
.band {
  background: linear-gradient(
    135deg,
    var(--rose-deep) 0%,
    #e8738a 60%,
    #f2a7b8 100%
  );
  padding: 60px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.band__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 5vw, 40px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  position: relative;
}

.band__sub {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  font-style: italic;
}

/* =========================================
         PROGRAMME TIMELINE
      ========================================= */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--rose-light),
    var(--rose),
    var(--rose-light)
  );
}

.timeline__item {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline__dot {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--rose-deep);
  text-align: center;
  box-shadow: 0 4px 16px rgba(212, 99, 122, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline__item:hover .timeline__dot {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(212, 99, 122, 0.25);
}

.timeline__content {
  padding-top: 8px;
}

.timeline__time {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline__title-item {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.timeline__desc {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--text-soft);
  font-style: italic;
}

/* =========================================
         DRESSCODE PALETTE CARDS
      ========================================= */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 32px;
}

.palette-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  background: white;
}

.palette-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.palette-card__swatch {
  height: 80px;
  width: 100%;
}

.palette-card__info {
  background: var(--white);
  padding: 16px 8px;
}

.palette-card__name {
  font-family: "Playfair Display", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.palette-card__hex {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 2px;
  font-family: monospace;
}

/* =========================================
         VENUE CARD
      ========================================= */
.venue-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(212, 99, 122, 0.12);
  margin-top: 40px;
}

.venue-card__img-placeholder {
  height: 320px;
  background: linear-gradient(
    135deg,
    var(--rose-light) 0%,
    var(--gold-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.venue-card__img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-card__body {
  padding: 32px;
}

.venue-card__name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.venue-card__address {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 24px;
}

.venue-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-deep);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.venue-card__btn:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
}

.gifts-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gifts-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--rose);
  transition: transform 0.2s ease;
}

.gifts-list__item:hover {
  transform: translateX(4px);
}

.gifts-list__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.gifts-list__text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--text-mid);
  font-style: italic;
}

.rsvp-card {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #e8738a 100%);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 16px 60px rgba(212, 99, 122, 0.3);
  position: relative;
  overflow: hidden;
}

.rsvp-card__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  text-align: center;
}

.rsvp-card__sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-style: italic;
  margin-bottom: 36px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rsvp-form__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.rsvp-form__input,
.rsvp-form__textarea,
.rsvp-form__select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  outline: none;
  backdrop-filter: blur(4px);
}

.rsvp-form__input::placeholder,
.rsvp-form__textarea::placeholder,
.rsvp-form__select::placeholder {
  color: #fff;
  font-style: italic;
}

.rsvp-form__select option {
  color: #000;
}

.rsvp-form__input:focus,
.rsvp-form__textarea:focus,
.rsvp-form__select:focus {
  background: rgba(255, 255, 255, 0.25);
}

.rsvp-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rsvp-form__radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

.rsvp-form__submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: var(--rose-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.rsvp-form__submit:hover {
  transform: translateY(-2px);
}

.rsvp-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.rsvp-success__emoji {
  font-size: 56px;
}

.rsvp-success__text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: #fff;
}

.music-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-deep);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 24px rgba(212, 99, 122, 0.4);
  transition: transform 0.3s;
  animation: pulseRing 2.5s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow:
      0 6px 24px rgba(212, 99, 122, 0.4),
      0 0 0 0 rgba(212, 99, 122, 0.4);
  }

  50% {
    box-shadow:
      0 6px 24px rgba(212, 99, 122, 0.4),
      0 0 0 14px rgba(212, 99, 122, 0);
  }

  100% {
    box-shadow:
      0 6px 24px rgba(212, 99, 122, 0.4),
      0 0 0 0 rgba(212, 99, 122, 0);
  }
}

.music-fab:hover {
  transform: scale(1.1);
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.countdown-unit {
  background: var(--white);
  border-radius: 20px;
  padding: 8px 12px;
  text-align: center;
  min-width: 64px;
  box-shadow: 0 4px 20px rgba(212, 99, 122, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.countdown-unit__num {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1;
}

.countdown-unit__label {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer {
  text-align: center;
  padding: 48px 24px 60px;
  background: var(--blush);
}

.footer__heart {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.footer__text {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: var(--text-soft);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 20px;
  }

  .rsvp-card {
    padding: 32px 20px;
  }

  .hero__date-block {
    gap: 20px;
  }

  .music-fab {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}
