/* === THEME: Qyz Uzatu — Elegant Portrait (Dark Rose) === */
html { background: #1E1A1C; }

:root {
  --bg: #F7F4F0;
  --bg-alt: #EDEAE4;
  --bg-dark: #2A2024;
  --text: #2A2024;
  --text-muted: #7A6D72;
  --text-light: #F7F4F0;
  --accent: #C47A92;
  --accent-light: #E0A8B8;
  --accent-subtle: #E8D0D8;
  --heading: #2A2024;
  --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 === */
.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-subtle); }
.ornament-diamond { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }

/* === HERO WITH PHOTO === */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 20px 48px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,32,36,0.1) 0%, rgba(42,32,36,0.3) 40%, rgba(42,32,36,0.75) 75%, rgba(42,32,36,0.9) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-label { font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; }
.hero-names { font-family: var(--font-serif); font-size: 42px; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 8px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-date { font-family: var(--font-sans); font-size: 14px; font-weight: 300; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); margin-top: 12px; }
.hero-scroll { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2; animation: gentle-bounce 2s ease-in-out infinite; }
.hero-scroll svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.5); }
.hero-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-dark) 0%, #4A3D42 50%, var(--bg-dark) 100%); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; }

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

/* === SECTIONS === */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-dark .section-title { color: var(--white); }
.section-dark .event-label { color: var(--accent-light); }
.section-dark .event-value { color: var(--white); }
.section-dark .event-value-sm { color: rgba(247,244,240,0.7); }
.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-label { font-size: 12px; font-weight: 400; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.invitation-hosts { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.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-muted); line-height: 1.5; }

/* === COUNTDOWN === */
.countdown-section { text-align: center; padding: 0 0 48px; background: var(--bg-dark); color: var(--text-light); }
.countdown-label { font-size: 13px; font-weight: 300; letter-spacing: 0.1em; color: var(--accent-light); 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); background: rgba(255,255,255,0.05); }
.cd-item span:first-child { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--white); line-height: 1; }
.cd-item span:last-child { font-size: 10px; font-weight: 400; letter-spacing: 0.05em; color: var(--accent-light); margin-top: 2px; }

/* === MAP BUTTON === */
.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-light); color: var(--bg-dark); }
.map-btn:active { transform: scale(0.97); }
.map-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* === CALENDAR ICON === */
.cal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.5;
}

.cal-icon:hover {
  background: var(--accent);
  color: var(--white);
  opacity: 1;
}

.cal-icon svg {
  fill: currentColor;
}

/* === 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; }

/* === FOOTER === */
.template-footer { text-align: center; padding: 32px 20px 80px; border-top: 1px solid var(--accent-subtle); }
.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; }

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