/* ============================================
   Wedding Website - Styles
   Palette: Warm cream, sage green, gold
   ============================================ */

:root {
  --cream: #faf8f5;
  --cream-dark: #f0ebe4;
  --sage: #8fae8b;
  --sage-dark: #6b8f66;
  --sage-light: #d4e4d2;
  --forest: #2c3e2d;
  --gold: #b8926a;
  --gold-light: #d4b896;
  --warm-beige: #e8ddd3;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', sans-serif;
  --font-serif-zh: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.4s ease;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.nav.scrolled .nav-logo {
  color: var(--forest);
}

.nav-heart {
  width: 0.65em;
  height: 0.65em;
  flex-shrink: 0;
  color: inherit;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav.scrolled .nav-links a {
  color: var(--forest);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--forest);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  gap: 0;
  margin-left: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}

.lang-toggle button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle button:first-child {
  border-radius: 6px 0 0 6px;
  border-right: none;
}

.lang-toggle button:last-child {
  border-radius: 0 6px 6px 0;
}

.lang-toggle button.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 500;
}

.lang-toggle button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .lang-toggle button {
  color: var(--forest);
  border-color: rgba(44, 62, 45, 0.3);
}

.nav.scrolled .lang-toggle button.active {
  background: rgba(44, 62, 45, 0.1);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/large/cover.jpg') center center / cover no-repeat;
  background-color: var(--forest);
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 62, 45, 0.5) 0%,
    rgba(44, 62, 45, 0.6) 50%,
    rgba(44, 62, 45, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-names {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-names .name {
  display: inline-block;
  font-size: clamp(3rem, 8vw, 6rem);
}

.hero-names .ampersand {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  margin: 0.25rem 0;
}

.hero-details {
  margin-bottom: 3rem;
}

.hero-date {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1rem auto;
}

.hero-venue {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.05em;
}

.hero-venue a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
  transition: text-decoration-color 0.3s ease;
}

.hero-venue a:hover {
  text-decoration-color: var(--white);
}

.hero-location {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  min-width: 3ch;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================
   Fade-in Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--forest);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================
   Our Story / Timeline
   ============================================ */
.story {
  padding: 6rem 2rem;
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sage) 10%,
    var(--sage) 90%,
    transparent
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

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

.timeline-dot {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2px solid var(--cream);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--sage-light);
}

.timeline-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  padding-left: 3rem;
  flex-direction: row;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  padding-right: 3rem;
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--warm-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.photo-placeholder a {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-placeholder a:hover img {
  transform: scale(1.05);
}

.photo-placeholder.no-image {
  border: 2px dashed var(--sage);
}

.placeholder-text {
  position: absolute;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-placeholder img + .placeholder-text,
.photo-placeholder a + .placeholder-text {
  display: none;
}

.photo-placeholder.no-image .placeholder-text {
  display: block;
}

.timeline-text {
  flex: 1;
}

.hashtag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(191, 161, 100, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.timeline-text p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
  max-width: 700px;
  margin: 5rem auto 0;
  text-align: center;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  background: var(--warm-beige);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.video-container video {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(184, 146, 106, 0.4);
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-placeholder p {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ============================================
   RSVP Section
   ============================================ */
.rsvp {
  position: relative;
  padding: 6rem 2rem;
  background: url('images/large/backdrop.jpg') center center / cover no-repeat fixed;
}

.rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 45, 0.6);
}

.rsvp .section-header {
  position: relative;
  z-index: 1;
}

.rsvp .section-header .section-title,
.rsvp .section-header .section-subtitle {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rsvp .section-header .section-title {
  font-size: 3rem;
  font-weight: 500;
}

.rsvp .section-header .section-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.rsvp-container {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--gold);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--warm-beige);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 174, 139, 0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  color: var(--text) !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;
}

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

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--warm-beige);
  position: relative;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

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

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-dark);
}

/* Conditional fields */
.conditional-fields {
  display: none;
  animation: slideDown 0.4s ease;
}

.conditional-fields.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rsvp-deadline {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.rsvp-deadline strong {
  color: var(--forest);
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease;
}

.btn-submit:hover {
  background: var(--sage-dark);
}

.btn-submit:active {
  transform: scale(0.98);
}

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

/* Form messages */
.form-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  display: none;
}

.form-message.success {
  display: block;
  color: var(--sage-dark);
}

.form-message.error {
  display: block;
  color: #c0392b;
}

/* ============================================
   RSVP Success Animation
   ============================================ */
.rsvp-success {
  text-align: center;
  padding: 2rem 0;
  animation: fadeInUp 0.6s ease forwards;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.success-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

.heart-container {
  margin-bottom: 1.5rem;
}

.heart {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  animation: heartBeat 1.2s ease-in-out infinite;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 48px;
  background: var(--gold);
  border-radius: 30px 30px 0 0;
}

.heart::before {
  left: 30px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

.heart.heart-sad::before,
.heart.heart-sad::after {
  background: var(--sage);
}

.heart.heart-sad {
  animation: heartBeatSad 2s ease-in-out infinite;
}

@keyframes heartBeatSad {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.9); }
}

/* ============================================
   Travel Guide CTA
   ============================================ */
.travel-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--cream-dark);
}

.travel-cta-content {
  max-width: 550px;
  margin: 0 auto;
}

.travel-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.travel-cta-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.travel-cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest);
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.15s ease;
}

.travel-cta-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--forest);
  color: var(--white);
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-date {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-hashtag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--sage-light);
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .lang-toggle {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--forest) !important;
    font-size: 1rem;
  }

  /* Hero */
  .hero-names .name {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .countdown {
    gap: 1rem;
  }

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

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
    top: 0;
  }

  .timeline-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  .timeline-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .timeline-item {
    margin-bottom: 3rem;
  }

  /* Video */
  .video-section {
    margin-top: 3rem;
  }

  .video-container {
    border-radius: 12px;
  }

  /* RSVP */
  .rsvp-container {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Story section */
  .story {
    padding: 4rem 1.5rem;
  }

  .rsvp {
    padding: 4rem 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.75rem;
  }

  .hero-date {
    font-size: 0.85rem;
  }

  .hero-venue {
    font-size: 1.2rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .scroll-arrow {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Chinese Language Fonts
   ============================================ */
html[lang="zh-CN"] {
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.heart-icon {
  width: 1em;
  height: 1em;
  color: var(--gold-light);
  display: inline-block;
  vertical-align: middle;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}
