/* ==========================================================================
   BOTANICAL ROMANCE — Contemporary Rose & Ivory Wedding Template
   Modeled after image.png with animated vectors, wave oscillations & interactive flow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@200;300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #FAF4EE;
  --bg-card: #FFFFFF;
  --bg-soft-rose: #F5EAE6;
  --color-maroon: #5E1A2B;
  --color-dusty-rose: #9E475B;
  --color-warm-rose: #E8C4BE;
  --color-charcoal: #2C1E21;
  --color-gold: #C29B38;
  --color-muted: #7A696D;
  --color-border: #E8D9D2;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(94, 26, 43, 0.05);
  --shadow-md: 0 10px 30px rgba(94, 26, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(94, 26, 43, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   AMBIENT FLOATING BOTANICAL PARTICLES CANVAS
   ========================================================================== */
#botanicalCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   FLOATING AUDIO CONTROLLER
   ========================================================================== */
.audio-controller {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

.audio-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-maroon);
}

.audio-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-dusty-rose);
}

.audio-disc-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.5s ease;
}

.audio-btn.playing .audio-disc-icon {
  animation: discSpin 4s linear infinite;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.audio-bars span {
  width: 3px;
  background-color: var(--color-maroon);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.audio-btn.playing .audio-bars span:nth-child(1) {
  animation: barBounce 0.8s ease-in-out infinite alternate;
}
.audio-btn.playing .audio-bars span:nth-child(2) {
  animation: barBounce 1.1s ease-in-out 0.2s infinite alternate;
}
.audio-btn.playing .audio-bars span:nth-child(3) {
  animation: barBounce 0.9s ease-in-out 0.4s infinite alternate;
}

@keyframes barBounce {
  from { height: 3px; }
  to { height: 14px; }
}

.audio-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==========================================================================
   NAVIGATION BAR (Modeled directly from image.png header)
   ========================================================================== */
.top-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-heart-icon {
  width: 32px;
  height: 32px;
  color: var(--color-maroon);
  transition: transform 0.3s ease;
}

.brand-heart-icon:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-item {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-charcoal);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-maroon);
}

.nav-item.active::after,
.nav-item:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-maroon);
  border-radius: 2px;
}

/* ==========================================================================
   HERO INVITATION CARD (Exact Match to image.png UI)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  max-width: 860px;
  margin: 20px auto 60px;
  padding: 20px 24px 0;
  z-index: 5;
}

.invitation-card {
  position: relative;
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 60px 40px 100px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(94, 26, 43, 0.04);
}

/* Botanical foliage flanking left and right */
.botanical-branch {
  position: absolute;
  top: 15%;
  width: 180px;
  height: auto;
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.botanical-branch.left {
  left: -20px;
  transform-origin: left center;
  animation: gentleSwayLeft 6s ease-in-out infinite alternate;
}

.botanical-branch.right {
  right: -20px;
  transform-origin: right center;
  animation: gentleSwayRight 7s ease-in-out infinite alternate;
}

@keyframes gentleSwayLeft {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(3deg) scale(1.02); }
}

@keyframes gentleSwayRight {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(-3deg) scale(1.02); }
}

/* Card Content Hierarchy */
.invitation-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  margin: 0 auto;
}

/* Top Infinity Divider */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 28px;
  max-width: 320px;
}

.ornament-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), var(--color-dusty-rose));
}

.ornament-divider .line.right {
  background: linear-gradient(90deg, var(--color-dusty-rose), var(--color-border), transparent);
}

.ornament-divider svg {
  width: 28px;
  height: 18px;
  color: var(--color-maroon);
}

.invitation-header-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Couple Typography */
.couple-hero-title {
  margin: 20px 0 24px;
  line-height: 1.15;
}

.couple-name {
  display: block;
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 400;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}

.ampersand-calligraphy {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.5rem;
  color: var(--color-maroon);
  font-weight: 400;
  line-height: 0.8;
  margin: 8px 0;
  position: relative;
}

.ampersand-calligraphy::before,
.ampersand-calligraphy::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border));
}

.ampersand-calligraphy::before {
  right: 56%;
}

.ampersand-calligraphy::after {
  left: 56%;
  background: linear-gradient(90deg, var(--color-border), transparent);
}

.tagline-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--color-charcoal);
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Small Heart Divider */
.heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto 32px;
  max-width: 420px;
}

.heart-divider .line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.heart-divider svg {
  width: 16px;
  height: 16px;
  color: var(--color-maroon);
}

/* 2-Column Date & Location Grid */
.details-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 40px;
  max-width: 580px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.detail-icon {
  width: 38px;
  height: 38px;
  color: var(--color-maroon);
  flex-shrink: 0;
}

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.2;
}

.detail-sub {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-charcoal);
  opacity: 0.85;
}

.botanical-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg-soft-rose);
  border: 1px solid var(--color-dusty-rose);
  color: var(--color-maroon);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(94, 26, 43, 0.06);
}

.botanical-maps-btn:hover {
  background: var(--color-maroon);
  color: #FFFFFF;
  border-color: var(--color-maroon);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(94, 26, 43, 0.2);
}

.grid-separator {
  width: 1px;
  height: 48px;
  background-color: var(--color-border);
}

/* Blessing Paragraph */
.blessing-paragraph {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Leaf Ornament Divider */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px auto 32px;
  max-width: 320px;
}

.leaf-divider .line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.leaf-divider svg {
  width: 36px;
  height: 20px;
  color: var(--color-maroon);
}

/* Signoff */
.signoff-section {
  margin-top: 10px;
}

.signoff-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  font-weight: 500;
  margin-bottom: 8px;
}

.signoff-couple {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-maroon);
  font-weight: 600;
}

/* ==========================================================================
   DYNAMIC LAYERED FLOWING BOTTOM WAVES (Matches image.png bottom waves)
   ========================================================================== */
.bottom-waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  transform: translate3d(0, 0, 0);
}

.wave-layer-1 {
  fill: var(--color-warm-rose);
  opacity: 0.85;
  animation: waveShift 18s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave-layer-2 {
  fill: var(--color-dusty-rose);
  opacity: 0.75;
  animation: waveShift 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) -4s infinite;
}

.wave-layer-3 {
  fill: var(--color-maroon);
  opacity: 0.95;
  animation: waveShift 8s cubic-bezier(0.36, 0.45, 0.63, 0.53) -2s infinite;
}

@keyframes waveShift {
  0% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   SECTION: OUR LOVE MILESTONES (Illustrated Animated Vector Journey)
   ========================================================================== */
.section-wrapper {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-maroon);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

.timeline-track {
  position: relative;
  padding: 40px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-border), var(--color-dusty-rose), var(--color-border), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 48px;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--color-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon);
  box-shadow: var(--shadow-sm);
  z-index: 3;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-badge {
  transform: translateX(-50%) scale(1.15);
  background: var(--color-maroon);
  color: #FFF;
}

.timeline-card {
  width: 42%;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-dusty-rose);
}

.timeline-period {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-dusty-rose);
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-maroon);
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION: EVENT ITINERARY CELEBRATIONS
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.event-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-warm-rose), var(--color-dusty-rose), var(--color-maroon));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-dusty-rose);
}

.event-card:hover::before {
  opacity: 1;
}

.event-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-maroon);
  background: var(--bg-soft-rose);
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.event-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-charcoal);
  font-weight: 600;
  margin-bottom: 12px;
}

.event-date {
  font-size: 0.9rem;
  color: var(--color-dusty-rose);
  font-weight: 500;
  margin-bottom: 16px;
}

.event-description {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-meta {
  padding-top: 16px;
  border-top: 1px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-charcoal);
}

.event-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  background: #FFF;
  color: var(--color-maroon);
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-soft-rose);
  border-color: var(--color-dusty-rose);
}

/* ==========================================================================
   SECTION: LIVE COUNTDOWN TO FOREVER
   ========================================================================== */
.countdown-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(245,234,230,0.8));
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-maroon);
  margin-bottom: 28px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.timer-slot {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 18px 24px;
  min-width: 95px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-maroon);
  font-weight: 700;
  line-height: 1;
}

.timer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-top: 6px;
}

/* ==========================================================================
   SECTION: INTERACTIVE DIGITAL SHAGUN ENVELOPE
   ========================================================================== */
.shagun-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 48px 36px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
  position: relative;
}

.envelope-wrapper {
  margin: 20px auto 30px;
  width: 140px;
  height: 100px;
  position: relative;
  cursor: pointer;
}

.envelope-body {
  width: 100%;
  height: 100%;
  background: var(--bg-soft-rose);
  border: 1.5px solid var(--color-dusty-rose);
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease;
}

.envelope-wrapper:hover .envelope-body {
  transform: translateY(-4px);
}

.wax-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 4px 10px rgba(94, 26, 43, 0.4);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.envelope-wrapper:hover .wax-seal {
  transform: translate(-50%, -50%) scale(1.1);
}

.registry-details-box {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  border: 1px dashed var(--color-border);
}

.registry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.registry-row:last-child {
  border-bottom: none;
}

.copy-btn {
  background: var(--color-maroon);
  color: #FFF;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: var(--color-dusty-rose);
}

/* ==========================================================================
   SECTION: INTERACTIVE RSVP & BLESSINGS WALL
   ========================================================================== */
.rsvp-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 50px 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-charcoal);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-primary);
  transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-maroon);
  background: #FFF;
}

.btn-primary {
  width: 100%;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--color-maroon);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(94, 26, 43, 0.25);
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn-primary:hover {
  background: var(--color-dusty-rose);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(94, 26, 43, 0.35);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-wrapper {
  text-align: center;
  padding: 60px 24px 40px;
  position: relative;
  z-index: 5;
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 20px;
}

.footer-credits {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  opacity: 0.7;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .top-header {
    padding: 18px 20px;
  }
  
  .nav-links {
    gap: 16px;
  }
  
  .nav-item {
    font-size: 1rem;
  }

  .invitation-card {
    padding: 40px 20px 80px;
    border-radius: 18px;
  }

  .botanical-branch {
    width: 110px;
  }

  .botanical-branch.left {
    left: -35px;
  }

  .botanical-branch.right {
    right: -35px;
  }

  .couple-name {
    font-size: 3.2rem;
  }

  .ampersand-calligraphy {
    font-size: 2.4rem;
  }

  .tagline-text {
    font-size: 1.35rem;
  }

  .details-grid {
    flex-direction: column;
    gap: 18px;
  }

  .grid-separator {
    display: none;
  }

  .detail-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }

  .blessing-paragraph {
    font-size: 1.15rem;
  }

  .timeline-track::before {
    left: 24px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-badge {
    left: 24px;
  }

  .timeline-card {
    width: 100%;
  }

  .countdown-timer {
    gap: 10px;
  }

  .timer-slot {
    min-width: 70px;
    padding: 12px 14px;
  }

  .timer-number {
    font-size: 1.8rem;
  }

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

