/* Menggabungkan bagian footer */
footer, .footer-container {
    background: #198754;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 70px;
    background-color: #198754 !important; /* Hijau seperti navbar */
}

/* Menghapus duplikasi dan merapikan bagian video-cards */
.video-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.video-card {
    background-color: #198754 !important; /* Hijau */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video-card iframe {
    border-radius: 10px;
    width: 100%;
    height: 200px;
}

/* Menggabungkan hover section */
section:hover, #profil:hover, #galeri:hover, #kontak:hover, #berita:hover, #fasilitas:hover, #testimoni:hover, #tarif:hover {
    background-color: #cbeddb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
}

#profil:hover { background-color: #b2fdf9; } /* Kuning emas */
#galeri:hover { background-color: #8efbb8; } /* Biru terang */
#kontak:hover { background-color: #f8c6ed; } /* Merah muda */
#berita:hover { background-color: #ffef94; } /* Hijau pastel */
#fasilitas:hover { background-color: #dcccf8; } /* Ungu muda */
#testimoni:hover { background-color: #ffcd07; } /* Ungu muda */

/* Merapikan aturan untuk hover pada profile icon */
.profile-icon img {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.profile-icon img:hover {
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.7);
}

/* Menggabungkan aturan hover untuk navbar */
.navbar-nav .nav-link:hover {
    color: rgb(9, 79, 4);
    background-color: white;
}

/* Merapikan bagian footer-bottom */
.footer-bottom {
    background-color: #136c43;
    text-align: center;
    padding: 10px;
    color: white;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Menghapus bagian yang sudah digabungkan */
.carousel-item img {
    height: 670px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 2.8rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    width: 100%;
}

.carousel-caption h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Menghapus deklarasi untuk #profil, #galeri, #kontak, #berita, #fasilitas, #testimoni, #tarif yang duplikat */
#profil h1, #profil p,
#galeri h1, #galeri p,
#kontak h1, #kontak p,
#berita h1, #berita p,
#fasilitas h1, #fasilitas p,
#testimoni h1, #testimoni p,
#tarif h1, #tarif p {
    transition: color 0.3s ease-in-out;
}

/* Menghapus duplikasi dari class .video-card */
.video-card iframe {
    width: 100%;
    height: 170px;
    border-radius: 5px;
}

/* Perbaikan pada class star-rating */
.star-rating .stars span {
    font-size: 24px;
    color: red; /* Warna default */
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.stars span {
    cursor: pointer;
    color: gray;
    transition: color 0.3s ease;
}

.stars span:hover,
.stars span:hover ~ span {
    color: gold;
}

.stars span.selected,
.stars span.selected ~ span {
    color: gold;
}
