:root {
    --orange-main: #f49f1c;
    --orange-deep: #bf7e1d;
    --blue-main: #2455c9;
    --blue-deep: #0047a6;
    --dark-bg: #05060c;
    --dark-deeper: #020617;
    --text-light: #f9fafb;
    --radius-xl: 40px;
}

/* Global */

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    background-color: var(--dark-deeper);
    color: var(--text-light);
}

/* Hero Galeri */

.hero-galeri {
    position: relative;
    min-height: 100vh;
    background-image: url("/assets/background-image/bg-hero-kurikulum.jpg"); /* grbackground-image/adient / gambar background */
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 100% 0,
        rgba(255, 255, 255, 0.08),
        transparent 55%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-block: 4.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 4vw + 1.5rem, 3.9rem);
    font-weight: 600;
    line-height: 1.05;
    padding-top: 3rem;
}

.btn-cta {
    background: linear-gradient(
        90deg,
        rgb(253, 122, 42, 0.98),
        rgba(241, 100, 12, 0.98)
    );
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    margin-top: 18px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    transition: 0.25s ease;
}
.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

/* Hero illustration */

.hero-illustration-wrap {
    display: flex;
    justify-content: center;
}

.hero-illustration-card {
    border-radius: 36px;
    padding: 1.8rem;
}

.hero-illustration-img {
    display: block;
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* Dokumentasi Kegiatan */

.section-gallery {
    background: radial-gradient(
            circle at 20% 10%,
            rgba(76, 124, 203, 0.45),
            transparent 45%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(19, 63, 140, 0.45),
            transparent 60%
        ),
        linear-gradient(180deg, #edf4ff, #ffffff);
    padding-block: 4.5rem;
}

.gallery-inner {
    position: relative;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.section-body {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 360px;
    color: #f3f4f6;
}

/* Glass card */

.glass-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.7rem;
    background: radial-gradient(
        circle at 10% 0,
        rgba(255, 255, 255, 0.12),
        rgba(7, 9, 17, 0.98)
    );
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.98);
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 38px rgba(255, 255, 255, 0.4);
    mix-blend-mode: screen;
    pointer-events: none;
}

.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 10% 90%,
        rgba(244, 159, 28, 0.85),
        transparent 60%
    );
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Stack gambar */
.gallery-stack {
    position: relative;
    width: 100%;
    height: 360px; /* sesuaikan tinggi */
    overflow: visible;
}
.gallery-stack img {
    aspect-ratio: 1/2;
}

/* atur posisi default item (gunakan class pos-front/left/right yang sudah kamu punya) */
.gallery-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transform: translate(-50%, -50%);
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

/* contoh posisi, sesuaikan dengan desain stack-mu */
.gallery-item.pos-front {
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    opacity: 1;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}
.gallery-item.pos-right {
    transform: translate(-30%, -50%) scale(0.88);
    z-index: 2;
    opacity: 0.9;
}
.gallery-item.pos-left {
    transform: translate(-70%, -50%) scale(0.75);
    z-index: 1;
    opacity: 0.55;
}

/* Tombol prev / next */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: radial-gradient(circle at 30% 0%, #ffffff, #111827);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 5;
    padding: 0;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Overlay preview */
.gallery-preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.gallery-preview-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.gallery-preview-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
}

/* Footer */

.site-footer {
    background: #ffffff;
    color: #111827;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 0;
}

.footer-divider {
    border-top: 1px solid rgba(148, 163, 184, 0.75);
    margin-bottom: 0.75rem;
}

.footer-text {
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive */

@media (max-width: 991.98px) {
    .hero-illustration-card {
        margin-top: 2rem;
    }

    .section-body {
        max-width: 100%;
    }

    .glass-card {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-galeri {
        min-height: 70vh;
        background-position: center;
    }

    .hero-illustration-img {
        max-width: 240px;
    }

    .gallery-item {
        width: 90%;
    }
}
