/* =============================================================
   STAGENATION — style.css
   Global styles: header, nav, events, mobile menu
   ============================================================= */

/* =============================================================
   0. GLOBAL RESET
   ============================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}


/* =============================================================
   1. HEADER / NAVBAR
   ============================================================= */
.sn-header {
    background: #0a0118;
    border-bottom: 1px solid #1e1435;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.sn-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.sn-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.sn-logo-icon {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transform: skew(-6deg);
}

.sn-logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sn-logo-white  { color: #f5f3fa; }
.sn-logo-accent { color: #e879f9; }
.sn-logo-id     { color: #a89fc2; font-weight: 400; }

/* Nav desktop */
.sn-nav-list {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.sn-nav-list li a {
    color: #c9c2dd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.sn-nav-list li a:hover {
    color: #fff;
}

/* CTA button */
.sn-cta-btn {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 22px;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    flex-shrink: 0;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sn-cta-btn:hover { opacity: 0.9; color: #fff; }

/* Hamburger — hidden di desktop */
.sn-mobile-toggle {
    display: none;
}


/* =============================================================
   2. MOBILE MENU
   ============================================================= */

/* Panel geser dari kanan — hidden di desktop */
.sn-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0d0120;
    border-left: 1px solid #241640;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sn-mobile-menu-inner {
    padding: 24px 20px 40px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Tombol tutup */
.sn-mobile-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #f5f3fa;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.sn-mobile-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Daftar menu mobile */
.sn-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.sn-mobile-nav-item {
    border-bottom: 1px solid #1a1030;
}

.sn-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 4px;
    color: #d8d2e8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.sn-mobile-nav-link:hover { color: #c084fc; }

.sn-mobile-nav-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* CTA di mobile menu */
.sn-mobile-cta {
    display: block;
    margin-top: 32px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.sn-mobile-cta:hover { opacity: 0.9; color: #fff; }

/* Backdrop */
.sn-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.sn-mobile-backdrop--show { display: block; }


/* =============================================================
   3. RESPONSIVE HEADER & MOBILE MENU
   ============================================================= */
@media (max-width: 900px) {

    .sn-header { padding: 12px 20px; }

    /* Sembunyikan nav & CTA desktop */
    .sn-nav      { display: none; }
    .sn-cta-btn  { display: none; }

    /* Tampilkan hamburger */
    .sn-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: rgba(168, 85, 247, 0.15);
        border: 1px solid rgba(168, 85, 247, 0.4);
        border-radius: 8px;
        cursor: pointer;
        padding: 10px;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .sn-mobile-toggle:hover {
        background: rgba(168, 85, 247, 0.3);
    }

    .sn-hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background: #f5f3fa;
        border-radius: 2px;
    }

    /* Tampilkan mobile menu panel */
    .sn-mobile-menu {
        display: block;
        right: -100%;
    }

    .sn-mobile-menu--open {
        right: 0;
    }
}


/* =============================================================
   4. EVENTS PAGE & SINGLE EVENT
   ============================================================= */
.sn-events-page,
.sn-single-event {
    background: #0a0118;
    color: #e8e6f0;
    padding: 60px 20px;
}

.sn-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}

.sn-eyebrow {
    color: #c084fc;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.sn-title {
    text-align: center;
    font-size: 42px;
    margin: 10px 0;
}

.sn-subtitle {
    text-align: center;
    color: #a89fc2;
    margin-bottom: 30px;
}

/* Filter tabs */
.sn-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.sn-tab {
    padding: 10px 20px;
    border-radius: 6px;
    background: #1a1030;
    color: #a89fc2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.sn-tab.active {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
}

/* Event grid */
.sn-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 480px) {
    .sn-event-grid {
        grid-template-columns: 1fr;
    }
}

.sn-event-card {
    display: block;
    background: #140a26;
    border: 1px solid #2a1e46;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s;
}

.sn-event-card:hover {
    transform: translateY(-4px);
    border-color: #a855f7;
}

/* Badge */
.sn-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.sn-badge-level {
    background: #1e3a8a;
    color: #93c5fd;
}

.sn-event-name {
    font-size: 20px;
    margin: 0 0 12px;
    color: #f5f3fa;
}

.sn-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #a89fc2;
    margin-bottom: 12px;
}

.sn-event-meta-lg { font-size: 15px; }

.sn-event-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.sn-tag {
    background: #2a1e46;
    color: #d8b4fe;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Progress bar */
.sn-progress-wrap { margin-bottom: 20px; }

.sn-progress-bar {
    background: #241640;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}

.sn-progress-fill {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    height: 100%;
    transition: width 0.4s ease;
}

.sn-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #a89fc2;
    margin-top: 6px;
}

/* Event footer */
.sn-event-footer,
.sn-single-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sn-price-label {
    font-size: 11px;
    color: #a89fc2;
    letter-spacing: 1px;
}

.sn-price {
    color: #facc15;
    font-weight: 700;
    font-size: 20px;
}

.sn-price-lg { font-size: 28px; }

.sn-btn-cta {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sn-btn-cta:hover { opacity: 0.9; color: #fff; }

.sn-btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.sn-btn-disabled {
    background: #2a1e46;
    color: #6b6280;
    cursor: not-allowed;
}


/* =============================================================
   5. MOBILE RESPONSIVE TAMBAHAN
   ============================================================= */
@media (max-width: 480px) {
    .sn-title { font-size: 28px; }
    .sn-event-name { font-size: 17px; }
    .sn-price { font-size: 17px; }
    .sn-price-lg { font-size: 22px; }
    .sn-events-page,
    .sn-single-event { padding: 40px 16px; }
}


/* =============================================================
   6. BLOG (home.php & single.php)
   Pakai ulang komponen sn-event-card/sn-tag/sn-btn-cta biar konsisten,
   ini cuma tambahan khusus bagian yang beda dari event.
   ============================================================= */

.sn-home-blog {
    background: #0a0118;
    color: #e8e6f0;
    padding: 60px 20px;
}

.sn-eyebrow-center,
.sn-title-center,
.sn-subtitle-center {
    text-align: center;
}

/* Container lebih sempit khusus halaman artikel biar nyaman dibaca */
.sn-container-narrow {
    max-width: 760px;
}

/* Card blog pakai grid & style sama seperti event card,
   cuma tanpa progress bar & harga */
.sn-blog-card .sn-event-card-body {
    display: flex;
    flex-direction: column;
}

.sn-blog-card .sn-event-footer {
    margin-top: 8px;
    justify-content: flex-end;
}

/* Tombol lihat semua / pagination */
.sn-see-all-wrap {
    text-align: center;
    margin-top: 40px;
}

.sn-btn-outline {
    display: inline-block;
    border: 1px solid #a855f7;
    color: #e879f9;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.sn-btn-outline:hover {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
}

/* Pagination bawaan WP (the_posts_pagination) */
.sn-see-all-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.sn-see-all-wrap .page-numbers li { display: inline-flex; }

.sn-see-all-wrap .page-numbers a,
.sn-see-all-wrap .page-numbers span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #1a1030;
    color: #a89fc2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.sn-see-all-wrap .page-numbers a:hover,
.sn-see-all-wrap .page-numbers .current {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
}

/* Isi artikel (the_content) — supaya heading/paragraf/list/gambar
   di editor WP tetap enak dibaca di tema gelap */
.sn-single-content {
    margin: 30px 0;
    line-height: 1.8;
    color: #d8d2e8;
}

.sn-single-content p { margin-bottom: 18px; }

.sn-single-content h2,
.sn-single-content h3,
.sn-single-content h4 {
    color: #f5f3fa;
    margin: 32px 0 14px;
}

.sn-single-content ul,
.sn-single-content ol {
    margin: 0 0 18px 22px;
}

.sn-single-content a {
    color: #e879f9;
    text-decoration: underline;
}

.sn-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.sn-single-content blockquote {
    border-left: 3px solid #a855f7;
    padding-left: 16px;
    margin: 20px 0;
    color: #c9c2dd;
    font-style: italic;
}

/* Tag di halaman single artikel */
.sn-blog-tags {
    margin: 24px 0 0;
}

/* Navigasi artikel sebelumnya/selanjutnya */
.sn-blog-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #241640;
    font-size: 13px;
}

.sn-blog-nav a {
    color: #d8b4fe;
    text-decoration: none;
    font-weight: 700;
}

.sn-blog-nav a:hover { color: #fff; }

/* Area komentar bawaan WP */
.sn-blog-comments {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #241640;
}

@media (max-width: 480px) {
    .sn-home-blog { padding: 40px 16px; }
    .sn-container-narrow { padding: 0 4px; }
}
.sn-paket-swatch {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sn-paket-option input { display: none; }

.sn-paket-option span {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid #7b5cff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(123,92,255,0.15), rgba(123,92,255,0.05));
  transition: all 0.25s ease;
}
.sn-paket-option span:hover {
  border-color: #f5c542;
  transform: translateY(-2px);
}
.sn-paket-option input:checked + span {
  background: linear-gradient(135deg, #7b5cff, #f5c542);
  border-color: #f5c542;
  color: #10091f;
  box-shadow: 0 0 16px rgba(245,197,66,0.5);
}