/* Love Bite - tema undangan watercolor terakota (diadaptasi dari template Love Bite Wedding Planner) */
:root { --lb-primary: #c98568; --lb-dark: #363031; --lb-text: #898585; --lb-cream: #f5eee8; --lb-cream2: #faf7f2; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lb { margin: 0; font-family: 'Manrope', sans-serif; font-size: 15px; line-height: 27px; color: var(--lb-text); background: #fff; overflow-x: hidden; }
.lb img { max-width: 100%; display: block; }
.lb h1, .lb h2, .lb h3 { font-family: 'PT Serif', serif; font-weight: 400; color: var(--lb-dark); margin: 0; line-height: 1.25; }
.lb p { margin: 0 0 1em; }
.lb a { color: var(--lb-primary); }
.lb figure { margin: 0; }
.lb-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lb-btn { display: inline-block; background: var(--lb-primary); color: #fff !important; border: 0; padding: 10px 30px 11px; font: 700 14px/25px 'PT Serif', serif; text-decoration: none; cursor: pointer; transition: background .3s; }
.lb-btn:hover { background: var(--lb-dark); }
.lb-btn-sm { padding: 6px 20px; font-size: 13px; }
.lb-link { display: inline-block; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.lb-sub { display: block; font: 400 40px/1.2 'Alex Brush', cursive; color: var(--lb-primary); margin-bottom: 8px; }
.lb-designation { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 500; color: var(--lb-primary); }

/* Ikon flaticon template */
.lb-icon { font-style: normal; }
.lb-icon::before { font-family: 'lb-icons' !important; font-weight: normal; }
.flaticon-wedding-arch-1::before { content: "\f102"; }
.flaticon-love-birds::before { content: "\f103"; }
.flaticon-candelabra::before { content: "\f104"; }
.flaticon-wedding-ring::before { content: "\f108"; }
.flaticon-hearts::before { content: "\f10a"; }

/* Judul section */
.lb-sec-title { text-align: center; margin-bottom: 50px; }
.lb-sec-title img { width: 140px; margin: 0 auto 6px; }
.lb-sec-title h2 { font: 400 clamp(40px, 5vw, 55px)/1.2 'Alex Brush', cursive; color: var(--lb-dark); }
.lb-sec-title p { max-width: 620px; margin: 16px auto 0; }

/* Sampul & banner */
.lb-cover, .lb-banner { background: #3a3435 center/cover no-repeat; color: #fff; text-align: center; display: flex; align-items: center; justify-content: center; }
.lb-cover::before, .lb-banner::before { content: ''; position: absolute; inset: 0; background: rgba(30, 24, 25, .5); }
.lb-banner { position: relative; min-height: 100vh; padding: 100px 20px; }
.lb-cover-inner, .lb-banner-inner { position: relative; z-index: 1; padding: 20px; }
.lb-leaf { width: 172px; margin: 0 auto 26px; }
.lb-date-lines { display: inline-block; font: 400 clamp(22px, 3vw, 32px)/1.2 'Manrope', sans-serif; letter-spacing: 4px; text-transform: uppercase; padding: 12px 0; margin-bottom: 30px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; position: relative; }
.lb-date-lines::before, .lb-date-lines::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: #fff; }
.lb-date-lines::before { top: -8px; }
.lb-date-lines::after { bottom: -8px; }
.lb-cover-sub { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; margin-bottom: 0 !important; }
.lb-script-names { font: 400 clamp(64px, 11vw, 140px)/1 'Alex Brush', cursive !important; color: #fff !important; display: flex; flex-direction: column; align-items: center; margin: 10px 0 20px !important; }
.lb-script-names span { font-size: .55em; line-height: 1; }
.lb-guest { margin: 10px auto 26px; }
.lb-guest small { display: block; font-size: 14px; opacity: .9; }
.lb-guest strong { display: block; font: 400 26px/1.4 'PT Serif', serif; }

/* About */
.lb-about { padding: 120px 0 100px; overflow: hidden; }
.lb-about-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 30px; align-items: center; }
.lb-about-img { position: relative; }
.lb-about-img figure { position: relative; z-index: 1; overflow: hidden; }
.lb-about-img figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lb-wild { position: absolute; z-index: 0; width: 260px; max-width: none; top: -70px; }
.lb-left .lb-wild { left: -150px; transform: scaleX(-1); }
.lb-right .lb-wild { right: -150px; }
.lb-about-box { position: relative; background: var(--lb-cream); padding: 60px 50px; text-align: center; overflow: hidden; }
.lb-about-box::before { content: ''; position: absolute; inset: 22px; border: 2px solid #fff; pointer-events: none; }
.lb-about-lineart { position: absolute; right: -10px; bottom: -10px; width: 220px; opacity: .6; }
.lb-about-title { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.45 !important; margin-bottom: 10px !important; position: relative; }
.lb-quote-src { color: var(--lb-primary); font-weight: 600; letter-spacing: 1px; }
.lb-about-box p { position: relative; }
.lb-vline { position: relative; height: 330px; margin: 0 auto 40px; }
.lb-vline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #e1e1e1; }
.lb-vline img { position: absolute; left: 50%; top: 50%; transform: translate(-45%, -50%); width: 150px; }
.lb-couple { display: flex; justify-content: center; gap: 40px; }
.lb-person { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 30px; background: var(--lb-cream2); padding: 30px; }
.lb-person.style-two { flex-direction: row-reverse; text-align: right; }
.lb-person-img { position: relative; flex: 0 0 180px; width: 180px; height: 180px; }
.lb-person-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; padding: 14px; }
.lb-frame { position: absolute; inset: -10px; background: url('../img/icon-frame.png') center/contain no-repeat; }
.lb-person-text h3 { font-size: 26px; margin: 4px 0 8px; }
.lb-parents { color: var(--lb-dark); font-weight: 500; }
.lb-ig { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }

/* Countdown */
.lb-countdown-section { position: relative; padding: 60px 0 100px; text-align: center; }
.lb-cd-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: center/cover no-repeat; }
.lb-circle-wrap { position: relative; display: inline-block; }
.lb-circle { position: relative; z-index: 2; width: 760px; height: 760px; max-width: 92vw; max-height: 92vw; border-radius: 50%; background: #fff; box-shadow: 0 0 60px rgba(0,0,0,.07); display: flex; align-items: center; justify-content: center; }
.lb-circle::before { content: ''; position: absolute; inset: 35px; border-radius: 50%; border: 1px solid var(--lb-primary); background: url("../img/icon-flower-12.png") center 70%/70% no-repeat; }
.lb-circle::after { content: ""; position: absolute; inset: 36px; border-radius: 50%; background: rgba(255,255,255,.55); }
.lb-circle-inner { position: relative; z-index: 1; padding: 40px; }
.lb-cd-date { font: 400 clamp(46px, 6vw, 72px)/1.1 'Alex Brush', cursive; color: var(--lb-dark); }
.lb-cd-address { font: 400 20px/1.5 'PT Serif', serif; color: var(--lb-dark); margin: 6px 0 26px; }
.lb-countdown { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.lb-countdown div { width: 96px; }
.lb-countdown b { display: block; font: 400 52px/1.1 'PT Serif', serif; color: var(--lb-primary); }
.lb-countdown span { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--lb-dark); }
.lb-circle-leaves { position: absolute; z-index: 3; width: 380px; left: 50%; top: -60px; transform: translateX(-50%); }
.lb-circle-f1 { position: absolute; z-index: 1; width: 200px; left: 0; bottom: 60px; }
.lb-circle-f2 { position: absolute; z-index: 1; width: 150px; right: 0; top: 160px; }

/* Timeline acara */
.lb-timeline { padding: 110px 0 90px; background: #fafafa; }
.lb-timeline-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 20px; position: relative; }
.lb-timeline-row::before { content: ''; position: absolute; left: 0; right: 0; top: 29px; height: 1px; background: #d7d7d7; }
.lb-timeline-block { position: relative; flex: 1 1 280px; max-width: 380px; text-align: center; padding: 0 10px; }
.lb-timeline-block .lb-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 26px; border-radius: 50%; background: var(--lb-primary); color: #fff; font-size: 30px; position: relative; }
.lb-time { color: var(--lb-primary); font-size: 14px; }
.lb-timeline-block h3 { font-size: 24px; margin: 4px 0 10px; }
.lb-event-date { color: var(--lb-dark); font-weight: 500; margin-bottom: 6px !important; }
.lb-timeline-block strong { color: var(--lb-dark); font-weight: 600; }
.lb-live { text-align: center; margin-top: 60px; }
.lb-live .lb-icon { display: block; font-size: 40px; color: var(--lb-primary); margin-bottom: 10px; }
.lb-live h3 { font-size: 26px; margin-bottom: 8px; }

/* Cerita */
.lb-story { padding: 110px 0 60px; }
.lb-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.lb-story-block figure { overflow: hidden; }
.lb-story-block figure img { width: 100%; aspect-ratio: 365 / 251; object-fit: cover; transition: transform .6s; }
.lb-story-block:hover figure img { transform: scale(1.06); }
.lb-info { text-align: center; padding: 26px 10px 0; }
.lb-info-sub { color: var(--lb-primary); text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.lb-info h3 { font-size: 24px; margin: 2px 0 10px; }

/* Galeri */
.lb-gallery { padding: 90px 0 110px; }
.lb-gallery-grid { columns: 3; column-gap: 24px; }
.lb-gallery-grid a { display: block; margin-bottom: 24px; break-inside: avoid; overflow: hidden; }
.lb-gallery-grid img { width: 100%; transition: transform .6s; }
.lb-gallery-grid a:nth-child(3n+1) img { aspect-ratio: 365 / 251; object-fit: cover; }
.lb-gallery-grid a:nth-child(3n+2) img { aspect-ratio: 365 / 540; object-fit: cover; }
.lb-gallery-grid a:nth-child(3n) img { aspect-ratio: 365 / 300; object-fit: cover; }
.lb-gallery-grid a:hover img { transform: scale(1.06); }
.lb-video { position: relative; padding-top: 56.25%; margin-top: 10px; }
.lb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hadiah */
.lb-gift { padding: 100px 0; background: var(--lb-cream2); }
.lb-gift-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.lb-gift-card { position: relative; flex: 1 1 280px; max-width: 360px; background: var(--lb-cream); padding: 44px 30px; text-align: center; }
.lb-gift-card::before { content: ''; position: absolute; inset: 12px; border: 2px solid #fff; pointer-events: none; }
.lb-gift-card strong { display: block; font: 400 28px/1.4 'PT Serif', serif; color: var(--lb-dark); margin: 10px 0 2px; }
.lb-gift-card p { position: relative; }
.lb-gift-card .lb-btn { position: relative; }

/* RSVP */
.lb-cta { position: relative; padding: 130px 20px; background: #3a3435 center/cover no-repeat; text-align: center; }
.lb-cta::before { content: ''; position: absolute; inset: 0; background: rgba(30,24,25,.55); }
.lb-cta-inner { position: relative; }
.lb-cta-icon { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; }
.lb-cta-icon::before, .lb-cta-icon::after { content: ''; width: 134px; height: 1px; background: rgba(255,255,255,.7); }
.lb-cta-icon .lb-icon { color: #fff; font-size: 80px; line-height: 1; }
.lb-cta h2 { font: 400 clamp(40px, 6vw, 70px)/1.15 'Alex Brush', cursive; color: #fff; }
.lb-rsvp { padding: 100px 0; }
.lb-rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.lb-form-box { position: relative; background: var(--lb-cream); padding: 50px 44px; }
.lb-form-box h3, .lb-wishes-wrap h3 { font-size: 30px; margin-bottom: 26px; }
.lb .inv-field { margin-bottom: 16px; }
.lb .inv-label { display: block; font-size: 14px; font-weight: 600; color: var(--lb-dark); margin-bottom: 4px; }
.lb .inv-input { width: 100%; border: 1px solid #fff; background: #fff; padding: 12px 16px; font: 400 15px 'Manrope', sans-serif; color: var(--lb-dark); outline: none; border-radius: 0; }
.lb .inv-input:focus { border-color: var(--lb-primary); }
.lb .inv-btn { width: 100%; padding: 12px; margin-top: 6px; }
.lb-wishes { max-height: 470px; overflow-y: auto; padding-right: 6px; }
.lb-wish { padding: 16px 0; border-bottom: 1px solid #ebebeb; }
.lb-wish-top { display: flex; justify-content: space-between; gap: 10px; }
.lb-wish-top strong { color: var(--lb-dark); font-family: 'PT Serif', serif; font-size: 17px; }
.lb-wish-top em { font-style: normal; font-size: 12px; color: var(--lb-primary); white-space: nowrap; }
.lb-wish p { margin: 4px 0; }
.lb-wish small { color: #b5b5b5; }

/* Footer */
.lb-footer { position: relative; padding: 110px 0 40px; text-align: center; background: center/cover no-repeat; overflow: hidden; }
.lb-footer-inner { position: relative; z-index: 1; max-width: 760px; }
.lb-footer-divider { width: 120px; margin: 0 auto 26px; }
.lb-footer h2 { font: 400 clamp(52px, 8vw, 90px)/1.1 'Alex Brush', cursive; margin: 10px 0; }
.lb-signature { color: var(--lb-dark); font-weight: 500; }
.lb-credit { margin-top: 50px !important; font-size: 13px; }
.lb-footer-f1 { position: absolute; width: 260px; left: -40px; bottom: -30px; }
.lb-footer-f2 { position: absolute; width: 160px; right: -20px; top: 20px; }

@media (max-width: 991px) {
    .lb-about-row { grid-template-columns: 1fr 1fr; }
    .lb-about-box { grid-column: 1 / -1; order: -1; }
    .lb-wild { width: 200px; top: -40px; }
    .lb-couple { flex-direction: column; align-items: center; }
    .lb-person, .lb-person.style-two { flex-direction: column; text-align: center; width: 100%; }
    .lb-story-grid { grid-template-columns: repeat(2, 1fr); }
    .lb-rsvp-grid { grid-template-columns: 1fr; }
    .lb-timeline-row::before { display: none; }
    .lb-circle-f1, .lb-circle-f2 { display: none; }
}
@media (max-width: 767px) {
    .lb-circle { width: 94vw; height: auto; max-height: none; aspect-ratio: auto; border-radius: 200px; padding: 110px 0 50px; }
    .lb-cd-date { font-size: 44px; }
    .lb-circle::before { inset: 16px; border-radius: 180px; }
    .lb-circle::after { inset: 17px; border-radius: 180px; }
    .lb-circle-inner { padding: 20px 20px; }
    .lb-circle-leaves { width: 240px; top: -40px; }
    .lb-countdown { gap: 4px; }
    .lb-countdown div { width: 70px; }
    .lb-countdown b { font-size: 38px; }
    .lb-countdown span { font-size: 12px; }
    .lb-gallery-grid { columns: 2; column-gap: 10px; }
    .lb-gallery-grid a { margin-bottom: 10px; }
}
@media (max-width: 575px) {
    .lb-about, .lb-timeline, .lb-story, .lb-gift, .lb-rsvp { padding: 80px 0; }
    .lb-about-box { padding: 50px 30px; }
    .lb-vline { height: 220px; }
    .lb-story-grid { grid-template-columns: 1fr; }
    .lb-form-box { padding: 40px 22px; }
    .lb-person { padding: 30px 20px; }
    .lb-cta { padding: 90px 16px; }
    .lb-cta-icon::before, .lb-cta-icon::after { width: 60px; }
    .lb-footer { padding-bottom: 150px; }
    .lb-footer-f1 { width: 150px; left: -30px; }
    .lb-footer-f2 { width: 90px; top: -20px; right: -30px; }
}
