/* Everline - tema undangan (diadaptasi dari Everline Wedding & Events HTML Template) */
:root {
    --ev-primary: #d65679;
    --ev-dark: #333333;
    --ev-text: #666666;
    --ev-grey: #f5f5f5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Varela', sans-serif; font-size: 13px; line-height: 24px; letter-spacing: .5px; color: var(--ev-text); background: #fff; overflow-x: hidden; }
a { color: var(--ev-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Varela', sans-serif; font-weight: 400; color: var(--ev-dark); }
.ev-container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.ev-section { padding: 90px 0; }
.ev-grey { background: var(--ev-grey); }
.text-center { text-align: center; }
.ev-script { font-family: 'Rouge Script', cursive; }
.ev-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; }

/* Judul */
.ev-title { text-align: center; margin-bottom: 50px; }
.ev-title h3 { font-size: 18px; letter-spacing: 4px; text-transform: uppercase; color: var(--ev-dark); }
.ev-title h3:after { content: ''; display: block; width: 70px; height: 2px; background: var(--ev-primary); margin: 20px auto 0; }
.ev-title p { max-width: 760px; margin: 22px auto 0; }
.ev-title.light h3 { color: #fff; }
.ev-title.light h3:after { background: #fff; }

/* Tombol */
.ev-btn { display: inline-block; border: 1px solid var(--ev-primary); color: var(--ev-primary); background: transparent; padding: 10px 30px; font-family: 'Varela', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border-radius: 3px; transition: all .3s ease; }
.ev-btn:hover { background: var(--ev-primary); color: #fff; }
.ev-btn.white { border-color: #fff; color: #fff; }
.ev-btn.white:hover { background: #fff; color: var(--ev-primary); }
.ev-btn.fill { background: var(--ev-primary); color: #fff; }
.ev-btn.fill:hover { background: var(--ev-dark); border-color: var(--ev-dark); }

/* Lencana bundar (logo) */
.ev-badge { width: 166px; height: 166px; border-radius: 50%; background: var(--ev-primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ev-badge b { font-family: 'Rouge Script', cursive; font-weight: 400; font-size: 46px; line-height: 1; }
.ev-badge small { font-size: 9px; line-height: 1.4; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; padding: 0 14px; }

/* Sampul */
.ev-cover { display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px; background: #444 center/cover no-repeat; }
.ev-cover:before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.ev-cover > div { position: relative; display: flex; flex-direction: column; align-items: center; }
.ev-cover .ev-badge { width: 200px; height: 200px; margin-bottom: 30px; box-shadow: 0 0 0 10px rgba(255,255,255,.2); }
.ev-cover .ev-badge b { font-size: 44px; padding: 0 16px; }
.ev-cover .label { letter-spacing: 4px; text-transform: uppercase; font-size: 12px; }
.ev-cover .guest { font-size: 22px; letter-spacing: 3px; text-transform: uppercase; margin: 10px 0 30px; }

/* Header */
.ev-header { position: absolute; left: 0; right: 0; top: 0; z-index: 20; padding-top: 22px; }
.ev-header .ev-container { display: flex; align-items: center; justify-content: space-between; }
.ev-header .ev-badge { width: 130px; height: 130px; }
.ev-header .ev-badge b { font-size: 34px; }
.ev-header nav a { color: #fff; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-left: 50px; }
.ev-header nav a:hover { color: var(--ev-primary); }

/* Hero */
.ev-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #555 center/cover no-repeat; padding: 170px 15px 80px; overflow: hidden; }
.ev-hero:before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .45); }
.ev-hero .inner { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ev-hero .bg { position: absolute; inset: 0; background: inherit; animation: ev-kenburns 18s ease-in-out infinite alternate; }
@keyframes ev-kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.ev-hero .inner { position: relative; z-index: 2; }
.ev-hero .top { letter-spacing: 5px; text-transform: uppercase; font-size: 13px; }
.ev-hero .names { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 20px 0; flex-wrap: wrap; }
.ev-hero .names h1 { color: #fff; font-size: 44px; letter-spacing: 8px; text-transform: uppercase; }
.ev-hero .amp { font-family: 'Rouge Script', cursive; font-size: 160px; line-height: .8; color: #fff; }
.ev-hero .date { letter-spacing: 4px; text-transform: uppercase; font-size: 15px; margin-bottom: 30px; }

/* Countdown */
.ev-countdown { background: var(--ev-primary); color: #fff; padding: 60px 0; }
.ev-countdown .ev-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ev-countdown .label { display: flex; align-items: center; gap: 20px; }
.ev-countdown .label .ev-icon { font-size: 44px; flex: none; }
.ev-countdown .label p { letter-spacing: 2px; text-transform: uppercase; font-size: 13px; line-height: 1.6; }
.ev-countdown .label strong { display: block; font-size: 19px; letter-spacing: 3px; font-weight: 400; margin: 4px 0; }
.ev-countdown .circles { display: flex; gap: 70px; }
.ev-countdown .circle { width: 124px; height: 124px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; text-transform: uppercase; font-size: 11px; }
.ev-countdown .circle b { font-size: 26px; font-weight: 400; line-height: 1.4; }
.ev-countdown .cal { margin-top: 30px; text-align: center; }

/* Salam */
.ev-quote { max-width: 760px; margin: 30px auto 0; }
.ev-quote blockquote { font-family: 'Rouge Script', cursive; font-size: 32px; line-height: 1.3; color: var(--ev-primary); }
.ev-quote cite { display: block; margin-top: 10px; letter-spacing: 3px; text-transform: uppercase; font-style: normal; font-size: 11px; }

/* Tokoh */
.ev-hosts { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.ev-host { flex: 1 1 320px; max-width: 370px; text-align: center; }
.ev-host h3 { font-size: 18px; letter-spacing: 4px; text-transform: uppercase; }
.ev-host h3:after { content: ''; display: block; width: 70px; height: 2px; background: var(--ev-primary); margin: 20px auto 30px; }
.ev-host .img { overflow: hidden; }
.ev-host .img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.ev-host:hover .img img { transform: scale(1.06); }
.ev-host .card { background: #fff; padding: 26px 20px 30px; }
.ev-host .card strong { display: block; color: var(--ev-dark); font-size: 15px; letter-spacing: 1px; font-weight: 400; margin-bottom: 8px; }
.ev-host .ig { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ev-primary); color: var(--ev-primary); font-size: 16px; }
.ev-host .ig:hover { background: var(--ev-primary); color: #fff; }

/* Acara */
.ev-events { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.ev-event { flex: 1 1 320px; max-width: 370px; border: 1px solid #eee; text-align: center; padding: 0 30px 40px; position: relative; margin-top: 50px; background: #fff; transition: box-shadow .3s; }
.ev-event:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.ev-event .date { width: 100px; height: 100px; border-radius: 50%; background: var(--ev-primary); color: #fff; margin: -50px auto 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 5px solid #fff; box-shadow: 0 0 0 1px #eee; }
.ev-event .date b { font-size: 32px; font-weight: 400; line-height: 1; }
.ev-event .date small { letter-spacing: 2px; text-transform: uppercase; font-size: 10px; }
.ev-event h4 { font-size: 16px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.ev-event .meta { color: #999; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.ev-event .venue { color: var(--ev-dark); font-size: 14px; margin-top: 14px; }
.ev-event .addr { margin-bottom: 22px; }
.ev-live { text-align: center; margin-top: 50px; }

/* Parallax kutipan / video */
.ev-parallax { position: relative; text-align: center; color: #fff; padding: 120px 15px; background: #999 center/cover no-repeat fixed; }
.ev-parallax:before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.ev-parallax > * { position: relative; }
.ev-parallax .play { width: 85px; height: 85px; border-radius: 50%; background: var(--ev-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 20px; }
.ev-parallax h2 { font-family: 'Rouge Script', cursive; font-size: 90px; line-height: 1; color: #fff; }
.ev-parallax p { letter-spacing: 4px; text-transform: uppercase; font-size: 12px; margin-top: 16px; }

/* Cerita (gaya blog) */
.ev-blog { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.ev-post img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 26px; }
.ev-post h4 { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; }
.ev-post .meta { color: #bbb; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin: 8px 0 12px; }

/* Galeri */
.ev-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ev-gallery a { position: relative; overflow: hidden; display: block; }
.ev-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.ev-gallery a:after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--ev-primary) 75%, transparent); opacity: 0; transition: opacity .35s; }
.ev-gallery a:hover:after { opacity: 1; }
.ev-gallery a:hover img { transform: scale(1.08); }
.ev-video { max-width: 900px; margin: 40px auto 0; position: relative; padding-top: 50.6%; }
.ev-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Hadiah */
.ev-gifts { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.ev-gift { flex: 1 1 280px; max-width: 360px; background: #fff; border: 1px solid #eee; padding: 34px 26px; text-align: center; }
.ev-gift .bank { letter-spacing: 4px; text-transform: uppercase; color: var(--ev-primary); font-size: 15px; }
.ev-gift .num { display: block; font-size: 22px; letter-spacing: 3px; color: var(--ev-dark); margin: 12px 0 4px; }
.ev-gift .name { display: block; margin-bottom: 18px; }

/* RSVP + ucapan */
.ev-rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.ev-wishes { border: 1px solid #eee; }
.ev-wishes .head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #eee; letter-spacing: 2px; text-transform: uppercase; color: var(--ev-dark); }
.ev-wishes .head span { color: var(--ev-primary); }
.ev-wishes .list { max-height: 420px; overflow-y: auto; }
.ev-wish { display: flex; border-bottom: 1px solid #eee; }
.ev-wish:last-child { border-bottom: 0; }
.ev-wish .h { width: 54px; flex: none; display: flex; align-items: flex-start; justify-content: center; padding-top: 18px; border-right: 1px solid #eee; color: #ccc; font-size: 16px; }
.ev-wish:first-child .h { color: var(--ev-primary); border-right: 2px solid var(--ev-primary); }
.ev-wish .t { padding: 14px 22px; }
.ev-wish .t b { font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--ev-dark); }
.ev-wish .t small { color: var(--ev-primary); font-size: 11px; margin-left: 6px; }
.ev-wish .t p { margin-top: 4px; }
.ev-rsvp { background: var(--ev-primary); color: #fff; padding: 40px 50px; display: flex; gap: 40px; align-items: center; }
.ev-rsvp .ring { width: 160px; height: 160px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ev-rsvp .ring b { font-size: 30px; font-weight: 400; letter-spacing: 1px; }
.ev-rsvp .ring small { letter-spacing: 3px; font-size: 11px; opacity: .8; }
.ev-rsvp form { flex: 1; }
.ev-rsvp .inv-field { margin-bottom: 16px; }
.ev-rsvp .inv-label { display: block; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; margin-bottom: 6px; color: #fff; }
.ev-rsvp .inv-input { width: 100%; border: 0; border-radius: 5px; background: #fff; padding: 10px 14px; font-family: 'Varela', sans-serif; font-size: 13px; color: var(--ev-dark); }
.ev-rsvp .inv-input:focus { outline: 2px solid rgba(255,255,255,.5); }
.ev-rsvp textarea.inv-input { resize: vertical; }
.ev-rsvp .inv-btn { float: right; background: transparent; color: #fff; border: 1px solid #fff; border-radius: 3px; padding: 10px 36px; font-family: 'Varela', sans-serif; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.ev-rsvp .inv-btn:hover { background: #fff; color: var(--ev-primary); }
.ev-rsvp form:after { content: ''; display: block; clear: both; }

/* Penutup & footer */
.ev-closing .names { font-family: 'Rouge Script', cursive; font-size: 70px; line-height: 1.1; color: var(--ev-primary); margin: 10px 0; }
.ev-footer { background: var(--ev-primary); color: #fff; padding: 70px 0 60px; }
.ev-footer .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; text-align: center; align-items: start; }
.ev-footer h5 { color: #fff; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; }
.ev-footer h5:after { content: ''; display: block; width: 70px; height: 2px; background: #fff; margin: 18px auto 24px; }
.ev-footer p { font-size: 14px; line-height: 2.3; }
.ev-footer .logo { font-family: 'Rouge Script', cursive; font-size: 54px; line-height: 1; }
.ev-footer .logo small { display: block; font-family: 'Varela', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; }
.ev-footer a { color: #fff; }

/* Responsif */
@media (max-width: 991px) {
    .ev-header nav { display: none; }
    .ev-countdown .ev-container { flex-direction: column; text-align: center; }
    .ev-countdown .label { flex-direction: column; }
    .ev-countdown .circles { gap: 20px; }
    .ev-rsvp-grid { grid-template-columns: 1fr; }
    .ev-rsvp-grid .ev-rsvp { order: -1; }
    .ev-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ev-section { padding: 70px 0; }
    .ev-header .ev-badge { width: 100px; height: 100px; }
    .ev-header .ev-badge b { font-size: 26px; }
    .ev-header .ev-container { justify-content: center; }
    .ev-hero .names { flex-direction: column; gap: 0; }
    .ev-hero .names h1 { font-size: 30px; letter-spacing: 5px; }
    .ev-hero .amp { font-size: 110px; }
    .ev-countdown .circles { gap: 8px; }
    .ev-countdown .circle { width: 74px; height: 74px; font-size: 9px; }
    .ev-countdown .circle b { font-size: 20px; }
    .ev-parallax { background-attachment: scroll; padding: 90px 15px; }
    .ev-parallax h2 { font-size: 64px; }
    .ev-gallery { grid-template-columns: repeat(2, 1fr); }
    .ev-rsvp { flex-direction: column; padding: 40px 24px; }
    .ev-rsvp form { width: 100%; }
    .ev-closing .names { font-size: 54px; }
    .ev-quote blockquote { font-size: 26px; }
}
