/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --wedding-cream: hsl(47, 55%, 95%);
  --wedding-paper: hsl(30, 27%, 96%);
  --wedding-blush: hsl(350, 60%, 92%);
  --wedding-sage: hsl(140, 20%, 75%);
  --wedding-accent: hsl(27, 58%, 59%);
  --wedding-gold: hsl(30, 58%, 77%);
  --wedding-olive: hsl(90, 24%, 24%);
  --wedding-dark: hsl(30, 10%, 25%);
  --wedding-envelope: hsl(152, 28%, 32%);
  --wedding-seal: hsl(0, 50%, 32%);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--wedding-dark);
  background: var(--wedding-cream);
  overflow: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.unlocked {
  overflow-y: auto;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--wedding-accent);
  text-decoration: none;
}

/* ============================================
   ENVELOPE OVERLAY
   ============================================ */
#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wedding-cream);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#envelope-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: sceneEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sceneEntry {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Envelope container with perspective */
.envelope-container {
  position: relative;
  width: 300px;
  height: 200px;
  perspective: 900px;
}

@media (min-width: 768px) {
  .envelope-container {
    width: 380px;
    height: 250px;
  }
}

/* Envelope back panel */
.envelope-back {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.03) 3px,
      rgba(255,255,255,0.03) 6px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.02) 3px,
      rgba(0,0,0,0.02) 6px
    ),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(160deg, hsl(152, 30%, 38%) 0%, hsl(152, 28%, 28%) 100%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.15),
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Envelope front (bottom part, covers the card bottom) */
.envelope-front {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  border-radius: 0 0 6px 6px;
  background:
    repeating-linear-gradient(
      30deg,
      transparent,
      transparent 4px,
      rgba(255,255,255,0.02) 4px,
      rgba(255,255,255,0.02) 8px
    ),
    linear-gradient(180deg, hsl(152, 28%, 34%) 0%, hsl(152, 30%, 30%) 100%);
  z-index: 3;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Inner card */
.envelope-card {
  position: absolute;
  top: 10%;
  left: 8%;
  right: 8%;
  height: 75%;
  background: linear-gradient(145deg, #faf8f5 0%, #f0ece5 100%);
  border-radius: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.opening .envelope-card {
  transform: translateY(-85%);
}

.card-inner {
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.6s ease 1s;
}

.opening .card-inner {
  opacity: 1;
}

.card-subtitle {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--wedding-accent);
  margin-bottom: 0.3rem;
}

.card-names {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--wedding-olive);
}

.card-date {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--wedding-dark);
  margin-top: 0.3rem;
  opacity: 0.7;
}

/* Envelope flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  z-index: 4;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.opening .envelope-flap {
  transform: rotateX(-180deg);
}

.envelope-flap-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.03) 3px,
      rgba(255,255,255,0.03) 6px
    ),
    linear-gradient(180deg, hsl(152, 30%, 36%) 0%, hsl(152, 28%, 30%) 80%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Wax Seal */
.wax-seal {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 72px;
  height: 72px;
  cursor: pointer;
  animation: sealFloat 3s ease-in-out infinite;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 768px) {
  .wax-seal {
    width: 88px;
    height: 88px;
  }
}

.opening .wax-seal {
  animation: sealBreak 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sealFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-4px); }
}

@keyframes sealBreak {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  30% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.6) rotate(20deg); opacity: 0; }
}

.seal-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, hsl(0, 55%, 42%), hsl(0, 50%, 30%) 55%, hsl(0, 45%, 22%) 100%);
  box-shadow:
    0 3px 6px rgba(0,0,0,0.35),
    0 6px 20px rgba(0,0,0,0.2),
    inset 0 -3px 8px rgba(0,0,0,0.35),
    inset 0 2px 4px rgba(255,255,255,0.12),
    inset 0 0 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-outer-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, hsl(0, 45%, 28%) 60%, hsl(0, 50%, 32%) 70%, hsl(0, 45%, 26%) 80%, transparent 82%);
  /* Scalloped edge effect */
  mask-image: radial-gradient(circle, white 56%, transparent 56%),
    repeating-conic-gradient(from 0deg, white 0deg 8deg, transparent 8deg 12deg);
  -webkit-mask-image: radial-gradient(circle, white 56%, transparent 56%),
    repeating-conic-gradient(from 0deg, white 0deg 8deg, transparent 8deg 12deg);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.seal-initials {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: rgba(255, 200, 180, 0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 -1px 1px rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .seal-initials { font-size: 1.8rem; }
}

.seal-amp {
  font-size: 0.8em;
  margin: 0 1px;
}

.seal-shine {
  position: absolute;
  top: 12%;
  left: 18%;
  width: 35%;
  height: 25%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.15), transparent 70%);
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}

/* Seal pulse glow */
.wax-seal::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 60, 50, 0.25), transparent 70%);
  animation: sealPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sealPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Invite label below envelope */
.invite-label {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--wedding-olive);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

@media (min-width: 768px) {
  .invite-label { font-size: 2.2rem; }
}

.tap-prompt {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wedding-dark);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s, promptPulse 2.5s ease-in-out infinite 2s;
}

@keyframes promptPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

/* Particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 101;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wedding-seal);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.15) 40%,
      rgba(0,0,0,0.25) 70%,
      rgba(0,0,0,0.5) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem 1.5rem;
  margin-bottom: 6rem;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.4em; }
}

.hero-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  display: inline;
}

.hero-amp {
  font-size: 0.6em;
  margin: 0 0.1em;
  opacity: 0.8;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.divider-line {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.divider-star {
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero-date {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
}

@media (min-width: 768px) {
  .hero-date { font-size: 0.9rem; letter-spacing: 0.3em; }
}

.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 0 1.5rem;
}

@media (max-width: 767px) {
  .hero-bottom {
    bottom: 3.5rem;
  }

  .hero-content {
    margin-bottom: 7rem;
  }
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 90vw;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: white;
}

.scroll-indicator {
  color: rgba(255,255,255,0.6);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Hero fade-up animations (triggered after envelope opens) */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
}

body.envelope-opened .fade-up {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Mute Button */
.mute-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

body.envelope-opened .mute-btn {
  opacity: 1;
  pointer-events: auto;
}

.mute-btn:hover {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--wedding-cream);
  padding: 4rem 1.5rem;
}

.content-section.alt-bg {
  background: var(--wedding-paper);
}

.section-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: var(--wedding-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  text-align: center;
  color: var(--wedding-olive);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-align: center;
  color: var(--wedding-dark);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.subsection-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  text-align: center;
  color: var(--wedding-olive);
  margin: 3rem 0 1.5rem;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TIMELINE (Our Journey)
   ============================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--wedding-gold) 10%, var(--wedding-gold) 90%, transparent);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-entry {
  position: relative;
  padding-left: 52px;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .timeline-entry {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
    margin-left: 0;
    text-align: right;
  }

  .timeline-entry:nth-child(even) {
    margin-left: 50%;
    text-align: left;
    padding-right: 0;
    padding-left: 3rem;
  }
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wedding-accent);
  margin-bottom: 0.3rem;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--wedding-gold);
  border: 2px solid var(--wedding-cream);
  box-shadow: 0 0 0 2px var(--wedding-gold);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: auto;
    right: -7px;
  }

  .timeline-entry:nth-child(even) .timeline-dot {
    right: auto;
    left: -7px;
  }
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--wedding-olive);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
}

/* ============================================
   PROGRAM TIMELINE (Day Program)
   ============================================ */
.program-timeline {
  position: relative;
  max-width: 500px;
  margin: 2rem auto 0;
  padding-left: 24px;
}

.program-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--wedding-gold) 5%, var(--wedding-gold) 95%, transparent);
}

.program-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1rem 0;
  position: relative;
}

.program-dot {
  position: absolute;
  left: -23px;
  top: 1.2rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wedding-cream);
  border: 2px solid var(--wedding-gold);
  flex-shrink: 0;
}

.alt-bg .program-dot {
  background: var(--wedding-paper);
}

.program-time {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wedding-accent);
  min-width: 70px;
  flex-shrink: 0;
}

.program-info h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--wedding-olive);
  margin-bottom: 0.15rem;
}

.program-info p {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================
   GIFTS
   ============================================ */
.gifts-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.gifts-content > p:first-child {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.gifts-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gifts-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.iban-details {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  font-size: 0.8rem;
}

.iban-details p {
  margin-bottom: 0.3rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: var(--wedding-olive);
  color: white;
  border-color: var(--wedding-olive);
}

.btn-primary:hover {
  background: hsl(90, 24%, 30%);
}

.btn-outline {
  background: transparent;
  color: var(--wedding-olive);
  border-color: var(--wedding-olive);
}

.btn-outline:hover {
  background: var(--wedding-olive);
  color: white;
}

.btn-sm {
  font-size: 0.6rem;
  padding: 0.45rem 1rem;
}

.btn-lg {
  font-size: 0.75rem;
  padding: 0.8rem 2.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================
   EVENT DETAILS
   ============================================ */
.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}

.detail-icon {
  color: var(--wedding-accent);
  margin-bottom: 1rem;
}

.detail-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--wedding-olive);
  margin-bottom: 0.8rem;
}

.detail-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wedding-accent);
  margin-bottom: 0.8rem;
}

.detail-venue {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--wedding-dark);
  margin-bottom: 0.2rem;
}

.detail-address {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 0.15rem;
}

.detail-desc {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 1rem 0;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.dress-code-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--wedding-accent);
  margin-bottom: 0.8rem;
}

/* ============================================
   RSVP FORM
   ============================================ */
.rsvp-form {
  max-width: 500px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--wedding-dark);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--wedding-accent);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  background: white;
  color: var(--wedding-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wedding-accent);
  box-shadow: 0 0 0 3px rgba(191, 145, 103, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 400;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--wedding-olive);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: var(--wedding-olive);
}

.rsvp-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wedding-olive);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.rsvp-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--wedding-olive);
  margin-bottom: 0.5rem;
}

.rsvp-success p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   HOTELS & THINGS TO DO
   ============================================ */
.hotels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hotel-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}

.hotel-card h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--wedding-olive);
  margin-bottom: 0.5rem;
}

.hotel-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--wedding-blush);
  color: var(--wedding-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

.hotel-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--wedding-dark);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

.hotel-note {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.6;
  margin-top: 0.3rem;
}

.things-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.thing-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--wedding-dark);
  opacity: 0.8;
}

.thing-item svg {
  color: var(--wedding-accent);
  flex-shrink: 0;
}

/* Contact Block */
.contact-block {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.contact-block > p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--wedding-accent);
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--wedding-olive);
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-names {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.footer-date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-love {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.heart {
  color: hsl(350, 60%, 65%);
  display: inline;
}

.footer-hashtag {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  opacity: 0.5;
  font-style: italic;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (min-width: 768px) {
  .content-section {
    padding: 5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .content-section {
    padding: 6rem 2rem;
  }
}
