/* Hero Section Styles */
.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.batik-overlay {
    background-image: url('../../images/batik-pattern.png');
    background-size: 500px 500px;
    background-repeat: repeat;
    opacity: 0.12;
    mix-blend-mode: overlay;
}
.hero-content-wrapper {
    padding-top: 7rem;
    padding-bottom: 4rem;
}
.hero-badge {
    margin-bottom: 2rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 640px;
    margin-bottom: 2.5rem;
}
.hero-video-wrapper {
    max-width: 720px;
    margin-bottom: 2.5rem;
}
.hero-video-card {
    background: rgba(15,23,42,0.25);
    padding: 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.hero-video-card iframe {
    border-radius: 0.875rem;
    display: block;
}
.hero-cta {
    background-color: #ffffff !important;
    color: #003995 !important;
    font-weight: 700;
}
.hero-cta:hover {
    background-color: #f0f5ff !important;
    color: #002b75 !important;
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.25), 0 8px 10px -6px rgba(255, 255, 255, 0.25) !important;
}
.scroll-indicator {
    transform: translateX(-50%);
    animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Mengenal Rupiah Section Styles */
.mengenal-section {
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.mengenal-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0,57,149,0.04);
    pointer-events: none;
}
.mengenal-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(0,57,149,0.03);
    pointer-events: none;
}
.mengenal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0.75rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .mengenal-grid {
        gap: 1rem;
    }
}
.mengenal-card {
    background: #ffffff;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
}
.mengenal-card:hover {
    border-color: #003995;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0,57,149,0.12);
}
.mengenal-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.mengenal-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mengenal-img-wrapper img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.mengenal-img-wrapper:hover img {
    transform: scale(1.04) rotate(-1deg);
}
.mengenal-img-glow {
    position: absolute;
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0,57,149,0.08) 0%, transparent 70%);
    bottom: -10%;
    left: 10%;
    border-radius: 50%;
    pointer-events: none;
}
.mengenal-method-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}
.method-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    transition: all 0.2s ease;
}
.method-chip:hover {
    border-color: #003995;
    color: #003995;
    background: #f0f5ff;
}
.method-chip svg {
    width: 16px;
    height: 16px;
}

/* Persebaran Titik Edukasi Section Styles */
.sebaran-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}
.sebaran-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.sebaran-region-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 100%;
}
@media (min-width: 640px) {
    .sebaran-region-card {
        flex: 0 1 calc(50% - 0.75rem);
    }
}
@media (min-width: 1024px) {
    .sebaran-region-card {
        flex: 0 1 calc(33.333% - 1rem);
    }
}
.sebaran-region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 57, 149, 0.08);
    border-color: #003995;
}
.sebaran-region-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.sebaran-region-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    background: #f0f5ff;
    color: #003995;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.sebaran-region-card:hover .sebaran-region-icon {
    background: #003995;
    color: #ffffff;
}
.sebaran-region-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}
.sebaran-region-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}
.sebaran-region-stat {
    display: flex;
    flex-direction: column;
}
.sebaran-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #003995;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.sebaran-stat-lbl {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════ */
/* Decorative Background Patterns                        */
/* ═══════════════════════════════════════════════════════ */

/* 3 Pilar Utama — Subtle Rp currency symbol dots */
.pilar-section {
    position: relative;
    overflow: hidden;
}
.pilar-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 10l8 20-8 20-8-20z' stroke='%23003995' stroke-width='0.6' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-repeat: repeat;
}
.pilar-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.03);
    pointer-events: none;
}
.pilar-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.025);
    pointer-events: none;
}

/* Persebaran Titik Edukasi — Subtle radial dot grid */
.sebaran-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='2.5' fill='%23003995'/%3E%3Ccircle cx='30' cy='12' r='1' fill='%23003995'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-repeat: repeat;
}
.sebaran-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.03);
    pointer-events: none;
}
.sebaran-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.025);
    pointer-events: none;
}

/* Berita & Edukasi — Subtle diagonal line grid */
.berita-section {
    position: relative;
    overflow: hidden;
}
.berita-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 40L40 0' stroke='%23003995' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    background-repeat: repeat;
}
.berita-section::before {
    content: '';
    position: absolute;
    bottom: -90px;
    right: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.03);
    pointer-events: none;
}

/* Galeri Kegiatan — Subtle cross/plus pattern */
.galeri-section {
    position: relative;
    overflow: hidden;
}
.galeri-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 20v20M20 30h20' stroke='%23003995' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-repeat: repeat;
}
.galeri-section::before {
    content: '';
    position: absolute;
    top: -70px;
    left: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.025);
    pointer-events: none;
}
.galeri-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(0, 57, 149, 0.02);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════ */
/* Mobile Responsive Styles (max-width: 639px)           */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 639px) {
    /* Hero Section */
    .hero-content-wrapper {
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
    }
    .hero-video-wrapper {
        margin-bottom: 1.75rem;
    }
    .hero-video-card {
        padding: 0.375rem;
        border-radius: 1rem;
    }
    .hero-cta {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    .scroll-indicator {
        bottom: 1rem;
    }

    /* Mengenal Rupiah Section */
    .mengenal-section {
        padding: 3.5rem 1rem;
    }
    .mengenal-grid {
        gap: 1.25rem;
    }
    .mengenal-card {
        padding: 0.5rem;
        border-radius: 0.625rem;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .mengenal-card h3 {
        font-size: 0.625rem !important;
        margin-bottom: 0.25rem !important;
    }
    .mengenal-card p {
        font-size: 0.5625rem !important;
        line-height: 1.35;
    }
    .mengenal-card-icon {
        display: none;
    }
    .mengenal-img-wrapper img {
        max-width: 100%;
    }
    .method-chip {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    .method-chip svg {
        width: 14px;
        height: 14px;
    }

    /* 3 Pilar Utama Section */
    .pilar-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Persebaran Titik Edukasi Section */
    .sebaran-section {
        padding: 3.5rem 1rem;
    }
    .sebaran-region-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }
    .sebaran-region-header {
        gap: 0.625rem;
        margin-bottom: 0.75rem;
    }
    .sebaran-region-icon {
        width: 32px;
        height: 32px;
        border-radius: 0.625rem;
    }
    .sebaran-region-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    .sebaran-region-title {
        font-size: 0.875rem;
    }
    .sebaran-stat-val {
        font-size: 1.125rem;
    }
    .sebaran-stat-lbl {
        font-size: 0.6875rem;
    }

    /* Berita & Edukasi Section */
    .berita-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Galeri Section */
    .galeri-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* Small Mobile Responsive (max-width: 374px)            */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.875rem;
    }
    .hero-desc {
        font-size: 0.875rem;
    }
    .mengenal-img-wrapper img {
        max-width: 200px;
    }
    .sebaran-region-card {
        padding: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* Lightbox Modal for Gallery Zoom                       */
/* ═══════════════════════════════════════════════════════ */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
}
.lightbox-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-content img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
}
.lightbox-cat-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.lightbox-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 639px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    .lightbox-title {
        font-size: 1rem;
    }
}
