body {
    background-color: #1256b4;
    margin: 0;
    font-family: Arial, sans-serif;
    /* overflow-x: hidden; */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(212, 211, 211, 0.8);
    position: fixed; /* Agar navbar tetap di posisi saat scroll */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Agar navbar berada di atas elemen lain */
}

.logo-container {
    display: flex;
}

.logo-container img {
    height: 70px;
    width: auto;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu li {
    display: inline;
}

.menu a {
    text-decoration: none;
    color: #1256b4;
    font-weight: bold;
}

.menu a:hover {
    text-decoration: underline;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Atur tinggi sesuai kebutuhan */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar mengisi area hero section dengan benar */
    position: absolute;
    top: 0;
    left: 0;
}

.acara-section {
    position: relative;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.acara-content {
    max-width: 800px; /* Menentukan lebar maksimal konten */
    width: 100%;
}

h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
    font-weight: 800;
}

span {
    font-weight: 800;
    color: #ffce4e;
}

.acara-section hr {
    width: 50%;
    border: 1px solid #ddd;
    margin: 10px auto 50px auto;
}

.acara-section p {
    font-size: 1.5em;
    margin-bottom: 50px;
    color: white;
}

.acara-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.icons {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none; /* Agar ikon tidak mengganggu interaksi dengan konten lainnya */
}

.icon {
    position: absolute;
    width: 200px; /* Atur ukuran ikon sesuai kebutuhan */
    height: 200px; /* Atur ukuran ikon sesuai kebutuhan */
}

.icon-top-left {
    top: 10px;
    left: 10px;
}

.icon-top-right {
    top: 10px;
    right: 10px;
}

.icon-bottom-left {
    bottom: 0;
    left: 10px;
}

.icon-bottom-right {
    bottom: 0;
    right: 10px;
}

.sponsor-section {
    padding: 40px 20px;
    text-align: center;
    background-color: white; 
    color: white;
}

.sponsor-section h1 {
    font-size: 2.5em;
    position: relative;
    display: inline-block;
    color: #1256b4;
    margin-bottom: 20px;
}

.sponsor-section h1::before, 
.sponsor-section h1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 2px;
    background-color: #1256b4;
    transform: translateY(-50%);
}

.sponsor-section h1::before {
    left: 550px;
    width: 70%
}

.sponsor-section h1::after {
    right: 550px;
    width: 70%;
}

.sponsor-section h1 span {
    color: #ffce4e; /* Warna kuning untuk teks 'JAFEST VOL3' */
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #1256b4;
    border: none; 
    border-radius: 50%;
    width: 40px; /* Atur lebar tombol */
    height: 40px; /* Atur tinggi tombol */
    padding: 0; /* Menghilangkan padding default */
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%; /* Atur posisi vertikal tombol */
    transform: translateY(-50%); /* Menyesuaikan tombol sehingga berada di tengah vertikal */
}

.carousel-control-prev {
    left: 2px; /* Jarak tombol Prev dari kiri */
}

.carousel-control-next {
    right: 2px; /* Jarak tombol Next dari kanan */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%; /* Mengatur ukuran ikon sesuai dengan tombol */
    background-position: center; /* Menempatkan ikon di tengah */
    width: 20px; /* Atur lebar ikon */
    height: 20px; /* Atur tinggi ikon */
}



.sponsor-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 20px;
}

.sponsor-logos-wrapper {
    width: 800px; /* Sesuaikan lebar area tampilan logo */
    overflow: hidden; /* Agar hanya logo yang berada di dalam wrapper terlihat */
}

.sponsor-logos {
    display: flex;
    overflow: hidden;
}

.sponsor-logo {
    height: 200px;
    width: auto;
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.1);
}

.undangan-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Agar konten berada di kiri */
    padding-top: 0;
    padding-bottom: 0;
}

.background-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 2;
    background: hidden;
    padding: 20px 30px;
    border-radius: 10px;
    width: 80%;
    margin-left: 50px; /* Menjaga konten agak ke kiri */
    text-align: left; /* Pastikan konten rata kiri */
}

.content-overlay h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.content-overlay .highlight {
    color: #ffce4e; /* Warna highlight */
}

.undangan-description {
    font-size: 1.5rem;
    font-weight: 299;
    line-height: 1.5;
    text-align: justify;
    margin-top: 70px;
}

.btn-warning {
    background-color: #ffce4e;
    color: black;
    margin-top: 50px;
}

.btn-warning:hover {
    background-color: #ffda73;
    color: black;
}

/* Styling untuk mengurangi jarak antar section */
section {
    margin-bottom: 0;
}

.undangan-section + .another-section {
    margin-top: 0;
}

.contact-section {
    background-color: #0b57a4;
    padding: 50px 0;
    text-align: center;
    color: white;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.section-title .highlight {
    color: #f1c40f;
}

.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background-color: white;
    margin: 10px auto 0;
}

.contact-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Membungkus elemen jika tidak muat dalam satu baris */
}

.contact-item {
    text-align: center;
    color: white;
    flex: 1 1 200px; /* Mengatur ukuran item dan memungkinkan mereka untuk menyesuaikan ukuran */
    max-width: 300px; /* Maksimal lebar item */
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: white;
    margin: 0; /* Menghilangkan margin default */
    line-height: 1.5; /* Jarak antar baris untuk keterbacaan */
}

footer{
    background-color: #96c9f3;
    padding: 10px 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

footer p{
    font-size: 14px;
    margin: 0;
    color: black;
}

.rute-section {
    background-color: #0056B3; /* Warna biru sesuai background gambar */
    padding: 50px 0;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: white; /* Warna teks "Jalan Sehat" sesuai dengan gambar */
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rute-image {
    max-width: 50%;
    height: auto;
    border: 3px solid white; /* Border putih di sekitar gambar */
}

.rundown-section {
    background-color: white; /* Sama seperti background biru sebelumnya */
    padding: 50px 0;
}

.rundown-image {
    max-width: 50%;
    height: auto;
    border: 3px solid white; /* Menambahkan border putih di sekitar gambar */
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: orange; /* Sesuaikan dengan teks rundown */
    text-transform: uppercase;
    margin-bottom: 20px;
}

