/* ============================================================
   DESIGN TOKENS — Modern Royal & Slate Blue
   Light = default. Dark = pure `prefers-color-scheme: dark` media
   query — no manual JS toggle, no FOUC, follows the OS/browser
   setting automatically. Old --brand-* names are kept as aliases
   of the new tokens so every component below keeps working.
   ============================================================ */
:root {
    color-scheme: light dark;

    /* --- new token names (per design spec) --- */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;

    --accent: #0284c7;
    --border: #e2e8f0;
    --border-color: #e2e8f0; /* alias, legacy name used below */

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* --- legacy aliases so the rest of this stylesheet (which
       references --brand-*) automatically picks up the new palette --- */
    --brand-blue: var(--primary);
    --brand-blue-hover: var(--primary-hover);
    --brand-blue-light: var(--primary-light);
    --brand-blue-accent: var(--accent);
    --brand-purple: #7c3aed;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --bg-card: #1e293b;
        --bg-glass: rgba(15, 23, 42, 0.85);

        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #64748b;

        --primary: #3b82f6;
        --primary-hover: #60a5fa;
        --primary-light: rgba(59, 130, 246, 0.15);
        --primary-border: #1e3a8a;

        --accent: #38bdf8;
        --border: #334155;
        --border-color: #334155;

        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);

        --brand-purple: #a78bfa;
    }
}

/* ============================================================
   MANUAL THEME OVERRIDE
   The toggle button sets data-theme="dark"/"light" on <html>,
   saved to localStorage. This wins over prefers-color-scheme
   because the attribute selector has higher specificity than
   :root. No attribute set = falls back to auto (OS) above.
   ============================================================ */
html[data-theme="dark"] {
    color-scheme: dark;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-glass: rgba(15, 23, 42, 0.85);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: rgba(59, 130, 246, 0.15);
    --primary-border: #1e3a8a;
    --accent: #38bdf8;
    --border: #334155;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --brand-purple: #a78bfa;
}

html[data-theme="light"] {
    color-scheme: light;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    --accent: #0284c7;
    --border: #e2e8f0;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --brand-purple: #7c3aed;
}

/* the .navbar / .hero-bg-overlay / etc. dark-specific rules below
   also need to fire for the manual override, not just the media query */
html[data-theme="dark"] .navbar,
html[data-theme="dark"] .footer-professional {
    background: var(--bg-glass);
}
html[data-theme="dark"] .footer-professional {
    background: #0b1425;
    border-top-color: #1e293b;
}
html[data-theme="dark"] .hero-bg-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.4) 25%,
        rgba(15, 23, 42, 0.25) 45%,
        rgba(15, 23, 42, 0.55) 65%,
        rgba(15, 23, 42, 0.9) 85%,
        #0f172a 100%
    );
}
html[data-theme="dark"] .slider-dots .dot {
    background: #334155;
}
html[data-theme="dark"] .visi-card .vm-icon {
    background: rgba(59, 130, 246, 0.2);
}
html[data-theme="dark"] .misi-card .vm-icon {
    background: rgba(139, 92, 246, 0.2);
}
html[data-theme="dark"] .glory-text {
    background: rgba(59, 130, 246, 0.15);
}
html[data-theme="dark"] .misi-number,
html[data-theme="dark"] .mpls-number {
    background: rgba(139, 92, 246, 0.2);
}

/* ============================================================
   ANIMASI LOADING
   ============================================================ */
@keyframes fadeInPage {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOutLoader 1.2s ease-in forwards;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    border: 5px solid #e2e8f0;
    border-top-color: var(--brand-blue-accent);
    border-radius: 50%;
    z-index: 10000;
    animation:
        spin 0.8s linear infinite,
        fadeOutLoader 1.2s ease-in forwards;
    pointer-events: none;
}

@keyframes fadeOutLoader {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.6s ease-out;
}

.hero,
.stats-grid,
.event-grid,
.gallery-grid,
.section-title,
.section-sub {
    animation: fadeInUp 0.6s ease-out forwards;
}

.event-card:nth-child(1) {
    animation-delay: 0.1s;
}
.event-card:nth-child(2) {
    animation-delay: 0.2s;
}
.event-card:nth-child(3) {
    animation-delay: 0.3s;
}
.stat-card:nth-child(1) {
    animation-delay: 0.05s;
}
.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}
.stat-card:nth-child(3) {
    animation-delay: 0.15s;
}
.stat-card:nth-child(4) {
    animation-delay: 0.2s;
}

/* ============================================================
   RESET & GLOBAL
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 70px;
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background: var(--bg-glass);
        border-bottom-color: var(--border-color);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-link img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.logo-link img:hover {
    transform: scale(1.05);
}

.hamburger {
    display: block;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px 10px;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
    border-radius: 8px;
}
.hamburger:hover {
    transform: scale(1.05);
}
.hamburger:active {
    transform: scale(0.95);
}

.nav-links {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-card);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    border: 1px solid var(--border-color);
    list-style: none;
    font-weight: 600;
    transform-origin: top center;
    transform: scaleY(0.95) translateY(-10px);
    opacity: 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
    visibility: hidden;
}

.nav-links.open {
    display: flex;
    transform: scaleY(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    padding: 10px 12px;
    border-radius: 8px;
    border-bottom: 1px solid var(--border-color);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-links a:last-child {
    border-bottom: none;
}
.nav-links a:hover {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding-left: 18px;
}
.nav-links a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.nav-links a:hover i {
    color: var(--brand-blue);
}

.theme-btn {
    background: none;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 10px 12px;
    text-align: left;
    width: 100%;
    border-radius: 8px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}
.theme-btn:hover {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding-left: 18px;
}
.theme-btn i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.theme-btn:hover i {
    color: var(--brand-blue);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 24px 0 32px;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero .highlight {
    background: linear-gradient(
        135deg,
        var(--brand-blue-accent),
        var(--brand-purple)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}
.hero .badge {
    display: inline-block;
    margin-bottom: 16px;
    background: var(--border-color);
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

/* ============================================================
   HERO DENGAN BACKGROUND FOTO — FADE KE BACKGROUND
   ============================================================ */
.hero-with-bg {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/bg2.jpg") center/cover no-repeat;
    z-index: 0;
}

/* Overlay bertahap: foto jelas di atas, makin ke bawah makin pudar
   dan menyatu sepenuhnya dengan --bg-primary di titik akhir section. */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(11, 17, 32, 0.45) 0%,
        rgba(11, 17, 32, 0.3) 25%,
        rgba(11, 17, 32, 0.15) 45%,
        rgba(248, 250, 252, 0.4) 65%,
        rgba(248, 250, 252, 0.85) 85%,
        #f8fafc 100%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

@media (prefers-color-scheme: dark) {
    .hero-bg-overlay {
        background: linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.55) 0%,
            rgba(15, 23, 42, 0.4) 25%,
            rgba(15, 23, 42, 0.25) 45%,
            rgba(15, 23, 42, 0.55) 65%,
            rgba(15, 23, 42, 0.9) 85%,
            #0f172a 100%
        );
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 16px 80px;
}

.hero-content .badge {
    background: rgba(59, 130, 246, 0.85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: none;
}

.hero-content h1 {
    color: #fff;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.5),
        0 4px 40px rgba(0, 0, 0, 0.2);
}

.hero-content .highlight {
    background: linear-gradient(135deg, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 2px 30px rgba(96, 165, 250, 0.25),
        0 4px 60px rgba(167, 139, 250, 0.1);
}

.hero-content p {
    color: #ffffff;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.85),
        0 4px 40px rgba(0, 0, 0, 0.5),
        0 8px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 12px auto 0;
    font-weight: 700;
    line-height: 1.8;
}

/* ============================================================
   SLIDER FOTO (generik, dipakai home & event detail)
   ============================================================ */
.slider-section {
    padding: 32px 0 16px;
}

.slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-card);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    position: relative;
}
.slider-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
@media (prefers-color-scheme: dark) {
    .slider-dots .dot {
        background: #334155;
    }
}

.slider-dots .dot.active {
    background: var(--brand-blue-accent);
    border-color: var(--brand-blue-accent);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
.slider-dots .dot:hover {
    transform: scale(1.15);
}

@media (max-width: 640px) {
    .hero-with-bg {
        min-height: 320px;
        padding: 32px 0 40px;
    }
    .slider-slide img {
        height: 220px;
    }
    .slide-caption {
        font-size: 0.8rem;
        padding: 12px 16px;
    }
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .slider-slide img {
        height: 300px;
    }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.stat-card {
    background: var(--bg-card);
    padding: 16px 12px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-card .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-blue-accent);
    display: block;
    transition: color 0.3s ease;
}
.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
    transition: color 0.3s ease;
}
.stat-card .label i {
    margin-right: 4px;
}

/* ============================================================
   EVENT CARD
   ============================================================ */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.section-title i {
    margin-right: 8px;
}
.section-title span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: 20px;
    padding: 20px;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}
.event-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.event-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.event-card .tag {
    display: inline-block;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}
.event-card .tag i {
    margin-right: 4px;
}

.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.event-card-link .event-card {
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.event-card-link .event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.event-card-link .event-card .btn-primary {
    transition:
        background 0.3s ease,
        transform 0.2s ease;
}
.event-card-link .event-card:hover .btn-primary {
    background: var(--brand-blue-hover);
    transform: scale(1.05);
}

/* ============================================================
   BADGE / GALLERY CATEGORY CARDS
   ============================================================ */
.badge-category {
    display: inline-block;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 30px;
    margin: 4px 0 8px;
}

.gallery-category-icon {
    font-size: 2.8rem;
    color: var(--brand-blue-accent);
    margin-bottom: 8px;
    background: var(--brand-blue-light);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.gallery-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.gallery-category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-category-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px 20px 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.gallery-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.gallery-category-card .gallery-category-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.gallery-category-card .gallery-category-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.gallery-category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.gallery-category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ============================================================
   GALLERY DETAIL GRID + LIGHTBOX
   ============================================================ */
.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-detail-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--border-color);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.gallery-detail-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}
.gallery-detail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .gallery-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .gallery-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .gallery-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--brand-blue-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition:
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.btn-primary i {
    margin-right: 6px;
}
.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: #94a3b8;
}
.btn-secondary:hover {
    background: #64748b;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}
.btn-doc:hover {
    background: var(--brand-blue-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   EVENT DETAIL FULL
   ============================================================ */
.event-detail-full {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.event-detail-full .event-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.event-detail-full ul {
    padding-left: 0;
}
.event-detail-full ul li {
    list-style: none;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-detail-full ul li i {
    width: 20px;
    text-align: center;
    color: var(--brand-blue-accent);
}

.event-detail-full h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
    margin-top: 16px;
    margin-bottom: 8px;
}
.event-detail-full h4 i {
    color: var(--brand-blue-accent);
    margin-right: 6px;
}

.event-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.event-icon img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.stat-card-alt {
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
}
.stat-card-alt strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.stat-card-alt ul {
    padding-left: 16px;
    margin-top: 4px;
    font-size: 0.9rem;
}
.stat-card-alt ul li {
    padding: 2px 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}
.stat-card-alt ul li::before {
    content: "•";
    color: var(--brand-blue-accent);
    font-weight: bold;
}

.stat-card-alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* ============================================================
   GALLERY (kartu sederhana, legacy)
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--border-color);
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item p {
    padding: 8px 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* ============================================================
   FORM KONTAK / ASPIRASI
   ============================================================ */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--brand-blue-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.contact-form label {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.contact-form label i {
    margin-right: 6px;
}

/* ============================================================
   FOOTER PROFESIONAL
   ============================================================ */
.footer-professional {
    background: #0f172a;
    color: #cbd5e1;
    padding: 32px 0 0;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}
@media (prefers-color-scheme: dark) {
    .footer-professional {
        background: #0b1425;
        border-top-color: #1e293b;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e8edf5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col h4 i {
    color: var(--brand-blue-accent);
    font-size: 0.85rem;
}

.footer-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 280px;
    margin: 0 0 16px 0;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 4px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: 3px 0;
}
.footer-links a:hover {
    color: #60a5fa;
    padding-left: 4px;
}
.footer-links a i {
    font-size: 0.7rem;
    width: 16px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
}
.footer-contact li i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--brand-blue-accent);
}
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: #60a5fa;
}

.footer-badges {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.badge-active {
    background: #1e293b;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.badge-active i {
    color: var(--brand-blue-accent);
    font-size: 0.6rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-left: -10px;
}
.social-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}
.social-link:hover {
    transform: translateX(3px);
}
.social-link.instagram:hover {
    background: #1a1a2e;
    color: #e4405f;
}
.social-link.youtube:hover {
    background: #1a1a2e;
    color: #ff0000;
}
.social-link.tiktok:hover {
    background: #1a1a2e;
    color: #00f2ea;
}
.social-link.spotify:hover {
    background: #1a1a2e;
    color: #1db954;
}
.social-link.whatsapp:hover {
    background: #1a1a2e;
    color: #25d366;
}
.social-link span {
    font-size: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0 20px;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}
.footer-copyright {
    text-align: left;
}
.footer-credit {
    text-align: right;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    padding: 40px 0 32px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: 0 0 40px 40px;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

.about-badge {
    display: inline-block;
    background: var(--brand-blue-accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.about-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.about-title .highlight {
    background: linear-gradient(
        135deg,
        var(--brand-blue-accent),
        var(--brand-purple)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 8px auto 0;
    transition: color 0.3s ease;
}

.about-description {
    padding: 24px 0;
}
.about-desc-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 28px;
    border-left: 5px solid var(--brand-blue-accent);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}
.about-desc-icon {
    position: absolute;
    top: -18px;
    left: 28px;
    background: var(--brand-blue-accent);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.about-desc-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.about-vm {
    padding: 24px 0 32px;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 28px;
}

.vm-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}
.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.vm-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.visi-card .vm-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--brand-blue-accent);
}
.misi-card .vm-icon {
    background: rgba(139, 92, 246, 0.12);
    color: var(--brand-purple);
}
@media (prefers-color-scheme: dark) {
    .visi-card .vm-icon {
        background: rgba(59, 130, 246, 0.2);
    }
    .misi-card .vm-icon {
        background: rgba(139, 92, 246, 0.2);
    }
}

.vm-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.vm-divider {
    width: 40px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        var(--brand-blue-accent),
        var(--brand-purple)
    );
    margin: 8px 0 14px;
}
.vm-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.3s ease;
}
.vm-text strong {
    color: var(--brand-blue-accent);
}

.glory-text {
    display: inline-block;
    background: rgba(59, 130, 246, 0.08);
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue-accent);
    margin-top: 4px;
}
@media (prefers-color-scheme: dark) {
    .glory-text {
        background: rgba(59, 130, 246, 0.15);
    }
}

.misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.misi-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}
.misi-list li:last-child {
    border-bottom: none;
}

.misi-number,
.mpls-number {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-purple);
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: 30px;
    min-width: 32px;
    text-align: center;
    margin-top: 2px;
}
.mpls-number {
    color: var(--brand-blue-accent);
}
@media (prefers-color-scheme: dark) {
    .misi-number,
    .mpls-number {
        background: rgba(139, 92, 246, 0.2);
    }
}

.misi-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.about-motto {
    padding: 8px 0 40px;
}
.motto-box {
    background: linear-gradient(
        135deg,
        var(--brand-blue-accent),
        var(--brand-purple)
    );
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.motto-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.motto-box::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}
.motto-icon {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.motto-box blockquote {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    quotes: none;
}
.motto-author {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 28px 0 20px;
        border-radius: 0 0 24px 24px;
    }
    .about-desc-card {
        padding: 24px 18px;
        border-left-width: 4px;
    }
    .about-desc-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        top: -15px;
        left: 18px;
    }
    .vm-card {
        padding: 24px 18px;
    }
    .vm-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .misi-list li {
        padding: 8px 0;
    }
    .misi-text {
        font-size: 0.85rem;
    }
    .motto-box {
        padding: 28px 20px;
    }
    .motto-box blockquote {
        font-size: 1rem;
    }
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    .hamburger {
        display: none;
    }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        gap: 6px;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    .nav-links a {
        border-bottom: none;
        padding: 8px 14px;
        font-size: 0.95rem;
    }
    .nav-links a:hover {
        padding-left: 14px;
        background: rgba(59, 130, 246, 0.08);
    }
    .nav-links a i {
        font-size: 0.9rem;
    }
    .theme-btn {
        padding: 8px 14px;
        width: auto;
        border-radius: 8px;
    }
    .theme-btn:hover {
        padding-left: 14px;
        background: rgba(59, 130, 246, 0.08);
    }
    .event-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .footer-bottom {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    .footer-bottom p {
        white-space: normal !important;
        font-size: 0.8rem !important;
    }
    .footer-copyright,
    .footer-credit {
        text-align: center !important;
    }
    .footer-description {
        text-align: left;
    }
    .footer-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .event-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .event-detail-full .event-header {
        flex-direction: column;
        text-align: center;
    }
    .event-detail-full .event-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    .event-detail-full h4 {
        text-align: center;
    }
    .event-detail-full ul li {
        justify-content: center;
    }
    .event-detail-full .btn-doc {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .stat-card-alt-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 16px;
    }
    .footer-professional {
        padding: 20px 0 0;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col h4 {
        justify-content: center;
        font-size: 0.85rem;
    }
    .footer-description {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .footer-links a {
        justify-content: center;
        font-size: 0.75rem;
        padding: 4px 0;
    }
    .footer-contact li {
        justify-content: center;
        font-size: 0.75rem;
    }
    .footer-badges {
        justify-content: center;
    }
    .footer-social {
        align-items: center;
    }
    .social-link {
        justify-content: center;
        width: 100%;
        max-width: 220px;
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-left: 0;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        padding: 12px 0 16px !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    .footer-bottom p {
        font-size: 0.6rem !important;
        white-space: normal !important;
        text-align: center !important;
        width: 100% !important;
    }
    .footer-copyright,
    .footer-credit {
        text-align: center !important;
    }
    .footer-logo img {
        height: 40px !important;
    }
    .badge-active {
        font-size: 0.6rem;
        padding: 2px 10px;
    }
    .logo-link img {
        height: 40px;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .stat-card-alt-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
