/* ==========================================================================
   Tema "Eventen" - penyesuaian undangan di atas CSS bawaan template
   (default.css + styles.css) dan utilitas Tailwind hasil build (tailwind.css).
   ========================================================================== */
:root {
    --ev-primary: 219 39 119;
    --ev-secondary: 58 76 180;
    --ev-accent: 196 15 76;
    --ev-dark: 36 54 156;
}
html { scroll-behavior: smooth; }
body { background: #fff; overflow-x: hidden; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

/* Warna gradasi template mengikuti opsi tema */
.overlay { background-image: linear-gradient(180deg, rgb(var(--ev-accent)) 0%, rgb(var(--ev-dark)) 100%); }
.banner .overlay { opacity: .72; }
.feature .overlay { background-image: linear-gradient(180deg, rgb(var(--ev-primary)) 0%, rgb(var(--ev-secondary)) 100%); }
footer .overlay { background-image: linear-gradient(90deg, rgb(var(--ev-secondary)) 0%, rgb(var(--ev-accent)) 100%); opacity: .9; }
.subscribe { background-image: linear-gradient(90deg, rgb(var(--ev-dark)) 0%, rgb(var(--ev-accent)) 95%); }
.ticket .ev-overlay-h { background-image: linear-gradient(90deg, rgb(var(--ev-dark)) 0%, rgb(var(--ev-accent)) 100%); opacity: .85; }
.banner-button .btn2:hover { background-color: rgb(var(--ev-primary)); border-color: rgb(var(--ev-primary)); }
.banner { background-position: center; }
.ticket { background-position: center; background-size: cover; }
section { position: relative; }
.container { position: relative; }

/* Logo teks (pengganti logo gambar) */
.ev-logo { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.01em; line-height: 1.1; }
.ev-logo-lg { font-size: 40px; }
@media (max-width: 576px) { .ev-logo { font-size: 19px; } .ev-logo-lg { font-size: 30px; } }
.main_header_area { border-bottom: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); }

/* Sampul */
.ev-cover {
    background-color: #24369c; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; padding: 30px 18px; overflow-y: auto;
}
.ev-cover .overlay { opacity: .82; left: 0; }
.ev-cover-inner { width: 100%; max-width: 520px; }
.ev-cover h1 { line-height: 1.1; }
.ev-rings {
    width: 230px; height: 230px; padding: 42px;
    background: url(../images/pattern/3.png) center / contain no-repeat;
}
.ev-guest { max-width: 380px; }

/* Banner */
.inner-banner { padding-top: 150px; padding-bottom: 150px; }
.ev-names { word-break: break-word; }
.ev-names span { padding: 0 .15em; }
.ev-banner-image { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; padding: 40px 0; }
.ev-banner-image img { width: 58%; max-width: 330px; aspect-ratio: 1; border: 8px solid rgba(255, 255, 255, .25); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.ev-banner-image.is-duo img { width: 44%; max-width: 250px; }
.ev-banner-image.is-duo img + img { margin-left: -30px; margin-top: 90px; }
.countdown { position: relative; margin-top: -40px; }
.countdown .h1 { font-size: 54px !important; }
@media (max-width: 1100px) { .countdown .h1 { font-size: 36px !important; } }
@media (max-width: 576px) {
    .inner-banner { padding-top: 110px !important; padding-bottom: 110px; }
    .countdown .h1 { font-size: 30px !important; }
    .ev-banner-image { min-height: 280px; }
}

/* Overview kolase dari galeri */
.ev-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 200px; gap: 16px; }
.ev-collage a { display: block; overflow: hidden; border-radius: 25px; }
.ev-collage-0 { grid-row: 1; grid-column: 1; }
.ev-collage-1 { grid-row: 2; grid-column: 1; }
.ev-collage-2 { grid-row: 1 / span 2; grid-column: 2; margin: 40px 0; }
.ev-collage img { transition: transform .6s ease; }
.ev-collage a:hover img { transform: scale(1.06); }
@media (min-width: 1024px) { .ev-collage { grid-template-rows: 190px 260px; } }

/* Kartu tokoh (speaker-box) */
.ev-host .speaker-box:after { z-index: 1; }
.ev-host-content { z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%); }
.ev-host .speaker-box img { transition: transform .6s ease; }
.ev-host .speaker-box:hover img { transform: scale(1.05); }

/* Jadwal: ikon kalender besar */
.schedule-day::after { z-index: 0; pointer-events: none; }
.schedule-day > * { position: relative; z-index: 1; }

/* Galeri */
.ev-gallery-item::after {
    content: "\f002"; font-family: FontAwesome; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; background: rgba(var(--ev-primary), .5); opacity: 0; transition: opacity .4s ease;
}
.ev-gallery-item:hover::after { opacity: 1; }
.ev-gallery-item img { transition: transform .6s ease; }
.ev-gallery-item:hover img { transform: scale(1.08); }

/* Hadiah */
.ev-acc { font-size: 32px; letter-spacing: .04em; line-height: 1.2; word-break: break-all; }
.price .pattern { top: -11px; }
@media (min-width: 1024px) { .price .pattern { top: -15px; } }
.ticket-box-inner .ticket-title.bg-pink-600 { margin-top: 0; }

/* RSVP */
.ev-rsvp { background: #fff url(../images/background/6.png) center / contain repeat; }
.ev-wishes { max-height: 460px; overflow-y: auto; padding-right: 6px; }
.ev-badge { display: inline-block; font-size: 11px; line-height: 1.6; padding: 0 10px; border-radius: 20px; background: rgb(var(--ev-primary)); color: #fff; vertical-align: middle; }
.inv-field { margin-bottom: 16px; }
.inv-label { display: block; font-weight: 500; font-size: 14px; text-transform: uppercase; color: #223645; margin-bottom: 6px; padding-left: 10px; }
.inv-input {
    width: 100%; font-family: "Poppins", sans-serif; font-size: 15px; color: #223645; background-color: #F7F7F7;
    border: 0; border-radius: 25px; padding: 14px 25px !important; outline: none; appearance: auto;
}
.inv-input:focus { box-shadow: inset 0 0 0 1px rgba(var(--ev-primary), .5); }
textarea.inv-input { resize: vertical; min-height: 110px; }
.inv-btn {
    width: 100%; font-family: "Poppins", sans-serif; font-size: 15px; text-transform: uppercase; color: #fff; cursor: pointer;
    background: rgb(var(--ev-primary)); border: 0; border-radius: 25px; padding: 14px 25px; transition: all .3s ease-in-out;
}
.inv-btn:hover { background: rgb(var(--ev-secondary)); }
.inv-btn:disabled { opacity: .6; }
.ev-amp { display: inline-block; padding: 0 .12em; font-weight: 300; color: rgba(255, 255, 255, .7); }
.ev-hl { color: #fff; background: rgb(var(--ev-primary)); padding: 0 .22em; border-radius: 12px; display: inline-block; }
