/* WeddingPhoto - diadaptasi dari gaya template "Lavewell" (Italianno + Josefin Sans, hijau sage) */
:root {
    --lw-green: #97aa85;
    --lw-dark: #232323;
    --lw-cream: #f4f0ed;
    --lw-text: #6e706c;
    --lw-script: "Italianno", cursive;
    --lw-sans: "Josefin Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--lw-sans); font-size: 17px; line-height: 1.75; color: var(--lw-text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--lw-green); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--lw-dark); font-weight: 400; }
p { margin: 0 0 1em; }
.lw-container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.lw-narrow { max-width: 780px; }
.lw-section { padding: 100px 0; position: relative; }
.lw-cream { background: var(--lw-cream); }
.text-center { text-align: center; }

/* Judul section khas Lavewell */
.lw-title { text-align: center; margin-bottom: 50px; }
.lw-title .sub { display: block; font-size: 15px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--lw-green); margin-bottom: 6px; }
.lw-title h2 { font-family: var(--lw-script); font-size: 76px; line-height: 1; color: var(--lw-dark); }
.lw-title .lw-lotus { margin: 14px auto 0; }
.lw-lotus { width: 70px; height: 44px; color: var(--lw-green); display: block; }

/* Tombol berbingkai ganda */
.lw-btn { position: relative; display: inline-block; padding: 16px 38px; background: var(--lw-green); color: #fff; font-family: var(--lw-sans); font-size: 15px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; border: 0; cursor: pointer; transition: .4s; }
.lw-btn::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255, 255, 255, .45); pointer-events: none; transition: .4s; }
.lw-btn:hover { background: var(--lw-dark); color: #fff; }
.lw-btn-line { display: inline-block; padding: 13px 34px; border: 1px solid #d6d6d6; color: var(--lw-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; background: transparent; cursor: pointer; transition: .3s; font-family: var(--lw-sans); }
.lw-btn-line:hover { background: var(--lw-green); border-color: var(--lw-green); color: #fff; }

/* Sampul */
.lw-cover { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #fff; background: var(--lw-dark) center/cover no-repeat; }
.lw-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 18, .45), rgba(20, 22, 18, .7)); }
.lw-cover-inner { position: relative; max-width: 560px; width: 100%; }
.lw-cover .lw-lotus { color: #fff; margin: 0 auto 10px; }
.lw-cover .lead { font-size: 18px; font-weight: 500; letter-spacing: 1px; margin: 0; }
.lw-cover h1 { font-family: var(--lw-script); font-size: 96px; line-height: 1; color: #fff; margin: 10px 0 6px; word-wrap: break-word; }
.lw-cover .date { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; }
.lw-guest { margin: 28px auto; padding: 18px 24px; max-width: 380px; border: 1px solid rgba(255, 255, 255, .5); outline: 1px solid rgba(255, 255, 255, .25); outline-offset: 5px; }
.lw-guest small { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.lw-guest strong { display: block; font-size: 22px; font-weight: 600; margin-top: 4px; }

/* Header */
.lw-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding: 22px 0; }
.lw-header .lw-container { display: flex; align-items: center; justify-content: space-between; }
.lw-logo { display: flex; flex-direction: column; align-items: center; color: #fff; line-height: 1; }
.lw-logo .lw-lotus { color: #fff; width: 46px; height: 28px; }
.lw-logo span { font-family: var(--lw-script); font-size: 38px; }
.lw-nav { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.lw-nav a { color: #fff; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.lw-nav a:hover { color: var(--lw-green); }

/* Hero */
.lw-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--lw-dark) center/cover no-repeat; padding: 120px 0 80px; overflow: hidden; }
.lw-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.lw-hero-inner { position: relative; }
.lw-hero .lead { font-size: 24px; font-weight: 500; margin: 0; }
.lw-hero h1 { font-family: var(--lw-script); font-size: 150px; line-height: .95; color: #fff; margin: 12px 0 28px; animation: lw-rise 1.4s ease both; }
.lw-hero .lw-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.lw-play { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; background: var(--lw-dark); color: var(--lw-green); }
.lw-play svg { width: 20px; height: 20px; }
@keyframes lw-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Salam */
.lw-greeting p { font-size: 18px; }
.lw-quote { margin: 40px auto 0; padding: 40px 30px 30px; max-width: 720px; border: 1px solid #e6e1dc; position: relative; background: #fff; }
.lw-quote::before { content: "\201C"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; line-height: 88px; border-radius: 50%; background: var(--lw-green); color: #fff; font-family: Georgia, serif; font-size: 60px; }
.lw-quote p { font-style: italic; font-size: 18px; color: var(--lw-dark); }
.lw-quote cite { font-style: normal; color: var(--lw-green); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }

/* Tokoh */
.lw-hosts { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: stretch; position: relative; }
.lw-hosts.is-pair { grid-template-columns: 1fr auto 1fr; gap: 30px; }
.lw-hosts.is-single { max-width: 560px; margin: 0 auto; }
.lw-host { background: #fff; padding: 20px 20px 40px; text-align: center; box-shadow: 0 0 60px rgba(0, 0, 0, .08); position: relative; }
.lw-host-photo { aspect-ratio: 4 / 4.4; overflow: hidden; }
.lw-host-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.lw-host:hover .lw-host-photo img { transform: scale(1.06); }
.lw-host .role { display: block; margin-top: 34px; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--lw-green); }
.lw-host h3 { font-family: var(--lw-script); font-size: 54px; line-height: 1.1; margin: 8px 0 14px; }
.lw-host p { margin: 0 auto 8px; max-width: 420px; }
.lw-host .parents { color: var(--lw-dark); font-weight: 500; }
.lw-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--lw-dark); font-weight: 500; }
.lw-social i { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--lw-dark); color: #fff; align-items: center; justify-content: center; transition: .3s; }
.lw-social:hover i { background: var(--lw-green); }
.lw-social svg { width: 16px; height: 16px; }
.lw-amp { align-self: center; font-family: var(--lw-script); font-size: 110px; line-height: 1; color: var(--lw-green); }

/* Hitung mundur */
.lw-countdown-band { position: relative; padding: 110px 0; color: #fff; background: var(--lw-dark) center/cover no-repeat; }
.lw-countdown-band::before { content: ""; position: absolute; inset: 0; background: rgba(28, 30, 25, .62); }
.lw-countdown-band .lw-container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lw-cd-title .sub { display: block; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.lw-cd-title h2 { font-family: var(--lw-script); font-size: 64px; line-height: 1; color: #fff; }
.lw-cd-title p { margin: 10px 0 0; opacity: .9; }
.lw-cd { display: flex; flex: 1; justify-content: flex-end; }
.lw-cd > div { min-width: 130px; padding: 0 26px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .3); }
.lw-cd > div:first-child { border-left: 0; }
.lw-cd b { display: block; font-family: var(--lw-script); font-size: 88px; line-height: 1; font-weight: 400; }
.lw-cd span { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.lw-cd-action { position: relative; text-align: center; margin-top: 40px; }

/* Acara - baris selang-seling */
.lw-events { display: flex; flex-direction: column; gap: 0; }
.lw-event { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--lw-cream); }
.lw-event:nth-child(even) .lw-event-img { order: 2; }
.lw-event-img { min-height: 460px; background: #ddd center/cover no-repeat; position: relative; }
.lw-event-img .num { position: absolute; left: 30px; top: 30px; padding: 4px 18px; background: var(--lw-green); color: #fff; font-weight: 600; font-size: 15px; }
.lw-event-body { padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.lw-event:nth-child(even) .lw-event-body { text-align: right; align-items: flex-end; }
.lw-event .meta { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--lw-green); }
.lw-event h3 { font-family: var(--lw-script); font-size: 64px; line-height: 1.05; margin: 10px 0 18px; }
.lw-event .date { font-weight: 600; color: var(--lw-dark); margin-bottom: 6px; }
.lw-event .venue { font-weight: 600; color: var(--lw-dark); margin: 14px 0 2px; font-size: 18px; }
.lw-event .lw-btn-line { margin-top: 24px; align-self: flex-start; }
.lw-event:nth-child(even) .lw-btn-line { align-self: flex-end; }
.lw-live { margin-top: 60px; text-align: center; padding: 50px 30px; border: 1px solid #e6e1dc; }
.lw-live h3 { font-family: var(--lw-script); font-size: 54px; }

/* Cerita */
.lw-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.lw-story { background: #fff; padding: 20px 20px 34px; text-align: center; box-shadow: 0 0 50px rgba(0, 0, 0, .06); }
.lw-story img { width: 100%; aspect-ratio: 5 / 3.4; object-fit: cover; margin-bottom: 26px; }
.lw-story .date { display: inline-block; padding: 3px 16px; background: var(--lw-green); color: #fff; font-size: 14px; font-weight: 600; }
.lw-story h3 { font-family: var(--lw-script); font-size: 48px; line-height: 1.1; margin: 12px 0 10px; }

/* Galeri */
.lw-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.lw-gallery a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.lw-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.lw-gallery a::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(151, 170, 133, .25); opacity: 0; transform: scale(.9); transition: .5s; }
.lw-gallery a:hover img { transform: scale(1.08); }
.lw-gallery a:hover::after { opacity: 1; transform: none; }
.lw-video { position: relative; padding-top: 56.25%; margin-top: 40px; }
.lw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hadiah */
.lw-gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.lw-gift { background: #fff; padding: 36px 26px; text-align: center; position: relative; outline: 1px solid #e3ddd6; outline-offset: -10px; }
.lw-gift .bank { font-size: 15px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--lw-green); }
.lw-gift .no { display: block; font-size: 26px; font-weight: 600; letter-spacing: 1.5px; color: var(--lw-dark); margin: 8px 0 4px; word-break: break-all; }
.lw-gift p { margin: 0 0 18px; }

/* RSVP */
.lw-rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.inv-field { margin-bottom: 22px; }
.inv-label { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--lw-dark); margin-bottom: 4px; }
.inv-input { width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid #cfcac4; background: transparent; font-family: var(--lw-sans); font-size: 16px; color: var(--lw-dark); outline: none; border-radius: 0; }
textarea.inv-input { border: 1px solid #cfcac4; min-height: 130px; resize: vertical; }
select.inv-input { appearance: auto; }
.inv-input:focus { border-color: var(--lw-green); }
.inv-btn { width: 100%; padding: 16px; border: 0; background: var(--lw-green); color: #fff; font-family: var(--lw-sans); font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: .3s; }
.inv-btn:hover { background: var(--lw-dark); }
.inv-btn:disabled { opacity: .6; }
.lw-wishes-head { font-family: var(--lw-script); font-size: 52px; line-height: 1; margin-bottom: 20px; }
.lw-wishes { max-height: 470px; overflow-y: auto; padding-right: 6px; }
.lw-wish { display: flex; gap: 16px; padding: 20px; background: #fff; margin-bottom: 14px; box-shadow: 0 0 30px rgba(0, 0, 0, .05); }
.lw-wish .av { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--lw-green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--lw-script); font-size: 34px; }
.lw-wish strong { color: var(--lw-dark); font-weight: 600; }
.lw-wish small { color: var(--lw-green); font-weight: 500; }
.lw-wish p { margin: 4px 0; }
.lw-wish time { font-size: 13px; color: #999; }

/* Penutup & footer */
.lw-closing { position: relative; padding: 130px 0; text-align: center; color: #fff; background: var(--lw-dark) center/cover no-repeat; }
.lw-closing::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lw-closing .lw-container { position: relative; }
.lw-closing p { font-size: 19px; max-width: 760px; margin: 0 auto 20px; }
.lw-closing h2 { font-family: var(--lw-script); font-size: 72px; color: #fff; line-height: 1; }
.lw-closing .sig { font-weight: 600; letter-spacing: 1px; }
.lw-footer { padding: 70px 0 40px; text-align: center; }
.lw-footer .lw-lotus { margin: 0 auto; }
.lw-footer .brand { font-family: var(--lw-script); font-size: 44px; color: var(--lw-dark); line-height: 1; margin-top: 4px; }
.lw-foot-names { display: flex; justify-content: center; margin: 34px 0; }
.lw-foot-names > div { flex: 1; max-width: 420px; padding: 0 30px; }
.lw-foot-names > div + div { border-left: 1px solid #ddd; }
.lw-foot-names h4 { font-family: var(--lw-script); font-size: 48px; line-height: 1.1; }
.lw-credit { font-size: 14px; border-top: 1px solid #eee; padding-top: 26px; margin: 0; }

@media (max-width: 991px) {
    .lw-nav { display: none; }
    .lw-hero h1 { font-size: 110px; }
    .lw-hosts.is-pair { grid-template-columns: 1fr; }
    .lw-amp { text-align: center; margin: -20px 0; }
    .lw-cd { justify-content: center; width: 100%; }
    .lw-countdown-band .lw-container { justify-content: center; text-align: center; }
    .lw-event { grid-template-columns: 1fr; }
    .lw-event:nth-child(even) .lw-event-img { order: 0; }
    .lw-event:nth-child(even) .lw-event-body { text-align: left; align-items: flex-start; }
    .lw-event:nth-child(even) .lw-btn-line { align-self: flex-start; }
    .lw-event-img { min-height: 300px; }
    .lw-gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .lw-rsvp-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 575px) {
    body { font-size: 16px; }
    .lw-section { padding: 70px 0; }
    .lw-title { margin-bottom: 36px; }
    .lw-title h2 { font-size: 56px; }
    .lw-cover h1 { font-size: 72px; }
    .lw-hero .lead { font-size: 18px; }
    .lw-hero h1 { font-size: 76px; }
    .lw-host h3 { font-size: 46px; }
    .lw-amp { font-size: 90px; }
    .lw-countdown-band { padding: 80px 0; }
    .lw-cd-title h2 { font-size: 54px; }
    .lw-cd > div { min-width: 0; flex: 1; padding: 0 6px; }
    .lw-cd b { font-size: 58px; }
    .lw-cd span { font-size: 12px; }
    .lw-event-body { padding: 44px 24px; }
    .lw-event h3 { font-size: 52px; }
    .lw-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lw-closing h2 { font-size: 56px; }
    .lw-foot-names { flex-direction: column; gap: 20px; }
    .lw-foot-names > div + div { border-left: 0; border-top: 1px solid #ddd; padding-top: 20px; }
}
