/* ============================================
   WEDDING WEBSITE - DESIGN SYSTEM
   Mediterranean, romantic, intimate, fun
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Typography */
  --font-script: 'Allura', cursive;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 6rem);

  /* Color Palette - Base */
  --bg: #FAFCFC;
  --text: #2c2825;
  --muted: #5a6a7a;
  --card: #ffffff;
  --border: #dce4ec;
  --accent: #0F4C81;
  --accent-2: #2D8ACF;
  --link: #0F4C81;
  --shadow: rgba(44, 40, 37, 0.08);

  /* Wedding Palette Placeholders
     Update these 3 palette colors to the final wedding palette */
  --palette-1: #0F4C81; /* Classic Blue */
  --palette-2: #2D8ACF; /* Envelope Blue */
  --palette-3: #6BA8D4; /* Light Blue */

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

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px var(--shadow);
  --shadow-md: 0 4px 12px var(--shadow);
  --shadow-lg: 0 8px 24px var(--shadow);
  --shadow-xl: 0 16px 48px var(--shadow);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* ============================================
   SCROLL CONTAINER (for iOS Safari snap - mobile only)
   ============================================
   
   POSITIONING ARCHITECTURE:
   - Sections snap to viewport y=0 (top of screen)
   - Each section handles header clearance via its own padding-top
   - DO NOT add scroll-padding-top here - it would double-count
     with the section-level padding that already includes header-height
   
   ============================================ */
.scroll-container {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .scroll-container {
    scroll-snap-type: y mandatory;
  }
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

.hero-pretext {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--card);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-family: var(--font-script);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.1;
  color: var(--card);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

.section-title-large {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-header {
  margin-bottom: var(--space-xl);
  padding-top: var(--space-lg);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.page {
  min-height: 100vh;
  opacity: 0;
}

.page.loaded {
  opacity: 1;
}

.section {
  padding: var(--space-4xl) 0;
  scroll-margin-top: var(--header-height);
}

.section-alt {
  background-color: var(--card);
}

/* ============================================
   SNAP SECTIONS (Full-page scroll - mobile only)
   ============================================ */
.snap-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .snap-section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) var(--space-md);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.snap-section:nth-child(odd),
.snap-section:nth-child(even) {
  background-color: var(--card);
}

.snap-section > .container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.snap-section-title {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  color: var(--accent);
  text-align: center;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .snap-section-venue {
    padding: 0 !important;
  }
  
  .snap-section-dates {
    justify-content: flex-start;
    padding: 0;
  }
  
  .snap-section-venue > .container {
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
  .snap-section-dates > .container {
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 15vh;
  }
  
  .snap-section-dates .snap-section-title {
    background: transparent;
    color: var(--accent);
    padding: 20px var(--space-lg) var(--space-xs);
    margin-bottom: 0;
    font-size: clamp(4rem, 16vw, 6rem);
    font-weight: 700;
    width: 100%;
    text-shadow: none;
  }
  
  .snap-section-venue .snap-section-title {
    position: absolute;
    top: calc(var(--header-height) + var(--space-sm));
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    color: #fff;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: 0;
    font-size: clamp(3.5rem, 14vw, 5rem);
    font-weight: 700;
    width: 100%;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 4px 40px rgba(0, 0, 0, 0.4);
  }
  
  .snap-section-venue .snap-card-venue {
    height: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .snap-section-venue .venue-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
  }
  
  .snap-section-venue .venue-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .snap-section-venue .venue-content {
    flex: 0 0 auto !important;
    padding: var(--space-md) !important;
  }
  
  .snap-section-venue .venue-map {
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-bottom: 0 !important;
  }
  
  .snap-section-venue .venue-map iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  #intro.snap-section {
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + var(--space-lg));
  }
}

/* Rest of content - scrollable area after snap sections */
.scroll-rest > section:first-child {
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.scroll-rest .section-header {
  padding-top: 0;
}

@media (max-width: 768px) {
  .scroll-rest {
    scroll-snap-align: start;
  }
  
  .scroll-end-spacer {
    min-height: 1px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

.snap-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.snap-card-venue {
  display: flex;
  flex-direction: column;
  position: relative;
}

.snap-section-venue {
  position: relative;
}

.snap-section-venue .snap-section-title {
  position: absolute;
  top: calc(var(--header-height) + var(--space-lg));
  left: 0;
  right: 0;
  z-index: 10;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 4px 40px rgba(0, 0, 0, 0.4);
}

.snap-card-venue .venue-image {
  height: 32vh;
  min-height: 180px;
  max-height: 260px;
}

.snap-card-venue .venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-card-venue .venue-content {
  padding: var(--space-lg) var(--space-lg);
  flex: 0 0 auto;
  text-align: center;
}

.snap-card-venue .venue-name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.snap-card-venue .venue-description {
  font-style: italic;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.snap-card-venue .venue-map {
  position: relative;
  height: 20vh;
  min-height: 130px;
  max-height: 180px;
  margin-bottom: 0;
}

.snap-card-dates {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .snap-section-dates .snap-card-dates {
    flex: 1;
    border-radius: 0;
    box-shadow: none;
    justify-content: flex-start;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }
  
  .snap-card-dates .calendar-graphic {
    margin-top: auto;
  }
  
  .snap-card-dates .calendar-graphic svg {
    max-width: 100%;
    width: 100%;
  }
}

.snap-card-body {
  color: var(--muted);
  line-height: 1.6;
  font-size: var(--text-base);
}

.snap-card-body-large {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
}

.snap-card-dates .snap-card-body-large {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.snap-card-dates .dates-arrival {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: var(--text-base);
  margin-top: var(--space-xs);
}

.dates-arrival {
  font-style: italic;
  margin-top: var(--space-xs);
}

.snap-card-dates .calendar-graphic {
  display: flex;
  justify-content: center;
  width: 100%;
}

.snap-card-dates .calendar-graphic svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (min-width: 769px) {
  .snap-card-dates .calendar-graphic {
    margin-top: 100px;
  }
  
  .snap-card-dates .calendar-graphic svg {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .snap-section {
    padding: calc(var(--header-height) + var(--space-xs)) var(--space-xs) var(--space-xs);
  }
  
  .snap-section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: var(--space-sm);
  }
  
  .snap-card {
    border-radius: var(--radius-md);
  }
  
  .snap-card-venue .venue-content {
    padding: var(--space-sm) var(--space-md);
  }
  
  .snap-card-dates {
    padding: var(--space-md);
  }
  
  .snap-card-dates .calendar-graphic svg {
    max-width: 320px;
  }
  
  .snap-card-body-large {
    font-size: var(--text-lg);
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-logo {
  font-family: var(--font-script);
  font-size: var(--text-xl);
  color: var(--text);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--muted);
}

.lang-toggle button {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-toggle button:hover,
.lang-toggle button.active {
  color: var(--text);
  background: var(--border);
}

/* Header Progress Indicator (Mobile) */
.header-progress {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.header-section-name {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  opacity: 1;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.header-section-name.changing {
  opacity: 0;
  transform: translateY(-4px);
}

.header-progress-track {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  overflow: visible;
}

.header-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: none;
}

.header-progress-heart {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(15, 76, 129, 0.3));
  z-index: 10;
  animation: heartPulse 2s ease-in-out infinite;
}

.header-progress-heart svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes heartPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@media (max-width: 768px) {
  .header-progress {
    display: block;
  }
  
  .header-progress-track {
    display: block;
  }
  
  .site-header {
    padding-bottom: 3px;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }
  
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%;
  }

  .nav-link {
    font-size: var(--text-lg);
    display: block;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
  }

  .lang-toggle {
    margin-top: var(--space-xl);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-top {
  text-align: center;
}

.hero-bottom {
  margin-top: var(--space-2xl);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--card);
  margin-top: var(--space-md);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-location {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--card);
  margin-top: var(--space-xs);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--space-md);
  font-style: italic;
}

.btn-rsvp {
  padding: var(--space-lg) var(--space-3xl);
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .hero-content {
    justify-content: flex-start;
    padding: 2vh var(--space-lg) 2vh;
  }
  
  .hero-top {
    padding-top: 0;
  }
  
  .hero-title {
    margin-bottom: var(--space-sm);
  }
  
  .hero-bottom {
    margin-top: auto;
  }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeInUp 1s ease 0.5s both;
}

.scroll-text {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

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

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(12px);
  }
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -4px;
  margin-top: var(--space-xs);
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: scrollArrow 1.5s ease-in-out infinite;
  opacity: 0;
}

.scroll-arrow:nth-child(1) {
  animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
  animation-delay: 0.15s;
  margin-top: -6px;
}

.scroll-arrow:nth-child(3) {
  animation-delay: 0.3s;
  margin-top: -6px;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.welcome-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.welcome-content {
  position: relative;
  z-index: 1;
  padding: 3vh var(--space-2xl) 5vh;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.welcome-text {
  display: flex;
  flex-direction: column;
}

.welcome-bottom {
  margin-top: auto;
}

.welcome-bottom .btn-primary {
  background: var(--card);
  color: var(--text);
}

.welcome-bottom .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.welcome-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 12vw, 5.5rem);
  color: var(--card);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.welcome-body {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--card);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.welcome-body:last-of-type {
  margin-bottom: 0;
}

.welcome-body-rsvp {
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 768px) {
  .welcome-content {
    padding: 3vh var(--space-lg) 5vh;
  }
  
  .welcome-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: var(--space-md);
  }
  
  .welcome-body {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--accent);
  color: var(--card);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-2);
  color: var(--card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--card);
  border: 2px solid var(--card);
}

.btn-secondary:hover {
  background: var(--card);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--card);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.card-body {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

/* ============================================
   SCHEDULE DAY CARDS
   ============================================ */
.day-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
}

.day-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.day-card ul {
  color: var(--muted);
}

.day-card li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.day-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================================
   SCHEDULE TIMELINE
   ============================================ */
#schedule .container-narrow {
  max-width: 1000px;
}

.timeline-day {
  margin-bottom: var(--space-3xl);
}

.timeline-day-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--accent);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-2);
}

.timeline-day-desc {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px auto 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
  align-items: center;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:last-child::after {
  content: '';
  position: absolute;
  left: -26px;
  top: 16px;
  bottom: 0;
  width: 3px;
  background: var(--card);
}

.timeline-time {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-align: left;
  padding-top: 2px;
  white-space: nowrap;
}

.timeline-node {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: -38px;
  z-index: 1;
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--card);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--card);
}

.timeline-node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  width: 24px;
  height: 2px;
  background: var(--accent-2);
  transform: translateY(-50%);
}

.timeline-content {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  margin-left: var(--space-md);
}

.timeline-event {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .timeline-day-title {
    font-size: var(--text-xl);
    text-align: center;
  }
  
  .timeline-day-desc {
    text-align: center;
  }
  
  .timeline {
    padding-left: var(--space-lg);
  }
  
  .timeline::before {
    left: 4px;
    width: 2px;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding-left: var(--space-xl);
  }
  
  .timeline-time {
    text-align: left;
    font-size: var(--text-base);
    color: var(--accent);
    margin-bottom: 0;
  }
  
  .timeline-node {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    margin-left: 0;
  }
  
  .timeline-node::before {
    width: 12px;
    height: 12px;
    border-width: 2px;
    box-shadow: 0 0 0 3px var(--card);
  }
  
  .timeline-node::after {
    display: none;
  }
  
  .timeline-content {
    margin-left: 0;
    padding: var(--space-sm) var(--space-md);
  }
  
  .timeline-event {
    font-size: var(--text-base);
  }
  
  .timeline-item:last-child::after {
    left: -22px;
    width: 2px;
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  margin-bottom: var(--space-2xl);
}

.faq-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg);
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.is-open .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  max-height: 500px;
}

.faq-answer p {
  color: var(--muted);
}

/* ============================================
   TRAVEL OPTIONS
   ============================================ */
.travel-option {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.travel-option.recommended {
  border: 2px solid var(--accent);
}

.travel-option.recommended::before {
  content: '★';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: var(--accent);
  font-size: var(--text-lg);
}

.travel-option-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.travel-option-body {
  color: var(--muted);
}

.provider-list {
  margin-top: var(--space-xl);
}

.provider-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.provider-item:last-child {
  border-bottom: none;
}

.provider-name {
  font-weight: 600;
  color: var(--text);
}

.provider-note {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ============================================
   RSVP QUESTIONNAIRE PREVIEW
   ============================================ */
.questionnaire-section {
  margin-bottom: var(--space-2xl);
}

.questionnaire-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.questionnaire-item {
  padding: var(--space-sm) 0;
  color: var(--muted);
  padding-left: var(--space-lg);
  position: relative;
}

.questionnaire-item::before {
  content: '○';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.questionnaire-options {
  padding-left: var(--space-xl);
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
}

.questionnaire-options li {
  padding: var(--space-xs) 0;
}

/* ============================================
   CONTACT CARDS
   ============================================ */
.contact-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.contact-info {
  margin-top: var(--space-lg);
}

.contact-info dt {
  font-size: var(--text-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info dd {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

/* ============================================
   LANGUAGE MODAL
   ============================================ */
.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 40, 37, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lang-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.lang-modal-content {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lang-modal.is-visible .lang-modal-content {
  transform: scale(1);
}

.lang-modal-title {
  font-family: var(--font-script);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xl);
}

.lang-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lang-modal-btn {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  color: var(--text);
  transition: all var(--transition-fast);
}

.lang-modal-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: var(--card);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-script);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-header {
  padding-top: var(--header-height);
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
}

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

/* ============================================
   CALLOUT
   ============================================ */
.callout {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  margin-top: var(--space-2xl);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-with-bg {
  position: relative;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.intro-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.intro-with-bg .container {
  position: relative;
  z-index: 1;
}

.intro-with-bg .intro-title,
.intro-with-bg .intro-body,
.intro-with-bg .countdown-caption {
  color: var(--card);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.intro-with-bg .countdown-separator {
  color: var(--card);
}

/* Dates section with background */
.dates-with-bg {
  position: relative;
}

.dates-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

@media (min-width: 769px) {
  .dates-with-bg {
    min-height: 90vh;
  }
  
  .dates-bg {
    background-position: center 35%;
  }
}

.dates-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.dates-with-bg .container {
  position: relative;
  z-index: 1;
}

.dates-with-bg .snap-section-title,
.dates-with-bg .snap-card-body,
.dates-with-bg .dates-arrival {
  color: var(--card);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.dates-with-bg .snap-card-dates {
  background: transparent;
  box-shadow: none;
}

.intro-section {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-md);
}

.intro-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.intro-body {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

@media (max-width: 768px) {
  #intro.snap-section {
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) 10vh;
  }
  
  #intro.snap-section > .container {
    height: calc(100vh - var(--header-height) - var(--space-lg) - 10vh);
  }
  
  .intro-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0;
  }
  
  .intro-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .intro-body {
    font-size: var(--text-lg);
  }
  
  #intro .countdown-wrapper {
    margin-top: 0;
  }
  
  #intro .countdown-caption {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-top: var(--space-lg);
  }
}

/* ============================================
   COUNTDOWN TIMER - 2 Row Layout
   ============================================ */
.countdown-wrapper {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.countdown-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
}

.countdown-row-days {
  margin-bottom: var(--space-sm);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  min-width: 70px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.countdown-item-days {
  padding: var(--space-xl) var(--space-3xl);
  border-radius: var(--radius-lg);
}

.countdown-value {
  font-family: 'Montserrat', var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #9b7e6b;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.countdown-value-days {
  font-size: clamp(3rem, 10vw, 5rem);
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9b7e6b;
  margin-top: var(--space-xs);
  position: relative;
  z-index: 1;
}

.countdown-item-days .countdown-label {
  font-size: 1rem;
  margin-top: var(--space-sm);
}

.countdown-separator {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--accent);
  font-weight: 700;
  animation: pulse 1s ease-in-out infinite;
  margin: 0 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.countdown-caption {
  margin-top: var(--space-lg);
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent);
}

@media (max-width: 480px) {
  .countdown-item {
    min-width: 55px;
    padding: var(--space-sm) var(--space-md);
  }
  
  .countdown-item-days {
    padding: var(--space-lg) var(--space-2xl);
  }
  
  .countdown-value {
    font-size: 1.25rem;
  }
  
  .countdown-value-days {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  .countdown-separator {
    font-size: 1rem;
    margin: 0 2px;
  }
  
  .countdown-label {
    font-size: 0.55rem;
  }
  
  .countdown-item-days .countdown-label {
    font-size: 0.8rem;
  }
  
  .countdown-caption {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
}

/* ============================================
   HIGHLIGHT CARDS (Venue/Dates on Home)
   ============================================ */
.highlight-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

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

.highlight-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.highlight-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.highlight-card-body {
  color: var(--muted);
  line-height: 1.8;
}

.highlight-card-title-large {
  font-size: var(--text-2xl);
}

.highlight-card-dates {
  display: flex;
  flex-direction: column;
}

.dates-arrival {
  font-style: italic;
  font-size: var(--text-base);
  margin-top: var(--space-xs);
}

.highlight-card-dates .calendar-graphic {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
}

.highlight-card-dates .calendar-graphic svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.highlight-card-venue {
  padding: 0;
  overflow: hidden;
}

.venue-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.highlight-card-venue:hover .venue-image img {
  transform: scale(1.05);
}

.venue-content {
  padding: var(--space-xl);
}

.venue-map {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--border);
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.venue-map-overlay {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.venue-map-overlay:hover {
  background: var(--accent);
  color: var(--card);
}

.venue-map-overlay svg {
  flex-shrink: 0;
}


/* ============================================
   QUICK NOTES
   ============================================ */
.quick-notes {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.quick-notes-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.quick-notes-list {
  max-width: 500px;
  margin: 0 auto;
}

.quick-notes-list li {
  padding: var(--space-md) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.quick-notes-list li:last-child {
  border-bottom: none;
}

.quick-notes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ============================================
   PAGE HEADER (non-home pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--palette-1) 0%, var(--palette-2) 100%);
  padding: var(--space-4xl) 0 var(--space-3xl);
  padding-top: calc(var(--header-height) + var(--space-4xl));
  text-align: center;
  color: var(--card);
}

.page-header .page-title {
  font-family: var(--font-script);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.page-header .page-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  opacity: 0.9;
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp-header {
  margin-bottom: var(--space-xl);
}

.rsvp-title {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.rsvp-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.rsvp-deadline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: var(--radius-lg);
  color: var(--card);
  font-weight: 600;
  width: 100%;
}

.rsvp-deadline-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.rsvp-deadline-value {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
}

.rsvp-form-container {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.rsvp-form-container iframe {
  width: 100%;
  min-height: 1000px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .rsvp-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .rsvp-deadline {
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
  }
  
  .rsvp-form-container iframe {
    min-height: 1200px;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-title-large {
    font-size: var(--text-2xl);
  }
  
  .day-card {
    padding: var(--space-lg);
  }
  
  .faq-question {
    padding: var(--space-md);
  }
  
  .contact-card {
    padding: var(--space-xl);
  }
  
  .card-grid {
    gap: var(--space-lg);
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   WEDDING DAY DRESSCODE SECTION
   ============================================ */
.snap-section-dresscode {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(157, 193, 131, 0.1) 100%);
}

.snap-card-dresscode {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  text-align: center;
  max-width: 100%;
  width: 100%;
}

.dresscode-body {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.color-palette {
  display: flex;
  justify-content: center;
  gap: var(--space-xxl);
  margin: 0 auto;
}

.color-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.swatch-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--swatch-color);
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.color-group:hover .swatch-circle {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.swatch-label {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--muted);
  font-style: italic;
  margin-top: var(--space-sm);
}

.dresscode-note {
  margin-top: var(--space-lg);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--muted);
  text-align: center;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .snap-section-dresscode {
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) var(--space-md);
  }
  
  .snap-card-dresscode {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
  }
  
  .dresscode-body {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }
  
  .color-palette {
    gap: var(--space-xl);
  }
  
  .color-group {
    gap: var(--space-sm);
  }
  
  .swatch-circle {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }
  
  .swatch-label {
    font-size: var(--text-xs);
  }
  
  .dresscode-note {
    font-size: var(--text-xs);
    margin-top: var(--space-md);
  }
}

@media (max-width: 380px) {
  .color-palette {
    gap: var(--space-lg);
  }
  
  .swatch-circle {
    width: 70px;
    height: 70px;
  }
}

/* ============================================
   WEDDING DAY INSPO SECTION
   ============================================ */
.snap-section-inspo {
  background: var(--card);
}

.snap-section-inspo > .container {
  max-width: 100%;
  width: 100%;
  height: calc(100vh - var(--header-height) - var(--space-xl));
  height: calc(100dvh - var(--header-height) - var(--space-xl));
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-md);
}

.snap-section-inspo .snap-section-title {
  flex-shrink: 0;
}

.inspo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  gap: var(--space-sm);
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.collage-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  min-height: 0;
  min-width: 0;
}

.collage-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collage-item:hover img {
  transform: scale(1.05);
}

.collage-item-1 {
  grid-column: 1;
  grid-row: 1 / 4;
}

.collage-item-2 {
  grid-column: 2;
  grid-row: 1 / 3;
}

.collage-item-3 {
  grid-column: 2;
  grid-row: 3 / 5;
}

.collage-item-4 {
  grid-column: 2;
  grid-row: 5 / 7;
}

.collage-item-5 {
  grid-column: 1;
  grid-row: 4 / 7;
}

@media (max-width: 768px) {
  .snap-section-inspo {
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-xs) var(--space-xs);
  }
  
  .snap-section-inspo > .container {
    height: calc(100vh - var(--header-height) - var(--space-sm));
    height: calc(100dvh - var(--header-height) - var(--space-sm));
    padding: 0 var(--space-xs);
  }
  
  .snap-section-inspo .snap-section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: var(--space-sm);
  }
  
  .inspo-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
  }
  
  .collage-item-1 {
    grid-column: 1;
    grid-row: 1 / 4;
  }
  
  .collage-item-2 {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  
  .collage-item-3 {
    grid-column: 2;
    grid-row: 3 / 5;
  }
  
  .collage-item-4 {
    grid-column: 2;
    grid-row: 5 / 7;
  }
  
  .collage-item-5 {
    grid-column: 1;
    grid-row: 4 / 7;
  }
  
  .collage-item {
    border-radius: var(--radius-sm);
  }
}

/* ============================================
   1ST AND 3RD DAY DRESSCODE SECTION
   ============================================ */
.snap-section-casual {
  background: var(--card);
}

section.snap-section-casual > .container {
  max-width: 1400px;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 var(--space-xl);
  margin-top: var(--header-height);
}

.snap-section-casual .snap-section-title {
  flex-shrink: 0;
  padding: var(--space-lg) 0 var(--space-md);
  margin-bottom: 0;
  text-align: center;
}

.dresscode-split {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: var(--space-sm);
  padding-bottom: var(--space-lg);
}

.dresscode-day {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.dresscode-day-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  min-width: 0;
  gap: var(--space-sm);
  background: var(--bg);
}

.dresscode-day-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.dresscode-day-name {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text);
  line-height: 1.1;
  margin: var(--space-xs) 0;
}

.dresscode-day-tagline {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

.dresscode-day-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.dresscode-day-list li {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text);
  padding-left: var(--space-md);
  position: relative;
}

.dresscode-day-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.dresscode-day-images {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-xs);
}

.dresscode-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.dresscode-img-vertical {
  flex: 1.4;
  min-height: 0;
}

.dresscode-img-horizontal {
  flex: 1;
  min-height: 0;
}

.dresscode-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.dresscode-day:hover .dresscode-img img {
  transform: scale(1.05);
}

.dresscode-day-1 .dresscode-day-text {
  order: 1;
}

.dresscode-day-1 .dresscode-day-images {
  order: 2;
}

.dresscode-day-3 .dresscode-day-images {
  order: 1;
}

.dresscode-day-3 .dresscode-day-text {
  order: 2;
}

@media (max-width: 768px) {
  .snap-section-casual {
    padding: 0;
  }
  
  section.snap-section-casual > .container {
    max-width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 0;
    align-items: stretch;
  }
  
  .snap-section-casual .snap-section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding: var(--space-sm) var(--space-md);
  }
  
  .dresscode-split {
    gap: var(--space-xs);
    padding: 0 var(--space-md) var(--space-sm);
    width: 100%;
    box-sizing: border-box;
  }
  
  .dresscode-day {
    border-radius: var(--radius-sm);
    width: 100%;
  }
  
  .dresscode-day-text {
    padding: var(--space-md);
    gap: var(--space-xs);
  }
  
  .dresscode-day-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  
  .dresscode-day-name {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin: 2px 0;
  }
  
  .dresscode-day-tagline {
    font-size: var(--text-sm);
    line-height: 1.4;
  }
  
  .dresscode-day-list {
    gap: 3px;
    margin-top: var(--space-xs);
  }
  
  .dresscode-day-list li {
    font-size: var(--text-xs);
    padding-left: var(--space-sm);
  }
  
  .dresscode-day-images {
    gap: 4px;
    padding: 4px;
  }
  
  .dresscode-img {
    border-radius: var(--radius-xs);
  }
}

