/* Love - tema undangan bergaya aplikasi mobile (diadaptasi dari template "Love Wedding Mobile") */
:root { --lv-p: #ec407a; --lv-p-rgb: 236, 64, 122; --lv-s: #f7f7f7; }
* { box-sizing: border-box; }
html { background: #f0f0f0; }
body { margin: 0; font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 1.6; color: #666; background: #e9e9e9; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: #333; font-weight: 400; margin: 0 0 8px; line-height: 1.3; }
a { color: var(--lv-p); text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 10px; }

/* Bingkai aplikasi: di desktop tampil seperti layar ponsel di tengah */
.lv-app { position: relative; max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; box-shadow: 0 0 40px rgba(0, 0, 0, .12); overflow: hidden; }
.lv-container { padding: 0 16px; }

.lv-navbar { position: sticky; top: 0; z-index: 50; height: 56px; background: var(--lv-p); display: flex; align-items: center; justify-content: space-between; padding: 0 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.lv-navbar .title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: #fff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-navbar .title i { font-size: 18px; }
.lv-navbar a, .lv-navbar button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; background: none; border: 0; cursor: pointer; }

.app-button { display: inline-block; background: var(--lv-p); border: 0; color: #fff; padding: 8px 16px 9px; border-radius: 2px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Roboto', sans-serif; transition: opacity .2s; }
.app-button:hover { opacity: .88; color: #fff; }
.app-button.outline { background: transparent; border: 1px solid var(--lv-p); color: var(--lv-p); }
.app-button.white { background: #fff; color: var(--lv-p); }

.app-section { padding: 26px 0 34px; }
.app-bg-dark { background: var(--lv-s); }
.app-title { text-align: center; margin-bottom: 22px; }
.app-title h4 { font-size: 19px; letter-spacing: 1px; margin-bottom: 4px; }
.app-title i { color: var(--lv-p); }

/* Slider */
.lv-slider { position: relative; height: 330px; overflow: hidden; background: #333; }
.lv-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.lv-slide.active { opacity: 1; }
.lv-slide img { width: 100%; height: 100%; object-fit: cover; }
.lv-slide .overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.lv-slider .caption { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; padding: 0 20px; z-index: 2; }
.lv-slider .caption small { display: block; letter-spacing: 3px; text-transform: uppercase; font-size: 11px; }
.lv-slider .caption h2 { color: #fff; font-size: 30px; font-weight: 700; margin: 6px 0; }
.lv-slider .caption p { color: #fff; margin-bottom: 14px; }
.lv-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.lv-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #fff; opacity: .6; cursor: pointer; }
.lv-dots button.active { background: var(--lv-p); opacity: 1; }

/* Profil */
.profile { text-align: center; padding: 20px 0 30px; }
.profile .row { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.profile .row > div { flex: 1 1 0; max-width: 50%; }
.profile .row.single > div { max-width: 260px; }
.profile .entry { padding: 16px 10px; background: var(--lv-s); height: 100%; }
.profile .entry img { border-radius: 50%; height: 100px; width: 100px; object-fit: cover; margin: 0 auto 8px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.profile .entry h6 { color: var(--lv-p); font-size: 17px; margin-bottom: 2px; }
.profile .entry .full { font-size: 12px; color: #333; font-weight: 500; margin-bottom: 6px; }
.profile .entry p { font-size: 12px; margin: 0; line-height: 1.5; }
.profile .entry .parents { color: #444; font-weight: 500; margin-top: 2px; }
.profile .entry .ig { display: inline-block; margin-top: 8px; font-size: 12px; color: #777; }
.profile .date { border: dashed 2px var(--lv-p); padding: 15px 10px; background: #f9f9f9; }
.profile .date h5 { font-size: 18px; margin: 0; }
.profile .date p { font-size: 14px; color: #777; margin: 0 0 10px; }
.lv-countdown { display: flex; justify-content: center; gap: 8px; margin: 10px 0 14px; }
.lv-countdown span { width: 62px; padding: 8px 0 6px; background: var(--lv-p); color: #fff; border-radius: 4px; font-size: 11px; }
.lv-countdown b { display: block; font-family: 'Playfair Display', serif; font-size: 22px; line-height: 1.1; }

/* Salam */
.lv-greeting { text-align: center; }
.lv-greeting blockquote { margin: 18px 0 0; padding: 16px; background: #fff; border-left: 3px solid var(--lv-p); font-family: 'Playfair Display', serif; font-style: italic; color: #444; text-align: left; }
.lv-greeting blockquote cite { display: block; margin-top: 8px; font-style: normal; font-family: 'Roboto', sans-serif; font-size: 12px; color: var(--lv-p); font-weight: 700; }

/* Acara (timeline) */
.event .item { display: flex; gap: 15px; margin-bottom: 22px; }
.event .item:last-child { margin-bottom: 0; }
.event .icon { flex: 0 0 50px; width: 50px; height: 50px; background: var(--lv-p); line-height: 50px; border-radius: 50%; color: #fff; font-size: 18px; text-align: center; }
.event .head h6 { font-size: 16px; margin-bottom: 2px; }
.event .head span { font-size: 13px; color: #777; display: block; }
.event .post { font-size: 13px; margin-top: 6px; }
.event .post strong { color: #444; font-weight: 500; }
.event .post .app-button { margin-top: 8px; }
.lv-live { margin-top: 24px; padding: 16px; border: dashed 2px var(--lv-p); text-align: center; background: #fff; }

/* Cerita */
.lv-story { position: relative; padding-left: 26px; }
.lv-story::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: rgba(var(--lv-p-rgb), .25); }
.lv-story .entry { position: relative; margin-bottom: 20px; background: var(--lv-s); }
.lv-story .entry::before { content: '\f004'; font-family: FontAwesome; position: absolute; left: -26px; top: 12px; width: 16px; height: 16px; font-size: 10px; line-height: 16px; text-align: center; border-radius: 50%; background: var(--lv-p); color: #fff; }
.lv-story .entry img { width: 100%; height: 170px; object-fit: cover; }
.lv-story .content { padding: 12px 14px 14px; }
.lv-story h6 { font-size: 16px; margin-bottom: 0; }
.lv-story span { font-size: 12px; color: var(--lv-p); }
.lv-story p { font-size: 13px; margin: 6px 0 0; }

/* Galeri */
.portfolio-filter { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0; margin: 0 0 16px; list-style: none; }
.portfolio-filter li { background: #eee; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.portfolio-filter li.active { background: var(--lv-p); color: #fff; }
.portfolio-item { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portfolio-item a { display: block; aspect-ratio: 1; overflow: hidden; }
.portfolio-item a.hide { display: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-item a:hover img { transform: scale(1.06); }
.lv-video { margin-top: 14px; position: relative; padding-top: 56.25%; }
.lv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hadiah */
.lv-gift { background: #fff; border: 1px solid #eee; padding: 16px; text-align: center; margin-bottom: 12px; }
.lv-gift small { display: block; font-weight: 700; color: var(--lv-p); letter-spacing: 2px; text-transform: uppercase; font-size: 11px; }
.lv-gift strong { display: block; font-family: 'Playfair Display', serif; font-size: 20px; color: #333; letter-spacing: 1px; word-break: break-all; }
.lv-gift p { font-size: 13px; margin: 2px 0 10px; }

/* RSVP */
.inv-field { margin-bottom: 14px; }
.inv-label { display: block; font-size: 12px; font-weight: 700; color: #444; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.inv-input { width: 100%; border: 1px solid #ddd; background: #fff; padding: 10px 12px; font: 14px 'Roboto', sans-serif; color: #444; border-radius: 2px; outline: none; }
.inv-input:focus { border-color: var(--lv-p); }
.inv-btn { width: 100%; background: var(--lv-p); color: #fff; border: 0; padding: 12px; font: 700 14px 'Roboto', sans-serif; border-radius: 2px; cursor: pointer; letter-spacing: .5px; }
.inv-btn:disabled { opacity: .6; }

/* Ucapan (gaya testimonial) */
.testimonial { position: relative; text-align: center; color: #eee; background: #999 center / cover no-repeat; }
.testimonial::before { content: ''; position: absolute; inset: 0; background: rgba(var(--lv-p-rgb), .88); }
.testimonial > * { position: relative; }
.testimonial .app-title h4, .testimonial .app-title i { color: #fff; }
.lv-wishes { max-height: 420px; overflow-y: auto; padding: 0 2px; }
.lv-wish { padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.lv-wish:last-child { border-bottom: 0; }
.lv-wish p { color: #fff; font-size: 14px; margin: 0 0 8px; }
.lv-wish .initial { width: 44px; height: 44px; margin: 0 auto 4px; border-radius: 50%; background: #fff; color: var(--lv-p); font: 700 18px/44px 'Playfair Display', serif; text-transform: uppercase; }
.lv-wish h6 { color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; margin: 0; }
.lv-wish strong { font-size: 12px; color: #fff; font-weight: 400; opacity: .85; }
.lv-wishes .empty { color: #fff; }

/* Penutup */
.lv-closing { text-align: center; }
.lv-closing h4 { font-size: 22px; }
.lv-closing .names { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--lv-p); font-weight: 700; margin-top: 8px; }
footer { background: var(--lv-p); text-align: center; padding: 26px 16px; color: #eee; }
footer h6 { font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 4px; }
footer a { color: #fff; font-weight: 700; }
footer .ft-bottom { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 14px; padding-top: 14px; font-size: 13px; }

/* Sampul */
.lv-cover { display: flex; justify-content: center; background: #e9e9e9; }
.lv-cover .lv-app { width: 100%; display: flex; flex-direction: column; min-height: 100%; }
.lv-cover .lv-cover-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; color: #fff; background: #333 center / cover no-repeat; }
.lv-cover .lv-cover-body::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lv-cover .lv-cover-body > div { position: relative; width: 100%; }
.lv-cover small { letter-spacing: 3px; text-transform: uppercase; font-size: 11px; }
.lv-cover h1 { color: #fff; font-size: 34px; font-weight: 700; margin: 8px 0; }
.lv-cover .heart { color: var(--lv-p); font-size: 22px; }
.lv-cover .guest { margin: 22px auto; max-width: 300px; border: dashed 2px var(--lv-p); background: rgba(255, 255, 255, .95); padding: 14px 10px; color: #777; }
.lv-cover .guest h5 { font-size: 19px; margin: 4px 0 0; }
