/* ==========================================================================
   Tema "Events Multi" - diadaptasi dari EVENTS (Multipurpose Conference Template)
   Gaya: gelap elegan, Work Sans tipis, aksen gradasi biru-ungu (#399bff -> #ee71f9).
   ========================================================================== */
@font-face {
    font-family: 'fontello';
    src: url('../font/fontello.woff2?46579446') format('woff2'), url('../font/fontello.woff?46579446') format('woff');
    font-weight: normal; font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello"; font-style: normal; font-weight: normal; speak: never; display: inline-block;
    text-decoration: inherit; width: 1em; text-align: center; font-variant: normal; text-transform: none;
    line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.icon-mail:before { content: '\e803'; }
.icon-heart:before { content: '\e806'; }
.icon-users:before { content: '\e80f'; }
.icon-videocam:before { content: '\e815'; }
.icon-picture:before { content: '\e816'; }
.icon-camera:before { content: '\e817'; }
.icon-quote-left:before { content: '\e84d'; }
.icon-location:before { content: '\e866'; }
.icon-docs:before { content: '\e86c'; }
.icon-calendar:before { content: '\e88b'; }
.icon-calendar-empty:before { content: '\e88c'; }
.icon-clock:before { content: '\e895'; }
.icon-play:before { content: '\e8d4'; }
.icon-gift:before { content: '\e925'; }
.icon-credit-card:before { content: '\e92d'; }
.icon-instagram:before { content: '\e9c8'; }
.icon-map:before { content: '\ea4a'; }

:root {
    --em-from: #399bff;
    --em-to: #ee71f9;
}
html { scroll-behavior: smooth; }
body { background: #000; overflow-x: hidden; }
a { color: var(--em-from); }
a:hover, a:focus { color: var(--em-to); text-decoration: none; }
img { max-width: 100%; }

/* Gradasi tema (mengganti warna tetap template) */
a.link:after, .but, span a:after, p a:after, .em-grad-bg {
    background: linear-gradient(45deg, var(--em-from) 0%, var(--em-to) 100%);
}
.gradient-text {
    background: linear-gradient(90deg, var(--em-from) 30%, var(--em-to) 65%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--em-from);
}
.but { border: 0; cursor: pointer; font-family: "Open Sans", sans-serif; font-size: 14px; color: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.but:hover, .but:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, .35); }
a.link { color: var(--em-from); }
a.link:hover { color: var(--em-to); }
.em-svg-stop-a { stop-color: var(--em-from); }
.em-svg-stop-b { stop-color: var(--em-to); }

/* Sampul */
.em-cover { background: #111 center / cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; overflow-y: auto; }
.em-cover:before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .65) 40%, rgba(0, 0, 0, .95) 100%);
}
.em-cover-inner { position: relative; max-width: 560px; width: 100%; }
.em-cover h3 { font-style: italic; font-weight: 300; font-size: 30px; text-transform: none; margin: 0 0 8px; font-family: "Open Sans", sans-serif; }
.em-cover h1 { font-weight: 700; font-size: 52px; text-transform: none; line-height: 1.1; margin: 0 0 14px; word-break: break-word; }
.em-cover .date { text-transform: uppercase; font-weight: 500; color: #fff; letter-spacing: .04em; font-family: "Work Sans", sans-serif; }
.em-guest { margin: 26px auto; padding: 16px 20px; border: 1px solid #444; border-radius: 5px; background: rgba(18, 18, 18, .7); max-width: 380px; }
.em-guest small { display: block; color: #999; }
.em-guest strong { display: block; font-size: 20px; margin-top: 4px; }

/* Header */
.header { max-width: none; }
.em-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header .logo h2 { margin: 0; font-size: 24px; letter-spacing: -1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.main-nav ul { margin: 0; padding: 0; list-style: none; }
.main-nav li.em-cta a { padding: 8px 22px; }
@media (max-width: 991px) { .main-nav li:not(.em-cta) { display: none; } .main-nav li { margin-left: 0; } }

/* Hero */
section.hero { min-height: 100vh; }
.em-hero-inner { position: relative; z-index: 10; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; }
.em-hero-inner .hero-content { top: auto; transform: none; width: 100%; }
.hero-content h1.large { word-break: break-word; line-height: 1.1; margin-top: 10px; }
.hero-content .em-amp { font-weight: 300; }
.em-cd { display: flex; justify-content: center; gap: 12px; margin: 10px 0 34px; font-family: "Work Sans", sans-serif; }
.em-cd span { min-width: 78px; padding: 12px 6px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 5px; background: rgba(0, 0, 0, .35); color: #ccc; font-size: 12px; text-transform: uppercase; }
.em-cd b { display: block; font-size: 32px; font-weight: 300; line-height: 1.1; color: #fff; }
.em-hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.but.but-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .6); }

/* About */
.block-info-1 { margin-bottom: 30px; min-height: 50px; }
.block-info-1 p { margin-bottom: 0; }
.em-quote { font-size: 17px; font-style: italic; font-weight: 300; line-height: 30px; color: #fff; margin: 30px auto 0; max-width: 720px; }
.em-quote cite { display: block; font-style: normal; font-size: 13px; margin-top: 10px; }

/* Tokoh (speaker) */
.block-speaker { border-top: 1px solid #444; border-bottom: 1px solid #444; }
.block-speaker .row { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.block-speaker .em-host { padding: 0; }
.block-speaker .block-img { height: 460px; overflow: hidden; }
.block-speaker .em-host:last-child .block-img:after { content: none; }
.block-speaker .block-img:before {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .92) 100%);
}
.block-speaker .block-img .background-img { transition: filter .5s ease, transform .8s ease; }
.block-speaker .block-img:hover .background-img { transform: scale(1.04); }
.block-info-2 { right: 30px; }
.block-info-2 h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.block-info-2 p { margin: 0 0 2px; line-height: 21px; }
.block-info-2 .sub { color: #fff; font-size: 13px; }
.block-info-2 .par { color: #bbb; font-size: 13px; }
.block-info-2 .block-social { margin: 10px 0 0; padding: 0; list-style: none; }
@media (max-width: 767px) { .block-speaker .block-img { height: 420px; } .block-speaker .block-img:after { content: none; } .block-speaker .em-host + .em-host { border-top: 1px solid #444; } }

/* Jadwal (tabs) */
.block-tabs, .block-tab { border-radius: 5px; list-style: none; margin: 0; padding: 0; }
.block-tabs li { color: #fff; line-height: 1.4; padding: 18px 20px 18px 25px; display: flex; align-items: center; }
.block-tabs li i, .block-tab li i { margin-right: 18px; }
.block-tabs li .em-tab-date { font-size: 13px; color: #ccc; }
.block-tab li .block-date { line-height: 1.4; padding: 18px 25px; color: #fff; }
.block-tab .block-detail { cursor: default; }
.block-tab .block-detail .block-text { opacity: 1; max-height: none; padding-top: 12px; }
.block-tab .block-detail:hover .block-text { padding-top: 12px; }
.block-tab .block-detail .time i { color: var(--em-from); margin-right: 6px; font-size: 15px; }
.em-tabs-col .link { margin-top: 20px; }
@media (max-width: 767px) { .block-tabs { margin-bottom: 25px; } .block-tabs li.active:before { display: none; } }

/* Hitung mundur */
.em-countdown-sec { position: relative; overflow: hidden; }
.em-countdown-sec .background-img { z-index: 0; }
.em-countdown-sec .container { position: relative; z-index: 10; }
.countdown { font-size: 45px; line-height: 1.2; font-family: "Work Sans", sans-serif; }
.countdown b { font-weight: 300; }
@media (max-width: 480px) { .countdown { font-size: 30px; } }

/* Cerita (FAQ-style) */
.em-story { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 40px; }
.em-story img { width: 130px; height: 130px; object-fit: cover; border-radius: 5px; flex: 0 0 130px; }
.em-story .date { font-size: 13px; }
.em-story h4 { margin: 4px 0 8px; }
@media (max-width: 480px) { .em-story { flex-direction: column; } .em-story img { width: 100%; height: 200px; flex-basis: auto; } }

/* Lokasi (accom) */
.accom .em-venue { text-align: center; margin-bottom: 50px; }
.accom .block-img { height: 250px; border-radius: 3px; overflow: hidden; margin-bottom: 25px; }
.em-venue .em-map-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.em-venue .em-map-icon span { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; }
.em-venue .block-img:after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); z-index: 1; }
.em-venue p { margin: 0 0 20px; }

/* Galeri */
.em-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.em-gallery a { display: block; position: relative; overflow: hidden; }
.em-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .6; transition: opacity .4s ease, transform .6s ease; }
.em-gallery a:hover img { opacity: 1; transform: scale(1.06); }
.em-video { position: relative; padding-top: 56.25%; margin-top: 30px; }
.em-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .em-gallery { grid-template-columns: repeat(2, 1fr); } .em-gallery img { opacity: .85; } }

/* Hadiah (tickets) */
.em-tickets { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.em-tickets .block-ticket { opacity: 1; transform: none; padding: 50px 25px; width: 100%; max-width: 340px; border-radius: 5px; }
.em-tickets .block-ticket:hover { transform: translateY(-4px); }
.block-ticket .block-price .price { font-size: 34px; letter-spacing: 1px; word-break: break-all; margin-bottom: 26px; line-height: 1.2; }
.block-ticket .block-price .block-type { top: 0; margin-top: 6px; }
.block-ticket ul { list-style: none; padding: 0; margin: 0 0 30px; }
.block-ticket .em-bank { display: block; font-family: "Work Sans", sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.block-ticket .em-gift-icon { font-size: 44px; line-height: 1; margin-bottom: 20px; display: block; }

/* RSVP */
.em-rsvp-box { background: #121212; border: 1px solid #333; border-radius: 5px; padding: 35px 30px; height: 100%; }
.em-rsvp-box h3 { font-weight: 300; text-transform: none; font-size: 24px; margin: 0 0 25px; }
.inv-field { margin-bottom: 18px; }
.inv-label { display: block; font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.inv-input {
    width: 100%; background: #000; color: #fff; border: 1px solid #444; border-radius: 5px; padding: 12px 16px;
    font-family: "Open Sans", sans-serif; font-size: 14px; outline: none; transition: border-color .3s ease; min-height: 46px;
}
.inv-input:focus { border-color: var(--em-from); }
textarea.inv-input { resize: vertical; min-height: 110px; }
.inv-btn { display: inline-block; width: 100%; border: 0; border-radius: 25px; padding: 13px 40px; color: #fff; cursor: pointer; font-size: 14px; background: linear-gradient(45deg, var(--em-from) 0%, var(--em-to) 100%); }
.inv-btn:disabled { opacity: .6; }
.em-wishes { max-height: 470px; overflow-y: auto; padding-right: 6px; }
.em-wish { padding: 16px 0; border-bottom: 1px solid #333; display: flex; gap: 14px; }
.em-wish:first-child { padding-top: 0; }
.em-wish .init { flex: 0 0 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: "Work Sans", sans-serif; background: linear-gradient(45deg, var(--em-from) 0%, var(--em-to) 100%); }
.em-wish .body { min-width: 0; flex: 1; }
.em-wish strong { font-size: 14px; }
.em-wish .badge-att { display: inline-block; font-size: 11px; border: 1px solid #555; border-radius: 20px; padding: 0 9px; margin-left: 6px; color: #ccc; }
.em-wish p { margin: 4px 0; word-wrap: break-word; }
.em-wish small { color: #777; }
@media (max-width: 991px) { .em-rsvp-col + .em-rsvp-col { margin-top: 30px; } }

/* Footer */
.top-footer .block-social li a { background: #222 !important; }
.top-footer .block-social li a:hover { opacity: 1; background: linear-gradient(45deg, var(--em-from) 0%, var(--em-to) 100%) !important; }
.block-social { padding: 0; list-style: none; }
.em-footer-names { font-size: 34px; font-weight: 300; text-transform: none; margin: 0 0 10px; }
.bottom-footer p { margin: 0; }
.bottom-footer a { color: #fff; font-weight: 600; }

@media (max-width: 767px) {
    h1.large { font-size: 44px !important; }
    .hero-content h3 { font-size: 28px; }
    .pt-120 { padding-top: 80px !important; }
    .pb-120 { padding-bottom: 80px !important; }
    .mb-100 { margin-bottom: 50px !important; }
    .em-cd span { min-width: 64px; }
    .em-cd b { font-size: 26px; }
}

/* Perbaikan tata letak */
.block-speaker .em-host { width: 100%; }
@media (min-width: 768px) { .block-speaker .em-host.col-sm-6 { width: 50%; } .block-speaker .em-host.col-sm-8 { width: 66.6667%; } }
@media (min-width: 992px) { .block-speaker .em-host.col-md-6 { width: 50%; } }
.main-nav ul { display: block !important; text-align: right; }
.main-nav li.em-cta { display: inline-block !important; margin-left: 20px; }
.em-tabs-col .link { margin: 22px 0 30px; }
.accom .row > .em-venue, .row > .em-rsvp-col { width: 100%; }
@media (min-width: 768px) { .accom .row > .em-venue { width: 50%; } }
@media (min-width: 992px) { .accom .row > .em-venue { width: 41.6667%; } .row > .em-rsvp-col.col-md-6 { width: 50%; } .row > .em-rsvp-col.col-md-8 { width: 66.6667%; } }
input[type="text"].inv-input { background: #000; color: #fff; border: 1px solid #444; border-radius: 5px; padding: 12px 16px; margin: 0; width: 100%; max-width: 100%; min-width: 0; height: auto; font-family: "Open Sans", sans-serif; font-size: 14px; }
input[type="text"].inv-input:focus { border-color: var(--em-from); }
