:root {
    /* ==== WARNA TEMA BARU (Berdasarkan Brosur) ==== */
    --navy: #7CB342;         /* Hijau Muda Segar (Warna utama brosur) */
    --gold: #F58220;         /* Oranye Cerah (Warna tombol & aksen) */
    --blue-accent: #558B2F;  /* Hijau agak tua untuk efek hover/tekan */
}

body { font-family: 'Poppins', sans-serif; background-color: #f0f2f5; }

/* OVERRIDE BOOTSTRAP: Menyesuaikan class bawaan Bootstrap dengan tema baru */
.text-navy { color: var(--navy) !important; }

.text-primary { color: var(--navy) !important; }
.bg-primary { background-color: var(--navy) !important; }
.btn-primary { background-color: var(--navy); border-color: var(--navy); color: white; }
.btn-primary:hover { background-color: var(--blue-accent); border-color: var(--blue-accent); color: white; }

.text-warning { color: var(--gold) !important; }
.bg-warning { background-color: var(--gold) !important; color: white !important; }
.btn-warning { background-color: var(--gold); border-color: var(--gold); color: white !important;}
/* Ubah hover warning agar lebih gelap dari oranye cerah */
.btn-warning:hover { background-color: #D66A15; border-color: #D66A15; color: white !important;}
.border-warning { border-color: var(--gold) !important; }
/* ====================================================================== */

/* =======================================
   1. HEADER COLLAGE STYLE 
   ======================================= */
.hero-banner {
    position: relative;
    background: var(--navy);
    color: white;
    overflow: hidden;
    padding: 60px 0;
    border-bottom: 8px solid var(--gold);
}

.hero-collage {
    position: absolute;
    right: -50px;
    top: 0;
    width: 50%;
    height: 100%;
    background: url('assets/ppdb/gedung_sekolah.jpg') no-repeat center center;
    background-size: cover;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.8;
}

.header-content { position: relative; z-index: 2; }
.logo-img { width: 80px; margin-bottom: 20px; filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2)); }
.title-top { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--gold); }
.title-main { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.8rem; line-height: 1.1; margin: 10px 0; }

/* =======================================
   2. ANIMASI SLIDESHOW FOTO (ZOOM & FADE)
   ======================================= */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-wrapper {
    position: absolute;
    width: 85%;
}

.foto-siswa-slide {
    width: 100%;
    border: 6px solid white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    opacity: 0;
    animation: zoomFadeEffect 15s infinite ease-in-out; 
    object-fit: cover;
    aspect-ratio: 4/3; 
}

.slide-wrapper:nth-child(1) .foto-siswa-slide { animation-delay: 0s; }
.slide-wrapper:nth-child(2) .foto-siswa-slide { animation-delay: 5s; }
.slide-wrapper:nth-child(3) .foto-siswa-slide { animation-delay: 10s; }

@keyframes zoomFadeEffect {
    0% { opacity: 0; transform: scale(0.8); }
    10% { opacity: 1; transform: scale(1); }
    25% { opacity: 1; transform: scale(1.03); } 
    33% { opacity: 0; transform: scale(1.1); } 
    100% { opacity: 0; transform: scale(0.8); }
}

.foto-siswa-frame { border: 5px solid white; border-radius: 20px; transform: rotate(-3deg); box-shadow: 0 10px 20px rgba(0,0,0,0.2); max-width: 100%; }

/* =======================================
   3. MODUL MENGAMBANG (VISI & INFO)
   ======================================= */
.floating-modules {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.visi-box {
    background: white;
    border-radius: 20px; 
    border-left: 10px solid var(--gold);
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 100%;
}

.info-box-right {
    background: var(--navy);
    color: white;
    border-radius: 20px;
    border-right: 10px solid var(--gold);
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =======================================
   4. SECTION ALUR & KARTU
   ======================================= */
.section-alur {
    position: relative;
    background: url('assets/ppdb/bg_pattern.jpg') fixed center;
    padding: 80px 0;
    color: white;
}

.section-alur::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Penyesuaian nilai RGB untuk warna hijau yang baru (#7CB342) */
    background: rgba(124, 179, 66, 0.92);
}

.step-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s;
    text-align: center;
}
.step-card:hover { transform: translateY(-10px); background: var(--gold); color: white; }
.step-card i { font-size: 2.5rem; margin-bottom: 15px; }

/* =======================================
   5. FORM STYLE & LIST DATA
   ======================================= */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    height: 100%;
}

.form-label, label { font-size: 0.75rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.form-control-sm, .form-select-sm { border-radius: 8px; padding: 6px 10px; background: #f8f9fa; border: 1px solid #ddd; font-size: 0.8rem; }

.section-title { font-size: 0.85rem; font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 5px; margin-bottom: 15px; margin-top: 15px; }

.btn-daftar {
    background: var(--navy); color: white; font-weight: 800; padding: 12px;
    border-radius: 10px; width: 100%; border: none; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.9rem;
}
.btn-daftar:hover { background: var(--blue-accent); color: white; }

.list-pendaftar-item { border-bottom: 1px dashed #ddd; padding: 10px 0; }
.list-pendaftar-item:last-child { border-bottom: none; }
.nama-pendaftar { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.waktu-pendaftar { font-size: 0.65rem; color: #888; }

/* =======================================
   6. MULTI-STEP FORM (TAB)
   ======================================= */
.step-indicator { 
    display: flex; 
    margin-bottom: 25px; 
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    background-color: #f1f5f9; 
}
.step-indicator .step { 
    flex: 1; text-align: center; padding: 12px 5px; color: #64748b; 
    font-weight: 700; font-size: 0.85rem; transition: all 0.3s ease;
    border-right: 2px solid #ffffff; 
}
.step-indicator .step:last-child { border-right: none; }
.step-indicator .step.active { background-color: var(--navy); color: #ffffff; }

/* Ubah warna step completed agar sesuai dengan hijau muda yang baru */
.step-indicator .step.completed { background-color: #E8F5E9; color: var(--navy); }

.form-tab { display: none; }
.form-tab.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =======================================
   7. RESPONSIVE (TAMPILAN MOBILE)
   ======================================= */
@media (max-width: 991px) {
    .floating-modules { margin-top: -20px; }
    .info-box-right { 
        margin-top: 20px; 
        border-right: none; 
        border-left: 10px solid var(--gold); 
    }
    .title-main { font-size: 2.2rem; }
}
html {
    scroll-behavior: smooth;
}