/* ════════════════════════════════════════════════════════════
 * GBI Slawi — base.css
 * CSS variables, reset, body, navbar, loader, typography, utilities
 * ════════════════════════════════════════════════════════════ */

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --gold: #F5C842;
    --gold-dim: rgba(245, 200, 66, 0.15);
    --gold-border: rgba(245, 200, 66, 0.25);
    --bg: #080808;
    --bg2: #0f0f0f;
    --bg3: #171717;
    --bg4: #1f1f1f;
    --text: #f0f0f0;
    --text2: rgba(240, 240, 240, 0.6);
    --text3: rgba(240, 240, 240, 0.35);
    --border: rgba(255, 255, 255, 0.07);
    --loader-bg: #0a0804;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c842, #c9a200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #000;
    font-weight: 700;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

/* Desktop nav */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Right section */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme button */

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg3);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Join button */

.join-btn {
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.join-btn:hover {
    opacity: 0.85;
}

/* Hamburger */

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg3);
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

/* Mobile Menu */

.mobile-menu {
    display: none;
}

.mobile-menu.open {
    display: block;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Loading */
/* ════════════════════════════════════════════════════════════
   LOADER — GBI Slawi
   ════════════════════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--loader-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

/* ── Radial glow di tengah ── */
#loader::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.09) 0%, transparent 70%);
    animation: loaderGlowPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* ── Partikel cahaya mengambang ── */
#loader .loader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#loader .loader-particles span {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--gold, #f5c842);
    opacity: 0;
    animation: loaderParticle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

#loader .loader-particles span:nth-child(1) {
    left: 15%;
    top: 25%;
    --dur: 3.2s;
    --delay: 0s;
}

#loader .loader-particles span:nth-child(2) {
    left: 30%;
    top: 70%;
    --dur: 2.8s;
    --delay: 0.4s;
}

#loader .loader-particles span:nth-child(3) {
    left: 55%;
    top: 15%;
    --dur: 3.5s;
    --delay: 0.8s;
}

#loader .loader-particles span:nth-child(4) {
    left: 70%;
    top: 60%;
    --dur: 2.6s;
    --delay: 1.2s;
}

#loader .loader-particles span:nth-child(5) {
    left: 85%;
    top: 35%;
    --dur: 3.0s;
    --delay: 0.2s;
}

#loader .loader-particles span:nth-child(6) {
    left: 20%;
    top: 50%;
    --dur: 3.8s;
    --delay: 1.5s;
}

#loader .loader-particles span:nth-child(7) {
    left: 45%;
    top: 80%;
    --dur: 2.9s;
    --delay: 0.6s;
}

#loader .loader-particles span:nth-child(8) {
    left: 75%;
    top: 20%;
    --dur: 3.3s;
    --delay: 1.0s;
}

#loader .loader-particles span:nth-child(9) {
    left: 10%;
    top: 80%;
    --dur: 2.7s;
    --delay: 1.8s;
}

#loader .loader-particles span:nth-child(10) {
    left: 90%;
    top: 75%;
    --dur: 3.6s;
    --delay: 0.3s;
}

/* ── Konten utama loader ── */
#loader .loader-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: loaderFadeUp 0.6s ease both;
}

/* ── Lingkaran cahaya di belakang salib ── */
#loader .loader-halo {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

#loader .loader-halo::before,
#loader .loader-halo::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(245, 200, 66, 0.18);
    animation: loaderRingExpand 2.4s ease-out infinite;
}

#loader .loader-halo::before {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

#loader .loader-halo::after {
    width: 100px;
    height: 100px;
    animation-delay: 0.8s;
    border-color: rgba(245, 200, 66, 0.10);
}

/* ── Salib ── */
#loader .cross {
    font-size: 0;
    position: relative;
    width: 28px;
    height: 44px;
    animation: loaderCrossGlow 2s ease-in-out infinite;
    z-index: 1;
}

/* Batang vertikal */
#loader .cross::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(245, 200, 66, 0.4), #f5c842, rgba(245, 200, 66, 0.4));
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(245, 200, 66, 0.6), 0 0 28px rgba(245, 200, 66, 0.3);
}

/* Batang horizontal */
#loader .cross::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 28%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, rgba(245, 200, 66, 0.4), #f5c842, rgba(245, 200, 66, 0.4));
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(245, 200, 66, 0.6), 0 0 28px rgba(245, 200, 66, 0.3);
}

/* ── Teks GBI Slawi ── */
#loader .loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(245, 200, 66, 0.90);
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

/* ── Tagline kecil ── */
#loader .loader-tagline {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 200, 66, 0.35);
    margin-bottom: 32px;
}

/* ── Progress bar ── */
#loader .bar {
    width: 160px;
    height: 1px;
    background: rgba(245, 200, 66, 0.12);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

#loader .bar-fill {
    height: 100%;
    background: linear-gradient(to right, transparent, #f5c842, transparent);
    animation: loaderBarSlide 1.6s ease forwards;
    box-shadow: 0 0 8px rgba(245, 200, 66, 0.6);
}

/* ── Animasi ── */
@keyframes loaderFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderGlowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes loaderRingExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes loaderCrossGlow {

    0%,
    100% {
        filter: brightness(0.85);
    }

    50% {
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(245, 200, 66, 0.8));
    }
}

@keyframes loaderParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    30% {
        opacity: 0.7;
    }

    70% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1.2);
    }
}

@keyframes loaderBarSlide {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes load {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.95)
    }

    50% {
        opacity: 1;
        transform: scale(1.05)
    }
}

/* Scroll to top */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.3);
}

#scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

#scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 200, 66, 0.4);
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s;
}

[data-theme="dark"] nav {
    background: rgba(8, 8, 8, 0.75);
}

.nav-link {
    color: var(--text2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-link.active {
    color: var(--gold);
    border-color: var(--gold-border);
    background: var(--gold-dim);
}

/* Hero */
.hero-bg {
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(245, 200, 66, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 60%, rgba(80, 60, 180, 0.05) 0%, transparent 70%),
        var(--bg);
}

/* Gold gradient text */
.gold-text {
    background: linear-gradient(135deg, #f5c842 0%, #e8a010 50%, #f5c842 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold divider */
.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Pill tag */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Cards */
.card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Pengumuman list: jangan naik saat hover agar tidak tumpang tindih */
.card.peng-item:hover {
    transform: none;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
}

.card-gold {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, var(--bg3) 100%);
    border-color: var(--gold-border);
}

/* Schedule filter tabs */
.tab-btn {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    cursor: pointer;
    background: transparent;
    color: var(--text2);
    transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Calendar */
.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.cal-day:hover {
    background: var(--gold-dim);
}

.cal-day.today {
    background: var(--gold);
    color: #000;
    font-weight: 700;
}

.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.cal-day.today::after {
    background: #000;
}

.cal-day.other-month {
    opacity: 0.3;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

/* Mobile menu */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 65px;
    z-index: 90;
    background: var(--bg2);
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
}

#mobile-menu.open {
    display: flex;
}

.mobile-link {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.mobile-link:hover {
    color: var(--gold);
    border-color: var(--gold-border);
    background: var(--gold-dim);
}

/* Section transitions */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating scroll indicator */
.scroll-hint {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* Map embed placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg4);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Toast */
#toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 600;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Org chart */
.org-node {
    background: var(--bg4);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    transition: border-color 0.2s;
}

.org-node:hover {
    border-color: var(--gold-border);
}

.org-line {
    width: 1px;
    height: 32px;
    background: var(--border);
    margin: 0 auto;
}

.org-line-h {
    height: 1px;
    background: var(--border);
    flex: 1;
}

/* PDF download animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-4px)
    }
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bg4);
    border-radius: 3px;
}

@media (max-width: 768px) {
    #desktop-nav {
        display: none !important;
    }

    #hamburger {
        display: flex !important;
    }

    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
    }

    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .card[style*="display:flex;gap:20px"] {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    [style*="grid-template-columns:2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(2,1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

}

.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c842, #c9a200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #000;
    font-weight: 700;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
}

.footer-desc {
    color: var(--text3);
    font-size: 14px;
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg4);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    border-color: var(--gold);
}

.social-icon--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.social-icon--instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    color: #fff;
}

.social-icon--youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.footer-heading {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text2);
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--gold);
}

.footer-schedule .muted {
    color: var(--text2);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text2);
}

.maps-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text3);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    position: relative;
}

.hero-pill {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(44px, 8vw, 88px);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-desc {
    color: var(--text2);
    font-size: clamp(16px, 2vw, 20px);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */

.btn-primary {
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(245, 200, 66, 0.3);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    padding: 14px 30px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Decorative Circles */

.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-left {
    top: 15%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.06), transparent 70%);
}

.circle-right {
    bottom: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80, 60, 200, 0.05), transparent 70%);
}

/* Scroll hint */

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text3);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text3), transparent);
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--text3);
}

.stats-section {
    background: var(--bg2);
    padding: 48px 24px;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-number {
    font-size: 42px;
    font-weight: 700;
}

.stats-label {
    color: var(--text3);
    font-size: 13px;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

#profil {
    padding: 100px 24px;
    background: var(--bg);
}

.container-profil {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .pill {
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================
   GRID 2 COLUMN
========================= */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

/* =========================
   GEDUNG PLACEHOLDER
========================= */

.gedung-box {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.gedung-box .icon {
    font-size: 64px;
}

.gedung-box .text {
    color: var(--text3);
    font-size: 14px;
}

/* =========================
   SEJARAH
========================= */

.sejarah h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sejarah p {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* =========================
   VISI MISI
========================= */

.grid-visi-misi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
}

.card-padding-lg {
    padding: 36px;
}

.card-padding-lg h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-padding-lg p {
    color: var(--text2);
    line-height: 1.8;
    font-size: 16px;
}

.card-padding-lg ul {
    color: var(--text2);
    line-height: 1.9;
    font-size: 15px;
    list-style: none;
    padding: 0;
}

/* =========================
   NILAI INTI
========================= */

.nilai-section {
    margin-bottom: 80px;
}

.nilai-section h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

.nilai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.nilai-card {
    padding: 24px;
    text-align: center;
}

.nilai-card .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.nilai-card .title {
    font-weight: 600;
    margin-bottom: 6px;
}

.nilai-card .desc {
    color: var(--text3);
    font-size: 13px;
}

/* =========================
   STRUKTUR ORGANISASI
========================= */

.org-section {
    margin-bottom: 80px;
}

.org-section h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

.org-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* =========================
   PROFIL PENDETA
========================= */

/* .grid-profil {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
} */

.grid-profil {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
    grid-column: 1 / -1;
    width: 100%;
}

.profile-card {
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg4);
    border: 2px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.profile-card .pill {
    margin-bottom: 8px;
    font-size: 10px;
}

.profile-card .name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-card .meta {
    color: var(--text3);
    font-size: 13px;
    margin-bottom: 10px;
}

.profile-card p {
    color: var(--text2);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   JAM OPERASIONAL
========================= */

.grid-operasional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.operasional-card {
    padding: 32px;
}

.operasional-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.operasional-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.operasional-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.operasional-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.operasional-time {
    color: var(--gold);
    font-weight: 600;
}

.operasional-note {
    color: var(--text2);
    font-size: 13px;
}

/* =========================
   MAP
========================= */

.map-card {
    padding: 32px;
}

.map-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.map-card p {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 16px;
}

.map-placeholder {
    text-align: center;
}

.map-placeholder a {
    margin-top: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.section-komunitas {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
    background: var(--bg);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text2);
    max-width: 500px;
    margin: 0 auto;
}

.komunitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.komunitas-card {
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.komunitas-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.komunitas-card .title {
    font-weight: 600;
    margin-bottom: 4px;
}

.komunitas-card .desc {
    color: var(--text3);
    font-size: 12px;
}

/* Hover effect */
.komunitas-card:hover {
    transform: translateY(-5px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-media {
    padding: 100px 0;
    background: var(--bg2);
}

.media {
    max-width: 1280px;
    margin: 0 auto;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.media-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.media-meta {
    color: var(--text3);
    font-size: 14px;
    margin-bottom: 8px;
}

.media-description {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 24px;
}

.media-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Video Card */
.media-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(30, 20, 80, 0.5),
            rgba(0, 0, 0, 0.7));
}

.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 200, 66, 0.2);
    border: 1.5px solid rgba(245, 200, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-icon {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #F5C842;
}

.video-caption {
    position: absolute;
    bottom: 14px;
    left: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RESPONSIVE — TABLET (max 992px)
========================= */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .grid-visi-misi {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-profil {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-operasional {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .section-komunitas {
        padding: 64px 20px;
    }

    #profil {
        padding-top: calc(65px + 48px);
    }
}

/* =========================
   RESPONSIVE — MOBILE (max 768px)
========================= */
@media (max-width: 768px) {

    /* Hero */
    .hero-section {
        padding: 100px 20px 60px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
        line-height: 1.12;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .circle-left,
    .circle-right {
        display: none;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-number {
        font-size: 32px;
    }

    /* All 2-col grids → 1 col */
    .grid-2,
    .grid-visi-misi,
    .grid-profil,
    .grid-operasional,
    .media-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Profile card */
    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .card-padding-lg {
        padding: 24px 20px;
    }

    .card-padding-lg h3 {
        font-size: 22px;
    }

    /* Section spacing */
    .nilai-section,
    .org-section,
    .sejarah,
    .grid-2,
    .grid-profil,
    .grid-operasional {
        margin-bottom: 48px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Nilai grid */
    .nilai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Komunitas grid */
    .komunitas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer {
        padding: 48px 20px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Nav */
    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    /* Sections padding */
    .section-komunitas {
        padding: 56px 20px;
    }

    .section-media {
        padding: 64px 20px;
    }

    #profil {
        padding-top: calc(65px + 48px);
    }

    /* Modal */
    .modal {
        border-radius: 16px;
        max-height: 85vh;
    }

    /* Map */
    .map-placeholder {
        height: 220px;
    }

    .map-card {
        padding: 20px;
    }

    /* Operasional */
    .operasional-card {
        padding: 20px;
    }
}

/* =========================
   RESPONSIVE — SMALL MOBILE (max 480px)
========================= */
@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stats-number {
        font-size: 28px;
    }

    .nilai-grid {
        grid-template-columns: 1fr;
    }

    .komunitas-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 16px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .pill {
        font-size: 10px;
        padding: 4px 12px;
    }

    .tab-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .media-heading {
        font-size: 24px;
    }

    .org-wrapper {
        max-width: 100%;
    }
}
