/* ============================================
   Wedding Landing — Артур & Диана
   Theme: Mafia / Black Tie / Dark Romance
   ============================================ */

/* --- Moonscape Font --- */
@font-face {
  font-family: 'Moonscape';
  src: url('../assets/fonts/moonscape-demo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Faith Font (hero names only) --- */
@font-face {
  font-family: 'Faith';
  src: url('../assets/fonts/faith.otf') format('opentype'),
       url('../assets/fonts/faith.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --black: #000000;
  --white: #FFFFFF;
  --burgundy: #800020;
  --burgundy-deep: #6B0F1A;
  --gold: #c9a96e;
  --gold-light: #d4ba82;
  --gray-dark: #1a1a1a;
  --gray-medium: #2a2a2a;
  --gray-light: #999999;
  --text-muted: #b0b0b0;
  --burgundy-dark: #0a0003;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
  --font-body: 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

::selection {
  background: var(--burgundy);
  color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-family: 'Moonscape', var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  margin-bottom: 0.5em;
  color: var(--white);
  letter-spacing: 0.12em;
  font-weight: normal;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1em;
  font-variant: small-caps;
}

/* --- Ornamental Divider --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.5rem auto;
  width: 280px;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament-icon {
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.15s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.45s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 2rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--white);
}

.nav a:hover::after {
  width: 100%;
}

/* ============================================
   1. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../assets/images/hero/artur-diana.jpg') center 20% / cover no-repeat;
  background-attachment: fixed;
}

/* Fallback for mobile where fixed attachment doesn't work */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll;
  }
}

.hero-bg {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.5);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 250px rgba(0,0,0,0.7);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.hero-names {
  font-family: 'Faith', var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: normal;
  text-transform: none;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 4px 50px rgba(0,0,0,0.7);
  margin-bottom: 0.3em;
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-ampersand {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold);
  font-size: 0.6em;
  display: inline-block;
  margin: 0 0.15em;
  vertical-align: middle;
}

.hero-date {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--white);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 2.5rem;
}

.hero-ornament {
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

.countdown-item {
  text-align: center;
  min-width: 70px;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 30px rgba(201,169,110,0.3);
  font-weight: 300;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  display: block;
}

/* Hero CTA */
.hero-cta {
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--black);
  border-color: var(--gold);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn-burgundy {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}

.btn-burgundy::before {
  background: var(--burgundy-deep);
}

.btn-burgundy:hover {
  color: var(--white);
  border-color: var(--burgundy-deep);
}

.btn-gold-filled {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

.btn-gold-filled::before {
  background: var(--gold-light);
}

.btn-gold-filled:hover {
  color: var(--black);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  animation: heroFadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTION WRAPPER
   ============================================ */
.section {
  padding: 100px 2rem;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-dark {
  background: var(--burgundy-dark);
}

.section-darker {
  background: var(--gray-dark);
}

.section-gradient {
  background: var(--black);
}

/* Decorative section divider */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero::before {
  display: none;
}

/* ============================================
   2. VENUE SECTION
   ============================================ */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.venue-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.venue-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.venue-address {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.venue-address svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.venue-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.venue-buttons .btn {
  font-size: 0.7rem;
  padding: 0.8rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.venue-map-wrap {
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.25);
  overflow: hidden;
}

.venue-map-wrap::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 169, 110, 0.1);
  pointer-events: none;
  z-index: 1;
}

.venue-map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(1) brightness(0.4) contrast(1.3) sepia(0.3);
  transition: filter 0.5s ease;
}

.venue-map-wrap:hover iframe {
  filter: grayscale(0.5) brightness(0.6) contrast(1.2) sepia(0.1);
}

/* --- Venue Photo Gallery --- */
.venue-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.venue-gallery-item {
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.15);
  aspect-ratio: 16 / 10;
}

.venue-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.venue-gallery-item:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.03);
}

@media (max-width: 700px) {
  .venue-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   3. DRESS CODE SECTION
   ============================================ */
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.dresscode-card {
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  background: rgba(201, 169, 110, 0.03);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.dresscode-card:hover {
  border-color: rgba(201, 169, 110, 0.45);
  background: rgba(201, 169, 110, 0.05);
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.08);
}

.dresscode-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.dresscode-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.dresscode-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  opacity: 0.8;
}

.dresscode-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.dresscode-card ul {
  list-style: none;
  text-align: left;
}

.dresscode-card li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.dresscode-card li:last-child {
  border-bottom: none;
}

.dresscode-card li svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.2rem;
  opacity: 0.6;
}

.dresscode-note {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid rgba(128, 0, 32, 0.3);
  background: rgba(128, 0, 32, 0.08);
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.dresscode-note strong {
  color: var(--white);
  font-style: normal;
}

/* ============================================
   3.5 ATMOSPHERE GALLERY
   ============================================ */
.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}

.atmosphere-item {
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.12);
  aspect-ratio: 3 / 4;
}

.atmosphere-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.atmosphere-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.atmosphere-item:hover img {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .atmosphere-grid {
    grid-template-columns: 1fr 1fr;
  }

  .atmosphere-item--wide {
    grid-column: span 2;
  }
}

/* ============================================
   4. LOTTERY SECTION (instead of flowers)
   ============================================ */
.lottery-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lottery-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(128, 0, 32, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.lottery-inner {
  position: relative;
  z-index: 1;
  border: 2px solid rgba(201, 169, 110, 0.3);
  padding: 4rem 3rem;
  background: rgba(128, 0, 32, 0.06);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(128, 0, 32, 0.1), inset 0 0 60px rgba(0,0,0,0.3);
}

.lottery-inner::before,
.lottery-inner::after {
  content: '\2726';
  position: absolute;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.5;
}

.lottery-inner::before {
  top: 1rem;
  left: 1.5rem;
}

.lottery-inner::after {
  bottom: 1rem;
  right: 1.5rem;
}

.lottery-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.lottery-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.lottery-quote em {
  color: var(--gold);
  font-style: normal;
}

.lottery-text {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.lottery-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  border: 2px solid var(--gold);
  background: rgba(201, 169, 110, 0.08);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  font-weight: 600;
}

.lottery-highlight svg {
  color: var(--gold);
}

.lottery-crossed {
  text-decoration: line-through;
  color: var(--gray-light);
  opacity: 0.5;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ============================================
   5. RSVP FORM SECTION
   ============================================ */
.rsvp-section {
  position: relative;
}

.rsvp-form-wrap {
  max-width: 680px;
  margin: 3rem auto 0;
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 3.5rem;
  background: rgba(201, 169, 110, 0.03);
  box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

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

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201, 169, 110, 0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23C9A84C'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--gray-dark);
  color: var(--white);
}

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

/* Radio / Toggle group */
.form-radio-group {
  display: flex;
  gap: 0;
}

.form-radio-group label {
  flex: 1;
  text-align: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  color: var(--text-muted);
  position: relative;
}

.form-radio-group label:first-child {
  border-right: none;
}

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

.form-radio-group input[type="radio"]:checked + label,
.form-radio-group label.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Attendance specific toggle */
.attendance-toggle {
  display: flex;
  gap: 0;
}

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

.attendance-toggle label {
  flex: 1;
  text-align: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.attendance-toggle label:first-of-type {
  border-right: none;
}

.attendance-toggle input[type="radio"]:checked + label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Menu radio */
.menu-options {
  display: flex;
  gap: 0;
}

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

.menu-options label {
  flex: 1;
  text-align: center;
  padding: 0.9rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.menu-options label:not(:last-child) {
  border-right: none;
}

.menu-options input[type="radio"]:checked + label {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

/* Dish selection */
.dish-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

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

.dish-options label {
  display: block;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  color: var(--text-muted);
  border-radius: 2px;
}

.dish-options label:hover {
  border-color: var(--gold);
  color: var(--white);
}

.dish-options input[type="radio"]:checked + label {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

/* Stay overnight */
.stay-toggle {
  display: flex;
  gap: 0;
}

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

.stay-toggle label {
  flex: 1;
  text-align: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.stay-toggle label:first-of-type {
  border-right: none;
}

.stay-toggle input[type="radio"]:checked + label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Plus-one collapsible */
.plus-one-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  opacity: 0;
}

.plus-one-wrap.open {
  max-height: 1200px;
  opacity: 1;
}

/* Checkbox */
.form-checkbox-wrap {
  position: relative;
}

.form-checkbox-wrap > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  user-select: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 0.1rem;
}

.form-checkbox-wrap > input[type="checkbox"]:checked + .form-checkbox .checkbox-custom {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.checkbox-custom svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
  color: var(--white);
}

.form-checkbox-wrap > input[type="checkbox"]:checked + .form-checkbox .checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 1.4rem 2rem;
  margin-top: 1rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  letter-spacing: 0.3em;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn-submit:hover {
  color: var(--black);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.btn-submit:hover::before {
  transform: scaleY(1);
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-submit:disabled:hover::before {
  transform: scaleY(0);
}

.btn-submit:disabled:hover {
  color: var(--gold);
}

/* Form validation */
.form-error {
  font-size: 0.75rem;
  color: var(--burgundy);
  margin-top: 0.4rem;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--burgundy);
}

.form-group.error .form-error {
  display: block;
}

/* Success overlay */
.rsvp-success {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.rsvp-success.show {
  opacity: 1;
  pointer-events: all;
}

.rsvp-success-inner {
  text-align: center;
  padding: 3rem;
  max-width: 500px;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rsvp-success.show .rsvp-success-inner {
  transform: translateY(0);
}

.rsvp-success-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.rsvp-success h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.rsvp-success p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Decline overlay */
.rsvp-decline {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.rsvp-decline.show {
  opacity: 1;
  pointer-events: all;
}

.rsvp-decline-inner {
  text-align: center;
  padding: 3rem;
  max-width: 500px;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rsvp-decline.show .rsvp-decline-inner {
  transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--black);
}

.footer-names {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-names .hero-ampersand {
  font-size: 0.8em;
}

.footer-date {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }

  .venue-map-wrap {
    order: -1;
  }

  .venue-map-wrap iframe {
    height: 300px;
  }

  .dresscode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 80px 1.5rem;
  }

  .hero {
    background-attachment: scroll;
  }

  .lottery-inner {
    padding: 2.5rem 1.5rem;
  }

  .nav {
    gap: 1rem;
    padding: 1rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .hero-names {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .countdown {
    gap: 0.8rem;
  }

  .countdown-item {
    min-width: 55px;
  }

  .countdown-number {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .rsvp-form-wrap {
    padding: 2rem 1.5rem;
  }

  .menu-options {
    flex-direction: column;
  }

  .menu-options label:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
  }

  .lottery-highlight {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .venue-buttons {
    flex-direction: column;
  }

  .venue-buttons .btn {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .hero-names {
    font-size: 2rem;
  }

  .countdown-item {
    min-width: 45px;
  }

  .nav a {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-gold { color: var(--gold); }
.text-burgundy { color: var(--burgundy); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
