@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body{
    font-family: "Poppins", sans-serif;
}

/* Button*/
.btn-danger {
background-color:#bd0001;
border-radius: 10px; 
border-color: #bd0001;
padding: 10px 45px;
color: #ffffff;
}

.btn-outline-danger {
background-color: transparent;
border-radius: 10px; 
border-color: #bd0001;
padding: 10px 45px;
color: #bd0001;
}

/*Navbar*/
.nav-item .nav-link{
font-size: 18px;
margin-left: 5px;
margin-right: 5px;
}

.scroll-nav-active {
    background-color: black;
    border-bottom: 1px solid #bd0001;
}

.text-nav-active {
    color: black;
}

#hero {
    position: relative;
    background-image: url("../images/welcome.jpg");
    
    /* 1. Mengubah contain menjadi cover agar gambar selalu memenuhi lebar & tinggi container */
    background-size: cover;
    
    /* 2. Memastikan fokus gambar tetap berada di tengah */
    background-position: center center;
    background-repeat: no-repeat;
    
    width: 100%;
    
    /* 3. Menggunakan tinggi dinamis berdasarkan viewport layar (bukan aspect-ratio kaku) */
    height: 100vh; /* Mengisi 100% tinggi layar monitor */
    min-height: 500px; /* Batas aman min tinggi agar ilustrasi tidak gepeng di layar kecil */
    
    /* 4. Jika navbarmu menggunakan posisi absolut/fixed, berikan margin/padding top jika diperlukan */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Memastikan elemen spacer di dalamnya ikut mengisi tinggi penuh */
.hero-spacer {
    height: 100%;
    width: 100%;
}

/* Mengoptimalkan tampilan di layar HP / Mobile */
@media (max-width: 768px) {
    #hero {
        height: 60vh; /* Di HP, tingginya dikurangi sedikit agar proporsional dan tidak terlalu memanjang ke bawah */
        min-height: 350px;
    }
}

/* Join*/
.custom-43-fit {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.stripe {
    width: 40px;
    height: 2px;
    background-color: red; /* Sesuaikan dengan warna tema sekolahmu */
}

/* Video*/
.video-container {
    background-image: url("../images/il-bg-video.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*Foto*/
/* Paralex Background */
.section-foto{
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 100px 0; 
    width: 100%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax {
    background-image: url("../images/il-bg-video.png");
}

.stripe-putih {
    height: 5px;
    width: 40px;
    background-color: #ffffff;
}