@import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&family=Poppins:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Changa:wght@200..800&family=Poppins:wght@400;500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFF8E1;
    width: 100%;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

li, a {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #f7f7f7;
    text-decoration: none;
}

button {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #0f0f0f;
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    background-color: #222222;
}

.logo {
    cursor: pointer;
    width: 100px;
    height: auto;
}

.nav__links {
    list-style: none;
}

.nav__links li {
    display: inline-block;
    padding: 0px 20px;
}

/* --- Perubahan Animasi Hover di sini --- */
.nav__links li a {
    position: relative; /* Diperlukan untuk posisi pseudo-element */
    transition: color 0.3s ease 0s;
}

.nav__links li a:hover {
    color: #FBBE17; /* Warna teks berubah saat di-hover */
}

/* Membuat garis bawah */
.nav__links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #FBBE17; /* Warna garis bawah */
    bottom: -5px; /* Jarak garis dari teks */
    left: 0;
    transform: scaleX(0); /* Sembunyikan garis secara default */
    transform-origin: center; /* Animasi dimulai dari tengah */
    transition: transform 0.3s ease 0s;
}

/* Menampilkan garis bawah saat di-hover */
.nav__links li a:hover::after {
    transform: scaleX(1); /* Tampilkan garis saat di-hover */
}
/* --- Akhir dari Perubahan Animasi --- */

/* --- CSS untuk Menu Mobile --- */

/* Tombol Hamburger */
.hamburger-container {
    display: none; /* Sembunyikan di desktop */
    z-index: 110;
}

#hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-icon {
    position: relative;
    width: 24px;
    height: 18px;
}
.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) { top: 8px; }
.hamburger-icon span:nth-child(4) { top: 16px; }

/* Animasi Tombol Hamburger Saat Aktif */
.hamburger-icon.open span:nth-child(1), .hamburger-icon.open span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}
.hamburger-icon.open span:nth-child(2) { transform: rotate(45deg); }
.hamburger-icon.open span:nth-child(3) { transform: rotate(-45deg); }


/* Kontainer Menu Mobile */
/* Kontainer Menu Mobile */
/* Kontainer Menu Mobile */
#mobile-menu {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 100;
    
    /* Memberi jarak dari atas */
    padding-top: 7rem; 

    /* Menyembunyikan menu ke kanan */
    transform: translateX(100%);
    opacity: 0;
    
    /* Transisi untuk animasi */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.is-active {
    /* Menampilkan menu dengan menggesernya kembali ke posisi awal */
    transform: translateX(0);
    opacity: 1;
}

/* Tombol Close di Dalam Menu */
#close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 2.25rem;
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

#close-menu-btn:hover {
    color: #cccccc;
}

/* Daftar Link di Menu Mobile */
#mobile-menu ul {
    list-style: none;
    padding: 0 2rem;
    width: 100%;
}

#mobile-menu ul li {
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #FBBE17;
}

/* --- Penyesuaian Responsive --- */
@media (max-width: 768px) {
    .nav__links {
        display: none; /* Sembunyikan menu desktop */
    }
    .hamburger-container {
        display: block; /* Tampilkan tombol hamburger */
    }
}

.input{
    background-image: url(../aset/Group\ 204.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 995px;
    margin: auto;

    display: flex;
    flex-direction: column;

    align-items: center;
}

.plang{
    flex-direction: column;
    width: 100%;
    max-width: 812px;
    height: auto;

    /* margin: auto; */
    justify-content: center;
    align-self: center;
    margin-bottom: 30px;
}

.tiang{
    display: flex;
    justify-content: space-around;
    align-items: center;

    gap: 50%;
}

.tali{
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #FBBE17;
    height: 100px;
    width: 20px;
}

.text-header span{
    color: yellow;
}

.text-header {
    background-color: #E53935;
    width: 90%;
    max-width: 812px;
    height: 222px;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;


    margin: auto;
    margin-bottom: 20px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.text-header h1{
    font-family: "Black Han Sans", sans-serif;
    color: white;
    font-size: 50px;
    text-align: center;

    width: 90%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.form-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin : auto;
    /* margin-top: 50px; */

    width: 415px;
    height: 254px;
    
    background-color: #222222;
    text-align: center;
    color: white;
    border-radius: 20px;
}

.form-container label{
    display: block;
    color: white;
    font-weight: bold;
    margin-bottom: 40px;

    font-size: 15px;
}

.form-container input[type= "number"]{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    outline: none;
    margin-bottom: 40px;
}

.form-container button{
    background-color: #FBBE17;
    color: black;

    width: 110px;
    height: 38px;
    border-radius: 30px;
}


.balok{
    background-color: #FBBE17;
    margin-top: -10px;
    height: 116px;
}

.schedule-container .label{
    background-color: #E53935;
    text-align: center;
    color: white;
    font-family: "Black Han Sans", sans-serif;
    height: 91px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.schedule-container .label h1{
    font-size: 40px;
    font-weight: bold;
}

.schedule-container{
    display: flex;
    flex-direction: column;

    justify-content: center;
    margin-bottom: 20px;
}

.schedule-container table{
    margin: auto;

    width: 50%;
    height: 259px;
    border-color: #E53935;
    border: 5;
    table-layout: fixed;
    
    margin-top: 50px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.schedule-container thead tr{
    background-color: #FBBE17;
    border-color: #FBBE17;

    font-weight: bold;
    font-size: 18px;
   
}

.schedule-container tbody{
    border-color: #FBBE17;
    /* border: 5px; */
    /* width: 100%; */
    text-align: center;
}

.schedule-container tbody tr{
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact{
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact .container{
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.contact h3{
    font-size: 18px;
    text-align: center;

    width: 60%;
    margin: 0 auto;
    padding: 20px;
    /* white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word; */
}

.contact img{
    width: 100%;
    height: 500px;
}

.container .contact-container{
    display: flex;
    justify-content: center;
    align-items: center;
    
    height: 20vw;
    max-height: 227px;

    width: 664px;
    /* background-color: green; */

    position: relative;
    margin-bottom: -250px;
    margin-top: 50px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-container .header{
    background-color: #E53935;
    height: 100%;
    color: white;
    width: 40%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.contact-container .header h1{
    font-size: clamp(20px, 1.5vw, 30px);
    font-weight: bold;
}

.contact-container .body{
    background-color: white;
    height: 100%;
    width: 100%;

    display: flex; 
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: flex-start;
}

.contact-container .body h1{
    margin-left: 40px;
    font-size: clamp(17px, 1.6vw, 30px);
    max-width: 90%;
    font-weight: bold;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-container .body p{
    font-size: clamp(14px, 1.2vw, 20px);
    margin-left: 40px;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

footer {
    position: relative;
    width: 100%;
    height: auto;
    padding: 5rem 7% 1.4rem;  
    background-color: #222222;
}

footer .container {
    width: 100%;
    display: flex;
}

footer .container .logo-big img {
    width: 40%;
    margin-top: 1.5rem;
    margin-left: 10rem;
}

footer .container .info {
    margin: auto;
}

footer .container .info h1 {
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #f7f7f7;
}

footer .container .info p {
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: #f7f7f7;
}

footer h2 {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    margin-top: 5rem;
    color: rgba(253, 253, 253, 0.7);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    
    /* Menyembunyikan navigasi desktop di mobile */
    .nav__links {
        display: none; 
    }

    /* Menampilkan tombol hamburger di mobile */
    .hamburger-container {
        display: block; 
    }
    
    /* Pastikan header tetap horizontal */
    header {
        padding: 10px 5%;
        justify-content: center; /* Membuat item di dalamnya (logo) menjadi di tengah */
        position: relative;      /* Diperlukan agar hamburger bisa diposisikan absolut */
    }

    .hamburger-container {
        display: block;
        position: absolute;  /* Mengatur posisi hamburger tanpa mengganggu logo */
        right: 5%;           /* Menempatkan hamburger di kanan, sesuai padding header */
    }

    /* Sisa styling responsive lainnya... */
    .plang{
       width: 80%;
       /* padding: 20px; */
    }

    .input{
        width: 100%;
        height: auto;
        margin: auto;

        display: flex;
        flex-direction: column;

        /* align-items: center; */
    }

    .tiang{
        gap: 50%;
    }

    .tali{
        height: 70px;
    }

    .text-header {
        
        width: 100%;
        max-width: 600px;
        height: auto;
       
        padding: 20px;
    }

    .text-header h1 {
        font-size: 20px;

        padding: 20px;
        align-content: center;
    }

    .form-container {
        width: 80%; /* Dibuat lebih lebar agar lebih mudah diakses */
        height: auto;
        padding: 30px 20px;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .form-container label{
        font-size: 15px;
    }

    .form-container input[type= "number"]{
        width: 100%;
    }

    .form-container button{
        width: 70%;
        font-size: 14px;
    }

    .schedule-container .balok{
        width: 100%;
        color: #FBBE17;
    }

    .schedule-container .label{
        height: auto;
        padding: 20px;
    }

    .schedule-container table {
        width: 80%;
        font-size: 15px;
    }

    .schedule-container thead tr{
        font-size: 15px;
    }

    .schedule-container .label h1{
        font-size: 20px;
    }

    .contact{
        width: 100%;
    }

    .contact .container {
        width: 100%;
        margin-top: 50px;
    }

    .contact h3{
        font-size: 15px;
        padding: 20px;
        width: 90%; /* Dibuat lebih lebar */
        margin: 0 auto 50px auto;
    }

    .contact .container img{
        width: 100%;
        height: auto; /* Tinggi otomatis */
    }

    .container .contact-container {
        height: auto; /* Tinggi otomatis */
        flex-direction: column;
        width: 90%;
        margin-bottom: -50px; /* Disesuaikan agar pas */
        position: relative;
        z-index: 2;
    }

    .contact-container .header {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .contact-container .header h1{
        font-size: 20px;
        font-weight: bold;
    }

    .contact-container .body {
        padding: 25px;
        gap: 15px;
        height: auto;
        width: 100%;
        align-items: center; /* Teks ke tengah */
        text-align: center;
    }

    .contact-container .body h1{
        font-size: 18px;
        margin-left: 0; /* Hapus margin */
    }

    .contact-container .body div {
        width: 100%;
    }

    .contact-container .body p{
       font-size: 16px;
       width: auto;
       margin-left: 0; /* Hapus margin */
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    footer .container .logo-big img {
        width: 150px;
        margin: 1rem 0 0 0;
    }

    footer .container .info h1 {
        font-size: 16px;
    }

    footer .container .info p {
        font-size: 14px;
    }

    footer h2 {
        font-size: 12px;
        margin-top: 3rem;
        padding: 0 20px;
    }
}
