:root {
  --cream: #faf6f0;
  --cream-2: #f2ebe1;
  --white: #ffffff;
  --ink: #4a3f33;
  --ink-soft: #7a6d5c;
  --gold: #b9986a;
  --gold-dark: #8a6f4e;
  --font-heading: 'Playfair Display', 'PT Serif', serif;
  --font-body: 'PT Serif', Georgia, serif;
  --font-script: 'Tangerine', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 50%, var(--cream-2) 100%);
  -webkit-font-smoothing: antialiased;
}

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

.page {
  max-width: 580px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 55%, var(--cream-2) 100%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 720px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--gold-dark);
  margin: 0;
}

.ornament {
  color: var(--gold);
  font-size: 22px;
  margin: 0 0 20px;
  letter-spacing: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15) translateY(-1%);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0.05) 0%, rgba(20,15,10,0.15) 55%, rgba(20,15,10,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 24px 56px;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  margin: 0 0 12px;
  opacity: 0.9;
}

.hero-names {
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.amp {
  font-family: var(--font-script);
  font-size: 1.2em;
  padding: 0 6px;
}

.hero-date {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: 2px;
  margin: 0 0 28px;
}

.scroll-cue {
  display: inline-flex;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 14px;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 88px 0;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 28px;
}

.words .lead {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 22px;
}

/* ===== COUPLE ===== */
.couple-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.couple-card {
  width: auto;
  max-width: 190px;
}

.couple-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 12px 30px rgba(138,111,78,0.25);
}

#photo-marsel img {
  transform: translateY(-10px);
}
#photo-asel img {
  transform: translateY(-20px);
}

.couple-role {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 6px;
}

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

.couple-heart {
  color: var(--gold);
  font-size: 1.8rem;
}

/* ===== COUNTDOWN ===== */
.timer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.timer-unit {
  background: var(--white);
  border: 1px solid rgba(185,152,106,0.35);
  border-radius: 12px;
  padding: 20px 18px;
  min-width: 90px;
  box-shadow: 0 8px 24px rgba(138,111,78,0.1);
}

.timer-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.timer-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

/* ===== SCHEDULE ===== */
.timeline {
  position: relative;
  text-align: left;
  margin-top: 20px;
  padding-left: 28px;
  border-left: 2px solid rgba(185,152,106,0.4);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream-2);
}

.timeline-time {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.timeline-text {
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== MAP ===== */
.venue-name {
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 4px;
  font-weight: 700;
}

.venue-address {
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.map-wrap {
  width: calc(100% + 48px);
  margin-left: -24px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(138,111,78,0.18);
}

.map-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  background: var(--gold-dark);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(138,111,78,0.3);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold-dark);
  box-shadow: none;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 56px 24px 40px;
  color: var(--ink-soft);
}

.footer-names {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin: 0 0 6px;
}

.footer-date {
  margin: 0 0 14px;
  letter-spacing: 1px;
}

.footer-note {
  font-size: 0.95rem;
  margin: 0;
}

/* ===== MUSIC TOGGLE ===== */
.music-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--gold-dark);
  box-shadow: 0 8px 20px rgba(138,111,78,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.icon-muted {
  display: none;
}

.music-toggle:not(.is-playing) .icon-note {
  display: none;
}

.music-toggle:not(.is-playing) .icon-muted {
  display: block;
}

@media (max-width: 640px) {
  .music-toggle {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .couple-grid {
    gap: 12px;
  }
  .couple-photo {
    width: 120px;
    height: 120px;
  }
  .couple-name {
    font-size: 1.3rem;
  }
  .timer-unit {
    min-width: 72px;
    padding: 16px 12px;
  }
  .timer-value {
    font-size: 1.7rem;
  }
  .map-wrap {
    height: 280px;
  }
}
