/* Flora - tema undangan (diadaptasi dari Flora Wedding HTML5 Template) */
@font-face {
    font-family: "Flaticon";
    src: url("../fonts/flaticon.woff") format("woff"), url("../fonts/flaticon.ttf") format("truetype");
    font-weight: normal; font-style: normal;
}
[class^="flaticon-"]:before, [class*=" flaticon-"]:before { font-family: Flaticon; font-style: normal; }
.flaticon-heart-with-arrow:before { content: "\f166"; }
.flaticon-interlocking-rings:before { content: "\f171"; }
.flaticon-champagne-with-heart:before { content: "\f125"; }
.flaticon-hearts:before { content: "\f167"; }
.flaticon-love-birds:before { content: "\f184"; }

:root {
    --fl-primary: #fc5a61;
    --fl-dark: #333333;
    --fl-darker: #252525;
    --fl-light: #f4f3f1;
    --fl-text: #777777;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lora', serif; font-size: 15px; color: var(--fl-text); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--fl-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: normal; line-height: 1.4; }
.fl-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.fl-small { max-width: 760px; margin: 0 auto; }
.fl-section { padding: 90px 0; position: relative; }
.fl-grey { background: var(--fl-light); }
.text-center { text-align: center; }
.fl-script { font-family: 'Tangerine', cursive; font-weight: 700; }

/* Ornamen (diwarnai ulang lewat mask agar mengikuti warna tema) */
.fl-sep { display: block; width: 134px; height: 16px; margin: 0 auto; background: var(--fl-primary);
    -webkit-mask: url(../img/title-separator.png) center/contain no-repeat; mask: url(../img/title-separator.png) center/contain no-repeat; }

/* Judul section */
.sec-title { text-align: center; margin-bottom: 55px; }
.sec-title h2 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 58px; line-height: 1.1; color: var(--fl-primary); margin-bottom: 14px; }
.sec-title .sub { font-style: italic; color: #999; margin: -6px 0 14px; }
.sec-title.light h2 { color: #fff; }

/* Tombol */
.theme-btn { display: inline-block; cursor: pointer; font-family: 'Lora', serif; transition: all .3s ease; }
.btn-style-two { padding: 11px 30px; border: 2px solid var(--fl-primary); color: var(--fl-primary); background: transparent;
    text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-weight: 700; }
.btn-style-two:hover { background: var(--fl-primary); color: #fff; }
.btn-style-two.small { padding: 6px 22px; font-size: 11px; border-width: 1px; }
.styled-shape-link { position: relative; display: inline-block; margin: 0 54px; padding: 7px 22px; line-height: 20px; min-width: 150px; text-align: center;
    background: var(--fl-primary); color: #fff; font-size: 13px; text-transform: uppercase; border: 0; cursor: pointer; font-family: 'Lora', serif; }
.styled-shape-link:before, .styled-shape-link:after { content: ''; position: absolute; top: -6px; width: 54px; height: 45px; background: var(--fl-primary); }
.styled-shape-link:before { left: -52px; -webkit-mask: url(../img/styled-link-shape-left.png) left center no-repeat; mask: url(../img/styled-link-shape-left.png) left center no-repeat; }
.styled-shape-link:after { right: -52px; -webkit-mask: url(../img/styled-link-shape-right.png) left center no-repeat; mask: url(../img/styled-link-shape-right.png) left center no-repeat; }
.styled-shape-link:hover { color: #fff; opacity: .85; }

/* Sampul */
.fl-cover { display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 30px 20px;
    background: var(--fl-darker) center/cover no-repeat; }
.fl-cover:before { content: ''; position: absolute; inset: 0; background: rgba(20, 20, 20, .62); }
.fl-cover > div { position: relative; max-width: 560px; }
.fl-cover .top { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.fl-cover h1 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 76px; line-height: 1.05; margin: 12px 0 6px; color: #fff; }
.fl-cover .date { font-style: italic; margin-bottom: 26px; }
.fl-cover .guest { border: 1px solid rgba(255,255,255,.45); padding: 16px 20px; margin: 0 auto 34px; max-width: 360px; position: relative; }
.fl-cover .guest small { display: block; font-style: italic; opacity: .85; }
.fl-cover .guest strong { display: block; font-size: 22px; margin-top: 6px; font-weight: 700; }
.fl-cover .fl-sep { background: #fff; margin: 14px auto 0; }

/* Header */
.header-top { background: var(--fl-primary); color: #fff; font-family: 'Tangerine', cursive; }
.header-top .fl-container { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 10px; }
.header-top .welcome { font-family: 'Lora', serif; font-style: italic; font-weight: 700; font-size: 14px; }
.header-top .rings { font-size: 22px; }
.menu-bar { background: var(--fl-dark); position: sticky; top: 0; z-index: 50; }
.menu-bar ul { list-style: none; display: flex; gap: 34px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.menu-bar ul::-webkit-scrollbar { display: none; }
.menu-bar a { display: block; padding: 18px 0; color: #fff; font-family: 'Source Sans Pro', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.menu-bar a:hover, .menu-bar li:first-child a { color: var(--fl-primary); }

/* Hero */
.main-slider { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--fl-dark) center/cover no-repeat; color: #fff; padding: 100px 15px; }
.main-slider:before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.main-slider .inner { position: relative; }
.main-slider .headline { font-style: italic; letter-spacing: 2px; margin-bottom: 4px; }
.main-slider h1 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 84px; line-height: 1.05; color: #fff; margin-bottom: 26px; }
.main-slider .date { font-style: italic; font-size: 17px; margin: 18px 0 30px; }

/* Countdown bingkai */
.time-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.time-countdown .counter-column { position: relative; width: 114px; height: 128px; padding-top: 38px; color: #fff; font-size: 16px; font-style: italic; text-align: center; }
.time-countdown .counter-column:before { content: ''; position: absolute; inset: 0; background: #fff;
    -webkit-mask: url(../img/timecounter-frame-1.png) center/contain no-repeat; mask: url(../img/timecounter-frame-1.png) center/contain no-repeat; }
.time-countdown .count { position: relative; display: block; font-size: 32px; line-height: 30px; font-style: normal; padding-bottom: 3px; }
.time-countdown .counter-column span { position: relative; }
.default-timecounter .time-countdown .counter-column { color: var(--fl-primary); }
.default-timecounter .time-countdown .counter-column:before { background: var(--fl-primary); }

/* Salam */
.fl-greeting p { font-style: italic; font-size: 16px; }
.fl-quote { margin-top: 30px; padding: 30px 30px; background: var(--fl-light); position: relative; font-style: italic; }
.fl-quote .icon { font-size: 34px; color: var(--fl-primary); line-height: 1; margin-bottom: 8px; display: block; }
.fl-quote cite { display: block; margin-top: 10px; color: var(--fl-primary); font-style: normal; }

/* Mempelai */
.couple-row { display: grid; grid-template-columns: 1fr; gap: 40px; }
.couple-column { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.couple-column .image-box { position: relative; overflow: hidden; border: 10px solid var(--fl-light); }
.couple-column .image-box img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; }
.couple-column .image-box:hover img { transform: scale(1.06); }
.couple-column .inner-box h3 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 50px; color: var(--fl-primary); line-height: 1.1; margin-bottom: 4px; }
.couple-column .inner-box .full { color: var(--fl-dark); font-weight: 700; margin-bottom: 10px; }
.couple-column .inner-box .text { font-style: italic; margin-bottom: 16px; }
.couple-column.reverse .image-box { order: 2; }
.couple-column.reverse .inner-box { text-align: right; }
.social-links-one a { display: inline-block; width: 36px; height: 36px; line-height: 34px; border: 1px solid #e0e0e0; border-radius: 50%; text-align: center; color: #999; font-size: 12px; font-weight: 700; }
.social-links-one a:hover { background: var(--fl-primary); border-color: var(--fl-primary); color: #fff; }
.social-links-one span { margin-left: 8px; color: #999; font-size: 13px; }
.couple-and { text-align: center; font-family: 'Tangerine', cursive; font-size: 90px; color: var(--fl-primary); line-height: 1; }

/* Acara */
.events-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.up-event-column { flex: 1 1 320px; max-width: 370px; }
.up-event-column .inner-box { position: relative; background: #bbb center/cover no-repeat; transition: box-shadow .3s, transform .3s; }
.up-event-column .inner-box:hover { transform: translateY(-6px); box-shadow: 0 16px 20px -12px rgba(0,0,0,.4); }
.event-head { background: var(--fl-primary); color: #fff; text-align: center; padding: 18px 10px; }
.event-head h3 { font-size: 24px; color: #fff; }
.event-info { position: relative; margin: 78px 20px 20px; background: #fff; padding: 26px 20px 28px; text-align: center; }
.event-info ul { list-style: none; margin-bottom: 16px; }
.event-info li { margin-bottom: 12px; }
.event-info strong { display: block; font-weight: 400; color: var(--fl-dark); text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.event-info .info { display: block; font-size: 14px; }
.fl-live { margin-top: 50px; }

/* Save the date */
.parallax-section { position: relative; background: var(--fl-darker) center/cover no-repeat fixed; color: #fff; text-align: center; padding: 120px 15px; }
.parallax-section:before { content: ''; position: absolute; inset: 0; background: rgba(20, 20, 20, .82); }
.parallax-section > * { position: relative; }
.parallax-section h3 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 60px; line-height: 1.1; }
.parallax-section h2 { font-weight: 700; font-size: 52px; line-height: 1.2; margin: 18px 0; font-style: italic; }
.parallax-section .info { font-style: italic; font-weight: 700; font-size: 22px; margin-bottom: 40px; }

/* Galeri */
.gallery-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 10px; }
.gallery-items a { position: relative; display: block; overflow: hidden; }
.gallery-items img { width: 100%; aspect-ratio: 447/330; object-fit: cover; transition: transform .5s ease; }
.gallery-items a:after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff;
    background: color-mix(in srgb, var(--fl-primary) 85%, transparent); opacity: 0; transition: opacity .35s ease; }
.gallery-items a:hover:after { opacity: 1; }
.gallery-items a:hover img { transform: scale(1.08); }
.fl-video { max-width: 900px; margin: 40px auto 0; padding: 0 15px; }
.fl-video .ratio { position: relative; padding-top: 56.25%; }
.fl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Cerita */
.love-story { position: relative; padding-top: 60px; }
.love-story:before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--fl-primary); }
.love-story .heart { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--fl-primary);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; z-index: 2; }
.story-block { position: relative; width: 50%; padding: 0 50px 50px 0; }
.story-block:nth-child(odd) { margin-left: 50%; padding: 0 0 50px 50px; }
.story-block .dot { position: absolute; top: 24px; right: -8px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--fl-primary); }
.story-block:nth-child(odd) .dot { left: -7px; right: auto; }
.story-block .box { background: #fff; border: 1px solid #eee; box-shadow: 0 0 20px rgba(0,0,0,.06); }
.story-block .box img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.story-block .content { padding: 22px 24px; }
.story-block h3 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 38px; color: var(--fl-primary); line-height: 1.1; }
.story-block .date { font-style: italic; color: var(--fl-dark); font-size: 13px; margin-bottom: 8px; }

/* Hadiah */
.gift-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.gift-card { flex: 1 1 260px; max-width: 340px; border: 1px solid #e5e5e5; padding: 30px 22px; text-align: center; background: #fff; position: relative; }
.gift-card:before { content: ''; position: absolute; inset: 6px; border: 1px dashed color-mix(in srgb, var(--fl-primary) 45%, #fff); pointer-events: none; }
.gift-card .bank { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 40px; color: var(--fl-primary); line-height: 1; }
.gift-card .num { display: block; color: var(--fl-dark); font-size: 21px; letter-spacing: 1px; margin: 10px 0 2px; font-weight: 700; }
.gift-card .name { font-style: italic; display: block; margin-bottom: 16px; }

/* RSVP */
.attend-form .inv-field { margin-bottom: 22px; }
.attend-form .inv-label { display: block; color: var(--fl-dark); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.attend-form .inv-input { display: block; width: 100%; height: 52px; padding: 10px 20px; border: 1px solid #e0e0e0; background: #fff; font-family: 'Lora', serif; font-size: 14px; color: var(--fl-dark); font-style: italic; border-radius: 0; }
.attend-form textarea.inv-input { height: 150px; resize: vertical; }
.attend-form .inv-input:focus { border-color: var(--fl-primary); outline: none; }
.attend-form .inv-btn { padding: 14px 30px; border: 2px solid var(--fl-primary); color: var(--fl-primary); background: #fff; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: 'Lora', serif; }
.attend-form .inv-btn:hover { background: var(--fl-primary); color: #fff; }

/* Ucapan */
.wishes-list { max-height: 520px; overflow-y: auto; padding-right: 6px; }
.wish-item { text-align: center; padding: 26px 10px; border-bottom: 1px solid #e6e4e0; }
.wish-item .avatar { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; background: var(--fl-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.wish-item .text { font-style: italic; font-size: 16px; color: #555; }
.wish-item h4 { color: var(--fl-primary); font-size: 19px; margin-top: 10px; }
.wish-item .meta { font-style: italic; color: var(--fl-dark); font-size: 13px; }
.wish-hearts { color: var(--fl-primary); margin: 14px 0 0; letter-spacing: 12px; }

/* Penutup & footer */
.fl-closing { text-align: center; }
.fl-closing .names { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 64px; color: var(--fl-primary); line-height: 1.1; margin: 16px 0 6px; }
.main-footer { background: #1e1e1e; color: #ccc; text-align: center; padding: 60px 15px 0; }
.main-footer h2 { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 48px; color: #fff; line-height: 1.1; }
.main-footer .bottom { margin-top: 40px; border-top: 1px solid #2f2f2f; padding: 22px 0; font-size: 14px; }

/* Responsif */
@media (min-width: 992px) {
    .couple-row { grid-template-columns: 1fr auto 1fr; align-items: center; }
    .couple-row.single { grid-template-columns: minmax(0, 600px); justify-content: center; }
}
@media (max-width: 991px) { .gallery-items { grid-template-columns: repeat(2, 1fr); } .couple-and { font-size: 70px; } }
@media (max-width: 767px) {
    .fl-section { padding: 70px 0; }
    .sec-title h2 { font-size: 50px; }
    .main-slider { min-height: 560px; }
    .main-slider h1 { font-size: 60px; }
    .time-countdown .counter-column { width: 72px; height: 82px; padding-top: 20px; font-size: 12px; }
    .time-countdown .count { font-size: 22px; line-height: 22px; }
    .couple-column, .couple-column.reverse { grid-template-columns: 1fr; text-align: center; }
    .couple-column .image-box, .couple-column.reverse .image-box { order: 0; max-width: 300px; margin: 0 auto; }
    .couple-column.reverse .inner-box { text-align: center; }
    .parallax-section { background-attachment: scroll; padding: 90px 15px; }
    .parallax-section h2 { font-size: 34px; }
    .parallax-section h3 { font-size: 48px; }
    .parallax-section .info { font-size: 18px; }
    .love-story:before { left: 20px; }
    .love-story .heart { left: 20px; }
    .story-block, .story-block:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 40px 50px; }
    .story-block .dot, .story-block:nth-child(odd) .dot { left: 13px; right: auto; }
    .header-top .welcome { font-size: 12px; }
    .fl-cover h1 { font-size: 60px; }
}
