/* === THEME: Romantic Light Premium === */
html { background: #EDE6DF; }

:root {
  --bg: #FFF9F5;
  --bg-alt: #FFF1EB;
  --text: #3D2C2C;
  --text-muted: #8B7272;
  --accent: #C8956C;
  --accent-light: #E8D5C0;
  --accent-dark: #A97B55;
  --heading: #5C3D2E;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* === ORNAMENT DIVIDER === */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--accent-light);
}

.ornament::before,
.ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--accent-light);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.ornament-lg .ornament-diamond {
  width: 10px;
  height: 10px;
}

.ornament-lg::before,
.ornament-lg::after {
  width: 80px;
}

/* === HERO SECTION === */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
  position: relative;
}

.hero-label {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-ampersand {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  margin: 4px 0;
  font-weight: 400;
}

.hero-date {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: gentle-bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTION SPACING === */
.section {
  padding: 56px 0;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  margin-bottom: 24px;
}

/* === INVITATION TEXT === */
.invitation {
  text-align: center;
  padding: 56px 0;
}

.invitation-hosts {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.invitation-hosts-label {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.invitation-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  max-width: 340px;
  margin: 24px auto 0;
}

/* === EVENT DETAILS === */
.event-details {
  text-align: center;
}

.event-item {
  margin-bottom: 24px;
}

.event-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.event-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
}

.event-value-sm {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

/* === COUNTDOWN === */
.countdown-section {
  text-align: center;
  padding: 48px 0;
}

.countdown-label {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  background: var(--white);
}

.cd-item span:first-child {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
}

.cd-item span:last-child {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === LOCATION === */
.location {
  text-align: center;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 20px;
}

.map-btn:hover {
  background: var(--accent-dark);
}

.map-btn:active {
  transform: scale(0.97);
}

.map-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* === PERSONAL MESSAGE === */
.personal-msg {
  text-align: center;
  padding: 48px 0;
}

.personal-msg-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: var(--heading);
  max-width: 320px;
  margin: 0 auto;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 48px 0 56px;
}

.cta-label {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* === FOOTER === */
.template-footer {
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--accent-light);
}

.template-footer-brand {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.template-footer-brand a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === PHOTO PLACEHOLDER === */
.photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--accent-light);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 380px) {
  .hero-names {
    font-size: 34px;
  }
  .cd-item {
    width: 64px;
    height: 64px;
  }
  .cd-item span:first-child {
    font-size: 20px;
  }
}

