/* Begüm & Veysel — Pinterest-Warm Wedding Theme */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Josefin+Sans:wght@200;300;400;500;600&family=Great+Vibes&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  /* Palette */
  --clr-burgundy: #800020;
  --clr-burgundy-light: #a0324f;
  --clr-burgundy-dark: #5c0018;
  --clr-olive: #556b2f;
  --clr-olive-light: #7a9a50;
  --clr-olive-dark: #3d4d22;
  --clr-olive-muted: #6b7f4a;
  --clr-white: #ffffff;
  --clr-cream: #faf6f0;
  --clr-cream-warm: #f5efe6;
  --clr-linen: #f0ebe3;
  --clr-sand: #e8ddd0;
  --clr-gold: #c9a96e;
  --clr-gold-light: #dac7b6;
  --clr-text: #2c2c2c;
  --clr-text-muted: #6b6b6b;
  --clr-text-light: #999;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Josefin Sans', 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Layout */
  --max-w: 780px;
  --nav-h: 4.5rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 30px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(85, 107, 47, 0.08);
  --shadow-card: 0 8px 40px rgba(44, 44, 44, 0.08), 0 2px 8px rgba(44, 44, 44, 0.04);
  --shadow-elevated: 0 16px 60px rgba(44, 44, 44, 0.12), 0 4px 16px rgba(44, 44, 44, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.7s;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-cream);
}

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

a {
  color: var(--clr-burgundy);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}

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

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  color: var(--clr-text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-md);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
}

p {
  margin: 0 0 var(--sp-md);
  color: var(--clr-text);
  font-weight: 300;
}

p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   SKIP LINK
   ═══════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  z-index: 100;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--clr-white);
  color: var(--clr-burgundy);
  border-radius: var(--r-sm);
}

.skip-link:focus {
  top: var(--sp-md);
}

/* ═══════════════════════════════════════════
   HEADER & NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(85, 107, 47, 0.08);
  min-height: var(--nav-h);
  transition: background var(--t-med) var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-2xl);
}

.site-logo {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--clr-burgundy);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.site-logo:hover {
  opacity: 0.8;
  color: var(--clr-burgundy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--sp-sm);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-olive);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-olive-dark);
  text-decoration: none;
  position: relative;
  padding: var(--sp-sm) 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: var(--sp-sm);
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-burgundy);
  transition: width var(--t-med) var(--ease-out);
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--clr-burgundy);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-toggle .lang-btn {
  padding: var(--sp-xs) var(--sp-sm);
  min-width: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--clr-sand);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}

.lang-toggle .lang-btn:first-child {
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  border-right: none;
}

.lang-toggle .lang-btn:last-child {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.lang-toggle .lang-btn:hover {
  color: var(--clr-burgundy);
  border-color: var(--clr-burgundy);
}

.lang-toggle .lang-btn.is-active {
  background: var(--clr-burgundy);
  color: var(--clr-white);
  border-color: var(--clr-burgundy);
}

/* Dark theme nav overrides */
body:has(.details-page) .site-header {
  background: rgba(61, 77, 34, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:has(.details-page) .site-logo,
body:has(.details-page) .nav-menu a,
body:has(.details-page) .nav-toggle {
  color: var(--clr-cream);
}

body:has(.details-page) .nav-menu a:hover {
  color: var(--clr-gold-light);
}

body:has(.details-page) .nav-menu a:not(.btn)::after {
  background: var(--clr-gold-light);
}

body:has(.details-page) .lang-toggle .lang-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

body:has(.details-page) .lang-toggle .lang-btn:hover,
body:has(.details-page) .lang-toggle .lang-btn.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .header-inner {
    padding: var(--sp-md);
  }

  .site-logo {
    font-size: 1.25rem;
    min-width: 0;
    padding-right: var(--sp-sm);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-lg);
    background: rgba(250, 246, 240, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-sand);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }
}

/* ═══════════════════════════════════════════
   BUTTONS / CTA
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-sm) var(--sp-xl);
  min-height: 44px;
  background: var(--clr-burgundy);
  color: var(--clr-white) !important;
  text-decoration: none !important;
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--clr-burgundy);
  cursor: pointer;
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  background: var(--clr-burgundy-dark);
  border-color: var(--clr-burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(128, 0, 32, 0.25);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stagger children */
.scroll-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.scroll-reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.scroll-reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.scroll-reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.scroll-reveal:nth-child(6) {
  transition-delay: 0.5s;
}

.scroll-reveal:nth-child(7) {
  transition-delay: 0.6s;
}

/* ═══════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════ */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
}

#page {
  scroll-margin-top: var(--nav-h);
}

/* ═══════════════════════════════════════════
   SINGLE PAGE LAYOUT
   ═══════════════════════════════════════════ */
body.page-single {
  overflow-x: hidden;
  display: block;
  min-height: 100vh;
  margin: 0;
}

body.page-single main {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* ═══════════════════════════════════════════
   HERO / DETAILS SECTION (Dark Olive)
   ═══════════════════════════════════════════ */
.section-details-container {
  background: linear-gradient(175deg, var(--clr-olive-dark) 0%, var(--clr-olive) 50%, var(--clr-olive-muted) 100%);
  color: var(--clr-white);
  position: relative;
  z-index: 20;
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.section-details-container::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.02'%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");
  pointer-events: none;
}

.section-details-container h2,
.section-details-container h3,
.section-details-container .page-title {
  color: var(--clr-white);
}

.section-details-container p {
  color: rgba(255, 255, 255, 0.88);
}

/* Hero */
.details-hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3xl);
}

.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

.details-hero .page-title {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 90%;
  white-space: nowrap;
  font-family: var(--font-script);
  font-style: normal;
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 300;
  color: var(--clr-burgundy);
  text-align: center;
  margin: 0;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(255, 255, 255, 0.2);
  z-index: 2;
  animation: title-float 4s ease-in-out infinite;
}

@keyframes title-float {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

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

/* Details Content */
.details-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  text-align: center;
}

.details-content h2 {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: var(--sp-xl);
  color: var(--clr-white);
  position: relative;
}

.details-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--clr-gold);
  margin: var(--sp-md) auto 0;
  opacity: 0.6;
}

.details-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-sm);
  color: var(--clr-gold-light);
  font-weight: 400;
}

.details-content p {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Date block (cream background, before venue) */
.section-date-only {
  background: var(--clr-cream);
  padding: var(--sp-2xl) var(--sp-lg);
  margin-bottom: 0;
}

.section-date-only .date-display {
  color: var(--clr-burgundy);
  border-top-color: rgba(44, 44, 44, 0.15);
  border-bottom-color: rgba(44, 44, 44, 0.15);
}

/* Date & Location */
.section-date-location {
  margin-bottom: var(--sp-3xl);
}

.date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-xl);
  color: var(--clr-gold);
  font-family: var(--font-display);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--sp-lg) var(--sp-2xl);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.date-display span {
  display: block;
}

.date-display .month {
  letter-spacing: 0.3em;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.date-display .day {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  font-weight: 300;
}

.date-display .year {
  letter-spacing: 0.3em;
  font-size: 1.7rem;
  font-weight: 500;
}

.venue-display h2 {
  font-family: var(--font-display);
  font-size: 1.75rem !important;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.venue-image-wrapper {
  max-width: 100%;
  margin: 0 auto var(--sp-xl);
  padding: 0 var(--sp-lg);
}

.venue-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.venue-display h2::after {
  display: none;
}

.reception-note {
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: var(--sp-md);
}

/* Dress Code */
.section-dress-code {
  margin-bottom: var(--sp-3xl);
  text-align: center;
}

.section-dress-code h2 {
  margin-bottom: var(--sp-md);
}

.dress-code-intro {
  margin-bottom: var(--sp-lg);
  opacity: 0.9;
}

.dress-code-colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
}

.color-circle {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════
   TIMELINE (Pinterest Card Grid)
   ═══════════════════════════════════════════ */
.section-timeline {
  margin-bottom: var(--sp-3xl);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  max-width: 400px;
  margin: 0 auto;
}

.timeline-items::before {
  display: none;
}

.timeline-item {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--t-med) var(--ease-out);
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.timeline-icon {
  margin-bottom: var(--sp-md);
}

.timeline-icon img {
  width: 5rem;
  height: 5rem;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: transform var(--t-med) var(--ease-spring);
}

.timeline-item:hover .timeline-icon img {
  transform: scale(1.1);
}

.timeline-time {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

.timeline-event {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--clr-white);
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   DIRECTIONS & ACCOMMODATION
   ═══════════════════════════════════════════ */
.section-directions,
.section-accommodation {
  margin-bottom: var(--sp-2xl);
}

.direction-block,
.hotel-block {
  margin-bottom: var(--sp-xl);
  padding: var(--sp-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--t-fast);
}

.section-directions .directions-map-link {
  margin: 0 0 var(--sp-lg);
}

.section-directions .direction-block {
  margin-top: var(--sp-sm);
}

.direction-block:hover,
.hotel-block:hover {
  background: rgba(255, 255, 255, 0.08);
}

.shuttle-note {
  font-style: italic;
  margin-bottom: var(--sp-xl);
  opacity: 0.8;
}

/* Divider */
.section-divider {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  margin: var(--sp-3xl) auto;
}

/* ═══════════════════════════════════════════
   RSVP SECTION
   ═══════════════════════════════════════════ */
.section-rsvp {
  background: linear-gradient(180deg, var(--clr-cream-warm), var(--clr-cream));
  padding: var(--sp-4xl) var(--sp-lg) var(--sp-md);
  position: relative;
  z-index: 20;
}

.rsvp-container {
  max-width: 560px;
  margin: 0 auto;
  background: var(--clr-white);
  padding: var(--sp-3xl) var(--sp-2xl);
  border: 1px solid var(--clr-sand);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}

.rsvp-container::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-burgundy), var(--clr-olive));
  border-radius: 2px;
}

.rsvp-container h2 {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--clr-burgundy);
  margin-bottom: var(--sp-md);
  text-align: center;
}

.rsvp-container p {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

.rsvp-message {
  padding: var(--sp-lg);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-lg);
  text-align: center;
}

.rsvp-message.rsvp-success {
  background: rgba(76, 125, 80, 0.15);
  color: var(--clr-olive-dark);
}

.rsvp-message.rsvp-error {
  background: rgba(198, 40, 40, 0.1);
  color: var(--clr-burgundy);
}

/* Forms */
.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-olive);
  margin-bottom: var(--sp-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--sp-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--r-md);
  background: var(--clr-cream);
  color: var(--clr-text);
  transition: all var(--t-fast) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-olive);
  box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1);
  background: var(--clr-white);
}

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

.form-actions {
  margin-top: var(--sp-xl);
  text-align: center;
}

/* ═══════════════════════════════════════════
   SIGNING / CLOSING
   ═══════════════════════════════════════════ */
.section-signing {
  background: linear-gradient(180deg, var(--clr-cream-warm) 0%, var(--clr-cream) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md) var(--sp-lg);
  margin-top: 0;
  position: relative;
  z-index: 20;
}

.signing-container {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Image: preserve full composition, fill width */
.signing-image-wrap {
  width: 100%;
  flex-shrink: 0;
}

.signing-image {
  width: 100%;
  max-height: 72vh;
  min-height: 360px;
  display: block;
  object-fit: contain;
  object-position: center top;
}

/* Primary text block */
.signing-text {
  margin-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

.signing-with-love {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin: 0;
  opacity: 0.9;
}

.signing-names {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 400;
  color: var(--clr-burgundy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Contact block */
.signing-contact {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(139, 138, 69, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
}

.signing-contact-intro {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--clr-text-muted);
  margin: 0;
}

.signing-contact-email {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--clr-burgundy);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), opacity var(--t-fast);
}

.signing-contact-email:hover {
  color: var(--clr-burgundy-dark);
  text-decoration: underline;
}

.signing-contact-email:focus-visible {
  outline: 2px solid var(--clr-burgundy);
  outline-offset: 2px;
}

/* Back link */
.signing-back {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  text-decoration: none;
  margin-top: var(--sp-xl);
  padding: var(--sp-sm) 0;
  transition: color var(--t-fast) var(--ease-out);
}

.signing-back:hover {
  color: var(--clr-burgundy);
}

.signing-back:focus-visible {
  outline: 2px solid var(--clr-burgundy);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  margin-top: 0;
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-olive-dark);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer p {
  margin-bottom: var(--sp-sm);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  color: var(--clr-gold-light);
}

.site-footer a:hover {
  color: var(--clr-gold);
}

body:has(.details-page) .site-footer {
  background: var(--clr-olive-dark);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(.details-page) .site-footer a {
  color: var(--clr-gold-light);
}

/* ═══════════════════════════════════════════
   MUSIC CONTROL
   ═══════════════════════════════════════════ */
.music-control {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--clr-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-med) var(--ease-spring);
}

.music-control:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-elevated);
  border-color: var(--clr-burgundy);
}

.music-control .icon {
  font-size: 18px;
  line-height: 1;
  color: var(--clr-burgundy);
  user-select: none;
  transition: opacity var(--t-fast);
}

.music-control.muted .icon {
  opacity: 0.35;
}

/* ═══════════════════════════════════════════
  PAGE SECTIONS (rsvp standalone)
   ═══════════════════════════════════════════ */
.page-section {
  margin-bottom: var(--sp-2xl);
}

.page-section h2 {
  font-family: var(--font-script);
  font-size: 2.5rem;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--clr-sand);
  color: var(--clr-burgundy);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .details-hero .page-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .details-content h2 {
    font-size: 2.5rem;
  }

}

@media (max-width: 576px) {
  .rsvp-container {
    padding: var(--sp-xl) var(--sp-lg);
  }
}

@media (max-width: 480px) {
  .details-hero {
    min-height: 350px;
    height: 55vh;
  }

  .details-hero .page-title {
    font-size: 2.5rem;
  }

  .details-content h2 {
    font-size: 2rem;
  }

  .date-display .day {
    font-size: 3.3rem;
  }

  .date-display .month,
  .date-display .year {
    font-size: 1.2rem;
  }

  .venue-image-wrapper {
    padding: 0 var(--sp-md);
    margin-bottom: var(--sp-lg);
  }

  .section-signing {
    padding: var(--sp-lg) var(--sp-md);
  }

  .signing-container {
    max-width: 100%;
  }

  .signing-image {
    max-height: 65vh;
    min-height: 280px;
  }

  .signing-names {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .signing-contact {
    margin-top: var(--sp-lg);
    padding-top: var(--sp-md);
  }

  .color-circle {
    width: 32px;
    height: 32px;
  }

  main {
    padding: var(--sp-xl) var(--sp-md);
  }
}

/* ═══════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════
   WELCOME PAGE
   ═══════════════════════════════════════════ */
body.page-welcome {
  background: var(--clr-cream);
}

body.page-welcome .site-header {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--clr-sand);
}

body.page-welcome main {
  max-width: 1200px;
  padding: var(--sp-2xl) var(--sp-lg);
}

body.page-welcome .site-footer {
  background: var(--clr-olive-dark);
  margin-top: var(--sp-2xl);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
}