/* Reset and Body Styles */
html,
body {
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: url("/images/contest/mizora/bodyimage.webp") no-repeat center
        top;
    background-size: cover;
    background-attachment: scroll;
    overflow-x: hidden;
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
    background: url("/images/contest/mizora/bb.webp") no-repeat center top;
    background-size: cover;
    background-attachment: scroll;
    overflow-x: hidden;
}

#sakuratop {
    content: "";
    background: url("/images/contest/mizora/sakuraatas.webp") no-repeat right
        top;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    z-index: 1;
}

/* Diamond Footer Section */
#diamond-footer {
    background: url("/images/contest/mizora/bglast.webp") no-repeat top/cover;
    background-size: cover;
    padding: 20px;
    margin-top: 58px;
    position: relative;
    overflow: hidden;
}

#diamond-footer::after {
    content: "";
    background: url("/images/contest/mizora/sakurabawah.webp") no-repeat left
        bottom;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
}

/* Typography */
@font-face {
    font-family: "GothamRegular";
    src: url("/fonts/GothamRegular.ttf") format("truetype");
}

.gotham-regular {
    font-family: "GothamRegular", sans-serif;
}

.cinzel-regular {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Choices.js Customization */
.choices__inner,
.choices__list--dropdown .choices__item--selectable {
    background-color: #494949 !important;
    border: none !important;
    color: white;
}

.choices__list--dropdown .choices__item--selectable:hover {
    background-color: black !important;
}

.choices__input {
    color: #ffffff !important;
    background-color: #494949 !important;
}

.choices__input::placeholder {
    color: black !important;
}

/* Category Buttons */
.category-container {
    display: flex;
    align-items: center;
}

.category-btn {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.category-btn.active {
    background-color: #494949;
}

.separator {
    margin: 0 10px;
    color: white;
}

/* Event Info Section */
#event-info {
    text-align: center;
    padding: 25px;
}

.date-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    color: white;
}

.line {
    height: 50px;
    width: 1px;
    background-color: white;
    margin: 0 20px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-responsive {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    #hero::after {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    #hero::after {
        width: 500px;
        height: 500px;
        top: 0;
        right: 0;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.hover-bg {
    transition: background-color 0.3s ease;
}

.hover-bg:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.02);
}

/* Drawer Navigation */
#drawer-navigation {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* Utility Styles */
.choices__inner,
.choices__input,
.choices__list--dropdown .choices__item--selectable {
    background-color: #494949 !important;
}

.timeline-item .highlight {
    color: white !important;
}

.timeline-item .inactive {
    color: gray !important;
}

.overlay {
    position: relative;
    display: inline-block;
}

.overlay img {
    display: block;
    filter: brightness(30%); /* Menggelapkan gambar */
}

.centered-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid white; /* Border putih */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Kotak transparan */
    text-align: center;
    width: fit-content;
}

.text-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.text-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .centered-box {
        width: 80%;
        padding: 15px;
        margin-top: 20px;
    }

    .text-title {
        font-size: 1.2rem;
    }

    .text-subtitle {
        font-size: 1rem;
        margin-top: 10px;
    }

}
