/* ===== TEMPLATE 19: SENTUHAN HATI ===== */
/* Ultra minimalist, lots of whitespace, typography-focused — LIGHT THEME */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: #FAFAF8; color: #2A2A2A; overflow-x: hidden; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

:root {
  --nude: #D4C5B0;
  --nude-light: #E8DDD0;
  --champagne: #E8D5A3;
  --charcoal: #2A2A2A;
  --gray: #7A7A7A;
  --gray-light: #B0B0B0;
  --white: #FAFAF8;
  --white-pure: #FFFFFF;
  --font-serif: 'Playfair Display', serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Jost', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.04);
  --shadow-nude: 0 4px 24px rgba(212,197,176,0.2);
  --radius: 12px;
  --transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* ===== COVER ===== */
.cover-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: var(--white);
}
.cover-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  opacity: 0.15; filter: brightness(1.1) saturate(0.6) grayscale(0.2);
}
.cover-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(250,250,248,0.92) 0%, rgba(250,250,248,0.7) 40%, rgba(250,250,248,0.95) 100%);
}
.cover-ornament-top, .cover-ornament-bottom {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 240px; height: auto; opacity: 0.35; pointer-events: none;
}
.cover-ornament-top { top: 2rem; }
.cover-ornament-bottom { bottom: 2rem; transform: translateX(-50%) rotate(180deg); }

.cover-content {
  position: relative; z-index: 3; text-align: center; padding: 2rem;
  animation: fadeInUp 1.2s ease both;
}
.cover-bismillah {
  font-size: 1.5rem; color: var(--charcoal); font-family: var(--font-serif);
  margin-bottom: 2rem; letter-spacing: 0.05em; opacity: 0.7;
}
.cover-subtitle {
  font-size: 0.7rem; letter-spacing: 0.6em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1rem;
}
.cover-names {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--charcoal); line-height: 1.2; margin-bottom: 0.8rem;
  font-weight: 400; letter-spacing: -0.02em;
}
.cover-names span { color: var(--nude); font-size: 0.5em; font-family: var(--font-script); }
.cover-date {
  font-size: 0.85rem; color: var(--gray); letter-spacing: 0.4em;
  margin-bottom: 2.5rem; text-transform: uppercase; font-weight: 300;
}
.cover-divider { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
.cover-divider span { width: 80px; height: 0.5px; background: var(--nude); }
.cover-divider i { color: var(--nude); font-size: 0.6rem; }
.cover-guest-label { font-size: 0.7rem; color: var(--gray-light); letter-spacing: 0.3em; margin-bottom: 0.3rem; }
.cover-guest-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--charcoal); margin-bottom: 3rem; font-weight: 400; }
.btn-open {
  background: transparent; border: 1px solid var(--charcoal); color: var(--charcoal);
  padding: 0.9rem 2.5rem; border-radius: 0; font-size: 0.8rem;
  cursor: pointer; transition: var(--transition); letter-spacing: 0.2em;
  text-transform: uppercase; font-family: var(--font-body); font-weight: 300;
}
.btn-open:hover { background: var(--charcoal); color: var(--white); }

/* ===== MUSIC PLAYER ===== */
.music-player { position: fixed; top: 1rem; right: 1rem; z-index: 1000; }
.music-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--nude);
  background: rgba(250,250,248,0.95); backdrop-filter: blur(10px); color: var(--charcoal);
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.music-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.music-btn.playing { animation: musicPulse 1.5s ease-in-out infinite; }
@keyframes musicPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,197,176,0.4); } 50% { box-shadow: 0 0 0 6px rgba(212,197,176,0); } }

/* ===== FLOATING NAV ===== */
.floating-nav {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: none; gap: 2px; padding: 6px 10px; border-radius: 50px; z-index: 999;
  background: rgba(250,250,248,0.95); backdrop-filter: blur(16px);
  border: 1px solid rgba(212,197,176,0.3); box-shadow: var(--shadow);
}
.floating-nav a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 0.8rem; transition: var(--transition); }
.floating-nav a:hover, .floating-nav a.active { color: var(--charcoal); background: rgba(212,197,176,0.15); }

/* ===== SECTIONS COMMON ===== */
.section { padding: 6rem 1.5rem; position: relative; overflow: hidden; }
.section-white { background: var(--white-pure); }
.section-nude { background: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label { font-size: 0.6rem; letter-spacing: 0.6em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 0.8rem; display: block; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--charcoal); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--gray); }

/* ===== COUPLE ===== */
.couple-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 650px; margin: 0 auto; }
.couple-card { text-align: center; padding: 2rem 1rem; }
.couple-card:hover { }
.couple-photo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 1.5rem; border: 1px solid var(--nude); padding: 4px; overflow: hidden; }
.couple-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.couple-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.5rem; font-weight: 400; }
.couple-parents { font-size: 0.78rem; color: var(--gray); line-height: 1.7; }

/* ===== QUOTE ===== */
.quote-section { text-align: center; padding: 5rem 2rem; }
.quote-text { font-family: var(--font-serif); font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--charcoal); font-style: italic; line-height: 2; max-width: 550px; margin: 0 auto 1rem; font-weight: 400; }
.quote-source { font-size: 0.75rem; color: var(--gray-light); letter-spacing: 0.15em; }

/* ===== COUNTDOWN ===== */
.countdown-wrap { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.cd-item { text-align: center; min-width: 65px; padding: 1rem; }
.cd-item span { display: block; font-family: var(--font-serif); font-size: 2.2rem; color: var(--charcoal); font-weight: 400; }
.cd-item small { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-light); }

/* ===== EVENT ===== */
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 650px; margin: 0 auto; }
.event-card { text-align: center; padding: 2.5rem 1.5rem; border: 1px solid rgba(212,197,176,0.3); border-radius: 4px; transition: var(--transition); }
.event-card:hover { border-color: var(--nude); }
.event-icon { font-size: 1.2rem; color: var(--nude); margin-bottom: 1rem; }
.event-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.8rem; font-weight: 400; }
.event-detail { font-size: 0.8rem; color: var(--gray); line-height: 1.9; }
.event-detail strong { color: var(--charcoal); display: block; margin-bottom: 0.3rem; font-weight: 500; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 650px; margin: 0 auto; }
.gallery-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; transition: var(--transition); }
.gallery-item:hover { opacity: 0.85; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== RSVP ===== */
.rsvp-form { max-width: 450px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; padding: 1rem 1.2rem; background: var(--white-pure); border: 1px solid rgba(212,197,176,0.4); border-radius: 4px; color: var(--charcoal); font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: var(--transition); }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--charcoal); }
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: var(--gray-light); }
.rsvp-form select { color: var(--gray); }
.btn-submit { background: var(--charcoal); color: var(--white); border: none; padding: 1rem 2rem; border-radius: 0; font-size: 0.8rem; font-weight: 400; cursor: pointer; transition: var(--transition); letter-spacing: 0.15em; text-transform: uppercase; }
.btn-submit:hover { opacity: 0.8; }

/* ===== WISHES ===== */
.wishes-list { max-width: 550px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.wish-card { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(212,197,176,0.3); }
.wish-name { font-weight: 500; color: var(--charcoal); font-size: 0.82rem; margin-bottom: 0.3rem; }
.wish-msg { font-size: 0.8rem; color: var(--gray); line-height: 1.7; }
.wish-time { font-size: 0.68rem; color: var(--gray-light); margin-top: 0.5rem; }

/* ===== GIFT ===== */
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 450px; margin: 0 auto; }
.gift-card { padding: 1.5rem; text-align: center; border: 1px solid rgba(212,197,176,0.3); border-radius: 4px; }
.gift-bank { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.15em; margin-bottom: 0.5rem; text-transform: uppercase; }
.gift-number { font-family: monospace; font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.gift-name { font-size: 0.72rem; color: var(--gray-light); }
.btn-copy { margin-top: 0.8rem; padding: 0.4rem 1rem; border-radius: 0; border: 1px solid var(--nude); background: transparent; color: var(--charcoal); font-size: 0.68rem; cursor: pointer; transition: var(--transition); letter-spacing: 0.1em; }
.btn-copy:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

/* ===== CLOSING ===== */
.closing-section { text-align: center; padding: 6rem 2rem; background: var(--white); }
.closing-names { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--charcoal); margin-bottom: 1rem; font-weight: 400; }
.closing-msg { font-size: 0.82rem; color: var(--gray); max-width: 380px; margin: 0 auto; line-height: 1.9; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.aos-fade { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.aos-fade.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) { .couple-grid, .event-grid, .gift-grid { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: repeat(2, 1fr); } .section { padding: 4rem 1.2rem; } .cover-ornament-top, .cover-ornament-bottom { width: 180px; } }
@media (max-width: 480px) { .countdown-wrap { gap: 1rem; } .cd-item span { font-size: 1.8rem; } }

/* ===== LOVE STORY TIMELINE ===== */
.story-timeline {
  max-width: 600px; margin: 0 auto; position: relative;
  padding-left: 30px; border-left: 2px solid rgba(201,168,76,0.2);
}
.story-item {
  position: relative; padding: 0 0 2.5rem 2rem;
}
.story-item:last-child { padding-bottom: 0; }
.story-dot {
  position: absolute; left: -39px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--black, #0a0806);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.3);
}
.story-date {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem; display: block;
}
.story-content h4 {
  font-family: var(--font-serif, 'Playfair Display', serif); font-size: 1.1rem; color: var(--charcoal, #2C2C2C);
  margin-bottom: 0.4rem; font-weight: 400;
}
.story-content p {
  font-size: 0.85rem; color: var(--text, rgba(0,0,0,0.55)); line-height: 1.7;
}
/* ===== TURUT MENGUNDANG ===== */
.turut-grid {
  max-width: 500px; margin: 0 auto; display: flex; flex-direction: column;
  gap: 1rem; text-align: center;
}
.turut-card {
  padding: 1.2rem 1.5rem;
  background: rgba(201,168,76,0.03); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
}
.turut-card p {
  font-family: var(--font-serif, 'Playfair Display', serif); font-size: 1rem; color: var(--gold-dark, #A68B28);
  font-style: italic;
}
/* ===== DOA PENGANTIN ===== */
.doa-content {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.doa-arabic {
  font-size: clamp(1.4rem, 4vw, 2rem); color: var(--gold-dark, #A68B28);
  line-height: 2; margin-bottom: 1rem; direction: rtl;
}
.doa-latin {
  font-size: 0.85rem; color: var(--text, rgba(0,0,0,0.5)); font-style: italic;
  margin-bottom: 1rem; letter-spacing: 0.02em;
}
.doa-arti {
  font-size: 0.9rem; color: var(--text, rgba(0,0,0,0.7)); line-height: 1.8;
  margin-bottom: 0.8rem;
}
.doa-source {
  font-size: 0.75rem; color: var(--text, rgba(0,0,0,0.35)); letter-spacing: 0.1em;
}
/* ===== GIFT CONFIRM WA ===== */
.btn-confirm-gift {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 1.5rem auto 0; padding: 0.8rem 2rem; border-radius: 50px;
  background: #25D366; color: #fff; border: none; font-size: 0.85rem;
  font-family: var(--font-body, 'Jost', sans-serif); font-weight: 500; cursor: pointer;
  transition: all 0.3s ease; letter-spacing: 0.05em;
}
.btn-confirm-gift:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
/* ===== COUNTDOWN TARGET ===== */
.countdown-target { opacity: 0.5; }
