/* General Styles */
:root {
    /* Color Variables */
    --primary-color: #023d10; /* Hijau modern sebagai warna utama */
    --secondary-color: #1c1c1e; /* Hitam keabu-abuan untuk kesan elegan */
    --accent-color: #e8f5e9; /* Hijau lembut untuk aksen */
    --hover-color: #20c997; /* Warna hijau cerah untuk efek hover */
    --text-color: #212529; /* Abu gelap untuk teks agar nyaman dibaca */
    --footer-background: #1c1c1e; /* Latar belakang footer dengan warna netral */
    --border-color: #d4d4d4; /* Warna abu-abu lembut untuk garis pemisah */
    --background-color: #f4fdf6; /* Latar belakang lembut untuk halaman */
    /* Size Variables */
    --font-size-base: 1rem;
    --font-size-large: 1.8rem;
    --font-size-xlarge: 2rem;
    --font-size-small: 0.9rem;
    --spacing-base: 20px;
    --spacing-large: 40px;
    --carousel-height: 500px;
    --image-size: 80px;
    --image-hover-size: 120px;
}


body {
    font-family: 'Roboto', Arial, sans-serif; /* Menggunakan Roboto sebagai font utama */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--accent-color);
}


/* Navbar & Header Styles */
/* Unified Navbar Styles */
nav {
    background-color: var(--primary-color, #800000); /* Default color from Style 2, with fallback */
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 80px; /* Adjust height for a consistent look */
    line-height: 80px; /* Vertically center the text */
    padding: 10px 0; /* Ensure consistent padding */
}

/* Container for Navbar Items */
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0 20px; */
}

/* Navbar Brand */
.navbar-brand,
.nav-link {
    color: #f1c40f; /* Soft gold color */
    font-weight: bold;
}

.nav-link.active {
    color: var(--hover-color); /* Change to your desired active color */
    background-color: #f1c40f; /* Soft gold color */
    font-weight: bold;
}

/* Navbar Menu */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px; /* Set consistent gap */
    justify-content: center;
    align-items: center;
}

/* Navbar Items */
nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white; /* Default color for text */
    font-weight: bold;
    padding: 8px 15px; /* Consistent padding */
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    line-height: 1.5;
}

/* Hover Effect */
nav ul li a:hover {
    background-color: #f1c40f; /* Hover color */
    color: white !important;
    padding: 5px 12px; /* Slightly adjusted padding for hover */
}

.navbar {
    --bs-navbar-padding-y: 1.5rem;
}

/* Adjust color when the page is scrolled */
.navbar-scrolled {
    background-color: #4a0000; /* Darker shade when scrolling */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Navbar Header for Sticky Header Effect */
.navbar-header {
    background-color: var(--primary-color, #800000); /* Use the same primary color */
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar Title in Header */
.navbar-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Align the Navbar Header Content */
.navbar-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Custom styles for mobile navbar */
@media (max-width: 768px) {
    nav .container {
        margin: 0;
        padding: 0;  /* Add some padding to avoid content touching edges */
    }

    .navbar {
        --bs-navbar-padding-y: 0;
    }

    .navbar-collapse {
        margin: 0;
        background-color: var(--primary-color);
        width: 100vw;
        transform: translate(0, -10px);
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;  /* Adjust font size for better mobile experience */
    }

    nav ul {
        gap: 10px; /* Adjust gap for a more compact layout on mobile */
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 90%;
    margin: 20px auto;
    max-height: 500px;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Carousel Inner Styles */
.carousel-inner {
    display: flex;
    width: 100%;  /* Pastikan lebar 100% */
    transition: transform 1s ease-in-out;
}



/* Menyesuaikan gambar agar konsisten */
.carousel img {
    width: 100%;
    height: 100%;  /* Pastikan gambar mengisi 100% dari item */
    object-fit: cover; /* Agar gambar tetap ter-crop dengan baik */
    border-radius: 10px 10px 0 0;
}

/* Menyesuaikan gambar pertama dengan tinggi lebih panjang */
.carousel-item:first-child img {
    height: 500px;
    object-fit: cover;
}

/* Frame for description and image */
.carousel-item-frame {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    width: 100%;
    border-radius: 0 0 10px 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-description {
    font-size: 1rem;
    color: var(--secondary-color);
    padding: 10px;
    margin-top: 200px;
    font-weight: 500;
    text-align: center;
}

/* Next & Prev Button Styles */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    border-radius: 50%;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


.carousel-inner img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(70%); /* Menambah efek gelap agar teks lebih terbaca */
}
.carousel-caption{
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    font-size: 10px;
}


.carousel-caption h5 {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 2.5rem;
    color: #fff;
    font-family: 'Georgia', serif; /* Font elegan */
}

.carousel-caption .fs-6 {
    padding: 0;
}

.carousel-caption p {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 15px;
    color: #fff;
    font-size: 1.3rem;
    text-align: center; /* Untuk membuat teks rata tengah secara horizontal */
    display: flex; /* Menggunakan Flexbox untuk pengaturan posisi */
    justify-content: center; /* Menyelaraskan teks secara horizontal */
    align-items: center; /* Menyelaraskan teks secara vertikal */
}

/* Section Styles */
.service-description {
    background-color: #f9fafb; /* Warna latar lebih soft */
    border-radius: 15px; /* Sudut lebih halus */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Bayangan lebih lembut */
    margin: 30px auto; /* Margin lebih luas */
    padding: 2.5rem; /* Padding diperbesar */
    width: 90%;
    max-width: 1200px;
    border: 1px solid #e0e0e0; /* Tambahkan border halus */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efek hover */
}

.service-description:hover {
    transform: scale(1.02); /* Efek zoom ringan saat hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar saat hover */
}

.service-description h2 {
    font-size: 2.2rem; /* Ukuran font lebih besar */
    color: var(--primary-color);
    margin-bottom: 1.5rem; /* Jarak lebih luas */
    text-align: center;
    font-weight: bold; /* Huruf lebih tebal */
    text-transform: uppercase; /* Ubah huruf menjadi kapital semua */
    letter-spacing: 1.5px; /* Jarak antar huruf */
}

.service-description p {
    font-size: 1.1rem; /* Ukuran font sedikit diperbesar */
    line-height: 2; /* Spasi antar baris lebih luas */
    text-align: justify;
    margin-bottom: 1.5rem;
    color: #4a4a4a; /* Warna teks lebih soft */
}

.service-description ul {
    list-style-type: disc;
    padding-left: 25px; /* Jarak indentasi lebih besar */
    margin-bottom: 1.5rem; /* Tambahkan jarak bawah */
}

.service-description ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #333333; /* Warna teks lebih tegas */
}

.service-description ul li::marker {
    color: var(--primary-color); /* Warna bullet sesuai tema */
}

.service-description a {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-description a:hover {
    background-color: var(--primary-color-dark); /* Warna saat hover */
    transform: translateY(-2px); /* Efek naik saat hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar saat hover */
}

/* Moving Images Styles */
.moving-images-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    width: 100%; /* Sesuaikan dengan lebar container */
    height: 90vh; /* Tinggi container vertikal */
    margin: auto; /* Memposisikan di tengah */
}

.moving-images {
    display: flex;
    flex-direction: column; /* Mengatur orientasi ke vertikal */
    animation: moveImagesVertical 45s linear infinite; /* Animasi vertikal */
    will-change: transform;
    gap: 20px;
    backface-visibility: hidden;
    perspective: 1000px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-container img {
    height: 80px;
    width: 80px;
    opacity: 0.5;
    object-fit: cover;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: transform 0.5s ease, height 0.5s ease, width 0.5s ease;
}

.image-description {
    font-size: 0.6rem;
    color: #555;
    text-align: center;
    font-weight: 400;
    max-width: 100px;
}

.image-container.active img {
    border: 5px solid var(--primary-color);
    opacity: 1; 
    height: 120px;
    width: 120px;
}

.image-container.active .image-description {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

/* Animasi bergerak gambar secara vertikal */
@keyframes moveImagesVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}



/* Moving Images Styles */
/* .moving-images-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    width: 90%;
    height: 200px;
    margin-top: 20px;
}

.moving-images {
    backface-visibility: hidden;
    perspective: 1000px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-container img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: transform 0.5s ease, height 0.5s ease, width 0.5s ease;
}

.image-description {
    font-size: 0.6rem;
    color: #555;
    text-align: center;
    font-weight: 400;
}

.moving-images {
    display: flex;
    animation: moveImages 90s linear infinite;
    will-change: transform;
    gap: 20px;
}

@keyframes moveImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.image-container.active img {
    border: 5px solid var(--primary-color);
    height: 120px;
    width: 120px;
}

.image-container.active .image-description {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
} */

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center; /* Memusatkan konten secara horizontal */
    align-items: center; /* Memusatkan konten secara vertikal */
    text-align: center;
    padding: 20px 0; /* Padding yang fleksibel */
    width: 100%; /* Memastikan footer mengisi seluruh lebar */
    margin-top: 2rem;
}

footer p {
    font-size: 0.9rem;
    margin: 0; /* Menghilangkan margin otomatis untuk memastikan centering */
}

.head-title{
    font-size: 2.5rem; font-weight: bold; color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
    }
    
    .head-title{
    font-size: 1.3rem; font-weight: bold; color: #2c3e50;
}

    .form-container h2 {
        font-size: 1.8rem;
    }

    .carousel-item img {
        height: 50vh;
    }
    

    .navbar-header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        padding: 8px 12px;
    }

    .container {
        padding: 1rem;
    }
    .d-block{
        display: block !important;
    }
    .carousel-caption{    
        font-size: 10px;
        bottom:0;
    }
}

/* Service Description */
.container {
    /* width: 90%; */
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 2rem 0; */
}

.bg-light {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 20px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

.img {
    display: block;
    margin: 1.5rem auto;
    max-width: 80%; /* Membatasi lebar maksimum gambar menjadi 80% dari lebar container */
    max-height: 300px; /* Membatasi tinggi maksimum gambar hingga 300px */
    height: auto; /* Menjaga proporsi gambar agar tidak terdistorsi */
    border-radius: 10px; /* Membuat sudut gambar melengkung */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Memberikan efek bayangan */
    object-fit: contain; /* Memastikan gambar tetap proporsional tanpa terpotong */
}


/* Booking Form Section */
.form-container {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 3rem;
}

.form-container h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-container input,
.form-container textarea,
.form-container button {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container button:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-container button {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #0056b3;
}

/* Animation */
@keyframes moveImage {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Tentang Kami */
#about img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#about h3 {
    color: #8b0000; /* Merah gelap */
    font-family: 'Georgia', serif;
    font-size: 2.5rem; /* Ukuran lebih besar untuk kesan mewah */
}

/* Layanan */
#services img {
    width: 180px;
    height: 180px;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

#services img:hover {
    transform: scale(1.1); /* Sedikit perbesaran untuk efek elegan */
}

#services h4 {
    color: #023d10;
    font-weight: bold;
    font-size: 1.5rem; /* Ukuran font lebih besar untuk memberikan kesan lebih berkelas */
    font-family: 'Georgia', serif;
}

/* Kontak Kami */
#contact {
    background-color: #b30000; /* Merah gelap elegan */
    color: #fff; /* Warna teks default putih */
    padding: 60px 20px;
}

#contact h2 {
    color: #fff; /* Warna teks heading menjadi putih */
}

#contact a {
    color: #f1c40f;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
    color: #d4af37;
}

/* Animasi */
.aos-init {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Media Sosial */
.bi {
    transition: color 0.3s ease;
}

.bi:hover {
    color: #f1c40f;
}

/* Button */
.btn-warning {
    background-color: #f1c40f;
    color: #8b0000;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #d4af37;
    color: #fff;
}

@media (max-width: 768px) {
    #carouselExampleIndicators .carousel-inner img {
        height: 300px !important;
    }
}

.comment {
        font-size: 14px;
}
.text-blue {
    color: #09d7fc;
}

  #chatWidget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Roboto', sans-serif;
  }

  #chatButton img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
  }

  #chatBox {
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    animation: slideUp 0.3s ease;
  }

  .chat-header {
    background: #198754;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .chat-body {
    padding: 15px;
    min-height: 60px;
    font-size: 14px;
  }

  .chat-footer {
    display: flex;
    border-top: 1px solid #ddd;
  }

  .chat-footer input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
  }

  .chat-footer button {
    background: #198754;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
  }

  .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }

  @keyframes slideUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }

/* #upca4ekv0nc1740510143758 {
    display:none;
} */