/* === NAVBAR === */
.navbar-glucare {
    background-color: #627378;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-glucare .nav-link {
    color: #e4eeef;
    font-weight: 600;
    margin-right: 25px;
}

.navbar-glucare .nav-link.active,
.navbar-glucare .nav-link:hover {
    color: #fff;
}

/* === BODY DASAR === */
body {
    background-image: url("/images/bb.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* === BERANDA === */
.beranda-section {
    background-color: rgba(255, 255, 255, 0);
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beranda-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    gap: 40px;
}

.beranda-text {
    flex: 1;
    min-width: 300px;
}

.headline-beranda {
    font-family: "Roboto", sans-serif;
    font-size: 3.2rem;
    font-weight: bold;
    text-align: left;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.tagline-beranda {
    font-family: "Arial", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    margin-top: 70px;
}

.description-beranda {
    font-family: "Arial", sans-serif;
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    line-height: 1.6;
}

.beranda-image {
    width: 300px;
    max-width: 100%;
    height: auto;
}
/* carousel */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.88);
    padding: 40px 20px;
    border-radius: 12px;
    margin: 60px auto;
    max-width: 1000px;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.slider-arrow.prev {
    left: 15px;
}
.slider-arrow.next {
    right: 15px;
}

/* === SECTION INFO (1–4) === */
.info1-section,
.info3-section {
    background-color: #f2f2f2;
    padding: 60px 20px;
}
.info2-section,
.info4-section {
    background-color: #d6d6d6;
    padding: 60px 20px;
}
.info1-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}
.info1-image {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}
.info1-text {
    max-width: 600px;
    text-align: left;
}
.info2-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}
.info2-image {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
    order: 2;
}
.info2-text {
    max-width: 600px;
    text-align: left;
    order: 1;
}
.info3-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}
.info3-image {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}
.info3-text {
    max-width: 600px;
    text-align: left;
}
.info4-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}
.info4-image {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
    order: 2;
}
.info4-text {
    max-width: 600px;
    text-align: left;
    order: 1;
}

/* === HALAMAN PREDIKSI === */
h1.title-prediksi {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.container-prediksi {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.input-container {
    border: 1px solid #b6b09f;
    border-left: 5px solid #b6b09f;
    padding: 20px;
    border-radius: 12px;
    background-color: #e0e0e0;
}

label.form-label {
    font-size: 1.1rem;
    color: #000000;
}

.text-muted {
    font-size: 0.9rem;
}

input.form-control {
    border-radius: 8px;
    border: 1px solid #b6b09f;
    padding: 10px 15px;
    font-size: 1rem;
    background-color: #fff;
    
}
input.form-control:focus {
    border-color: #b6b09f;
    box-shadow: 0 0 0 0.2rem rgba(182, 176, 159, 0.4);
    outline: none;
}

button.btn-primary {
    background-color: #000;
    border-color: #d6d6d6;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    font-size: 1.1rem;
    color: #fff;
}
button.btn-primary:hover {
    background-color: #627378;
    border-color: #fff;
}
button.btn-primary:focus,
button.btn-primary:active {
    background-color: #000 !important;
    border-color: #d6d6d6 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* === HASIL PREDIKSI === */
#hasilPrediksi {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    padding: 20px;
    background-color: #f2f2f2;
    border-left: 5px solid #627378;
    margin-bottom: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto 40px auto;
    text-align: center;  
}

/* === RESPONSIF (Mobile) === */
@media (max-width: 768px) {
  /* BERANDA */  
  .headline-beranda {
        font-size: 2rem;
        text-align: center;
    }
    .tagline-beranda,
    .description-beranda {
        text-align: center;
    }
    .info1-content,
    .info2-content,
    .info3-content,
    .info4-content {
        flex-direction: column;
        text-align: center;
    }
    .beranda-image {
        width: 250px;
        margin-top: 20px;
    }

    /* PREDIKSI */
    .row > [class^="col-"]:not(:last-child) {
        margin-bottom: 25px;
    }
}
