/* ==========================================================================
   CSS KHUSUS HALAMAN PENDAFTARAN & RUTE TIMELINE
   ========================================================================== */

/* Banner Hero Mini */
.pendaftaran-hero {
   background: linear-gradient(to bottom, rgba(13, 92, 58, 0.541), rgba(8, 59, 37, 0.849)), 
                url('../../berkas/logo-2.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 4.5rem 1rem;
}

.pendaftaran-hero h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.pendaftaran-hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Container Section */
.registration-section {
    padding: 3.5rem 0 1rem;
}

/* Judul Section Uniform */
.section-title-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title-box h2 {
    color: #0D5C3A;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title-box p {
    color: #64748B;
    font-size: 0.95rem;
}

/* ==========================================================================
   DESAIN ANIMASI RUTE / PETA TIMELINE PENDAFTARAN
   ========================================================================== */
.route-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

/* Garis Peta / Route Track */
.route-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(to bottom, #0D5C3A, #D95D39, #0D5C3A);
    border-radius: 2px;
}

.route-step {
    position: relative;
    margin-bottom: 2rem;
}

.route-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0D5C3A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px #ffffff, 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}

.route-step:hover .route-marker {
    transform: scale(1.15);
    background: #D95D39;
}

.route-content {
    background: #ffffff;
    border: 1px solid rgba(13, 92, 58, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s ease;
}

.route-step:hover .route-content {
    transform: translateX(6px);
    border-color: #0D5C3A;
}

.step-badge {
    display: inline-block;
    background: rgba(13, 92, 58, 0.1);
    color: #0D5C3A;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.route-content h3 {
    color: #0D5C3A;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.route-content p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* Jam Belajar Box Inside Step 3 */
.jam-belajar-box {
    margin-top: 1rem;
    background: #F8FAFC;
    border: 1px dashed #0D5C3A;
    border-radius: 10px;
    padding: 1rem;
}

.jam-belajar-box h4 {
    color: #0D5C3A;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem;
}

.schedule-item {
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #334155;
    border: 1px solid #E2E8F0;
}

.schedule-item i {
    color: #D95D39;
    margin-right: 4px;
}

.berkas-list {
    list-style: none;
    padding: 0;
    margin-top: 0.6rem;
}

.berkas-list li {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.berkas-list li i {
    color: #25D366;
    margin-right: 6px;
}

/* ==========================================================================
   DESAIN CALENDAR KBM TAHUNAN
   ========================================================================== */
.kbm-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.kbm-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(13, 92, 58, 0.12);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.kbm-header {
    background: #0D5C3A;
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kbm-card.genap .kbm-header {
    background: #083B25;
}

.kbm-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
}

.kbm-list {
    list-style: none;
    padding: 1.25rem;
    margin: 0;
}

.kbm-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 0.88rem;
}

.kbm-list li:last-child {
    border-bottom: none;
}

.kbm-list li span {
    background: rgba(217, 93, 57, 0.12);
    color: #D95D39;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

.kbm-list li div {
    color: #334155;
    font-weight: 500;
}

/* ==========================================================================
   DESAIN GOOGLE MAPS EMBED SECTION
   ========================================================================== */
.maps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(13, 92, 58, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.maps-info h3 {
    color: #0D5C3A;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.maps-info p {
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0D5C3A;
    color: #ffffff !important;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s;
}

.maps-btn:hover {
    background: #D95D39;
}

.maps-iframe-container {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.maps-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* ==========================================================================
   ANIMASI SCROLL REVEAL (HALAMAN PENDAFTARAN)
   ========================================================================== */

/* Targetkan semua elemen section, kartu timeline, kbm, dan maps */
.section-title-box,
.route-step,
.kbm-card,
.maps-wrapper {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Class aktif yang ditambahkan oleh JS saat elemen masuk viewport */
.section-title-box.active-step,
.route-step.active-step,
.kbm-card.active-step,
.maps-wrapper.active-step {
    opacity: 1;
    transform: translateY(0);
}

.route-step.active-step .route-marker {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
/* Styling Logo di Navbar Header */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px; /* Jarak antara gambar logo dan teks */
}
.nav-logo {
    height: 45px; /* Tinggi logo di navbar */
    width: auto;
}
.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0D5C3A;
    font-family: 'Cinzel', serif;
}
.logo span i {
    color: #D95D39;
    font-style: normal;
}
/* ==========================================================================
   RESPONSIVE LAYOUT UNTUK TAMPILAN MOBILE (HP)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hero Penyesuaian Mobile */
    .pendaftaran-hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .pendaftaran-hero p {
        font-size: 0.88rem !important;
    }

    /* Penyesuaian Ukuran Judul Section */
    .section-title-box h2 {
        font-size: 1.4rem !important;
        line-height: 1.35 !important;
    }

    .section-title-box p {
        font-size: 0.82rem !important;
    }

    /* Timeline Rute Mobile */
    .route-timeline {
        padding-left: 1.8rem;
    }

    .route-timeline::before {
        left: 12px;
    }

    .route-marker {
        left: -1.8rem;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .route-content {
        padding: 1rem;
    }

    .route-content h3 {
        font-size: 1.02rem !important;
    }

    .route-content p {
        font-size: 0.82rem !important;
    }

    /* Schedule Mobile */
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    /* Maps Layout Mobile */
    .maps-wrapper {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .maps-iframe-container {
        height: 220px;
    }
     .nav-logo {
        height: 35px;
    }

    .logo span {
        font-size: 1.1rem;
    }
}