* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    /* width: 100%; */
    background: var(--color_white_black);
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--color_white_black);
    height: 20dvh;
    padding: 0 10vw;
    /* padding: 2rem 10vw; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

header h1 {
    color: var(--color_dark_white);
    font-size: 3rem;
    font-weight: 700;
}

header h1 span {
    color: var(--primary);
}

header ul {
    gap: 2vw;
    list-style: none;
    display: flex;
    align-items: center;
}

header ul li a,
#sidebar ul li a {
    text-decoration: none;
    color: var(--color_dark_white);
    font-size: 1.2rem;
    font-weight: 500;
    transition: 0.3s;
}

#sidebar ul li {
    margin: 3vh 0;
}

header ul li a.nav-active,
header ul li a:hover,
#sidebar ul li a.nav-active,
#sidebar ul li a:hover {
    color: var(--primary);
    font-weight: 700;
}

.start {
    text-decoration: none;
    color: white;
    background-color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.start:hover {
    color: var(--primary);
    background-color: white;
}

#hamburger {
    display: none;
    /* background: red; */
    height: 2.5rem;
    aspect-ratio: 1/1;
    cursor: pointer;
    /* filter: invert(49%) sepia(8%) saturate(1278%) hue-rotate(138deg) brightness(89%) contrast(86%); */
    filter: var(--filter_sidebar);
    transition: all 0.3s ease;
}

#hamburger:hover {
    filter: invert(23%);
}

#sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    height: 100%;
    background: var(--color_white_dark);
    z-index: 1001;
    transition: all 0.3s ease;
    transform: translateX(100%);
    display: flex;
    padding: 30% 10%;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    text-align: right;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    transform: translateX(0);
    box-shadow: 0 0 3rem rgba(0, 0, 0, 0.2);
}

#sidebar h1 {
    color: var(--color_dark_white);
    font-size: 2rem;
    font-weight: 700;
    /* border-bottom: 2px solid var(--tertiary); */
}

#sidebar h1 span {
    color: var(--primary);
}

#sidebar ul {
    list-style: none;
}

#side-btn {
    --_angle: 60deg;
    /* background: red; */
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    height: 50px;
    aspect-ratio: 1/2;
    cursor: pointer;
}

#side-btn::before,
#side-btn::after {
    content: "";
    background: var(--color_dark_white);
    width: 100%;
    height: 2px;
    border-radius: 999px;
    position: absolute;
    left: 50%;
    transform-origin: left center;
}

#side-btn::before {
    top: 49%;
    transform: translate(-25%, -50%) rotate(var(--_angle));
}

#side-btn::after {
    top: 51%;
    transform: translate(-25%, -50%) rotate(calc(var(--_angle) * -1));
}

#overlay {
    position: fixed;
    inset: 0;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    z-index: 1000;
    transition: all 0.3s ease;
    visibility: hidden;
    /* pengganti display, biar transition */
}

#overlay.active {
    visibility: visible;
    -webkit-backdrop-filter: blur(0.25rem);
    backdrop-filter: blur(0.25rem);
}

.hero {
    position: relative;
    width: 72.5vw;
    max-width: 75rem;
    height: 70vh;
    margin: 2.5rem auto;
    border-radius: 1rem;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("./assets/images/monas.jpg");
    background-size: cover;
    background-position: 100%;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0rem 7.125rem 9rem 2rem rgba(0, 0, 0, 0.48);
    border-radius: 1rem;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    margin-top: -2.5rem;
}

.hero-content .tagline {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-top: -15rem;
    color: var(--secondary);
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.search-box {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 56.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(115deg, var(--glass-start), var(--glass-end));
    border: 0.06rem solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25);
    padding: 1.5rem 2rem;
    gap: 2.5rem;
    color: white;
    z-index: 3;
}

.search-item {
    flex: 1;
    text-align: left;
    border-right: 0.06rem solid rgba(255, 255, 255, 0.2);
    padding: 2rem 4rem 2rem 0;
}

.search-item:last-child {
    border-right: none;
}

.search-item h4 {
    font-size: 1rem;
    font-weight: 400;
}

.search-item p {
    font-size: 0.625rem;
    opacity: 0.8;
    margin-top: 4px;
    color: #a0a3a4
}

.search-btn {
    background-color: white;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 1.125rem 1.375rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn p {
    display: none;
}

.search-btn:hover {
    background-color: var(--secondary);
    color: white;
}

.exploreTop {
    padding-top: 5vh;
    color: var(--primary);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    max-height: 20vh;
    padding-bottom: 5vh;
}

#popularPlaces {
    color: var(--color_dark_white);
    font-size: 2.8rem;
}

#popularPlaces br {
    display: none;
}

.carousel {
    width: 100%;
    height: 100vh;
    position: relative;
    max-height: 60vh;
}

.carousel>ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms ease-in-out;
}

.carousel::after {
    box-shadow: inset 0 8rem 10rem 2rem rgba(0, 0, 0, 0.48);
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide[data-active] {
    opacity: 1;
}

.carousel-button img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.8;
}

.carousel-button {
    position: absolute;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    /* bottom: 0%; */
    z-index: 2;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
}

.carousel-button:hover,
.carousel-button:focus {
    color: white;
}

.carousel-button:focus {
    color: var(--color_gray);
}

.isiCarousel {
    /* margin-top: -33vh; */
    /* margin-left: 7vh; */
    position: absolute;
    bottom: 5%;
    left: 5%;
    z-index: 2;
}

.isiCarousel h1 {
    font-weight: 700;
    color: white;
    font-size: 4.43rem;
}

.isiCarousel h2 {
    font-weight: 300;
    color: var(--secondary);
    font-size: 1.43rem;
}

.isiCarousel p {
    font-weight: 300;
    color: white;
    font-size: 1rem;
}

.isiCarousel2 {
    display: flex;
    gap: 40rem;
    flex: 1;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.get-started-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(115deg, var(--glass-start), var(--glass-end));
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border: 0.06rem solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.get-started-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: scale(1.05);
}

.palingBawah {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 35vh;
}

.palingBawah .bawahKiri p {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.palingBawah .bawahKiri h1 {
    color: var(--color_dark_white);
    font-weight: 700;
    font-size: 2.75rem;
}

.palingBawah .bawahKiri br {
    display: none;
}

.palingBawah .bawahKanan {
    background: var(--color_dark_transparent);
    border-radius: 1rem;
    display: flex;
    padding: 1rem;
    gap: 1rem;
    height: 5rem;
    align-items: stretch;
}

.palingBawah .bawahKanan input {
    flex: 1;
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    outline: none;
    background-color: var(--color_white_dark);
}

.palingBawah .bawahKanan input:hover {
    /* all: unset; */
    outline: none;
}

.palingBawah .bawahKanan .btn-send {
    background: var(--color_white_dark);
    border-radius: 1rem;
    padding: 0.5rem;
    max-height: 100%;
    cursor: pointer;
}

.palingBawah .bawahKanan .btn-send img {
    width: 100%;
    height: 100%;
    filter: invert(40%);
}

footer {
    background-color: var(--tertiary);
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
}

footer p,
footer a {
    color: #A0A3A4;
    font-weight: 300;
    font-size: 1rem;
}

footer a {
    text-decoration: none;
}

footer .items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
}

@media screen and (max-width: 900px) {
    header h1 {
        font-size: 2.5rem;
    }

    header ul {
        display: none;
    }

    header .start {
        display: none;
    }

    #hamburger {
        display: block;
    }

    .hero {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        max-width: none;
        margin: 0;
    }

    .hero::after {
        border-radius: 0;
    }

    .search-box {
        width: 80%;
        bottom: 5vh;
        justify-content: center;
    }

    .search-item {
        display: none;
    }

    .search-btn {
        margin: 0 3rem;
    }

    .search-btn p {
        display: block;
    }

    .search-btn span {
        display: none;
    }

    /* sampai sini */

    .exploreTop {
        align-items: center;
        justify-content: center;
        display: flex;
        line-height: 1;
    }

    #popularPlaces {
        text-align: center;
        font-size: 2rem;
    }

    #popularPlaces br {
        display: block;
    }

    .carousel {
        /* display: none; */
    }

    .palingBawah {
        /* display: none; */
        flex-direction: column;
    }

    .bawahKiri {
        text-align: center;
        line-height: 1;
    }

    .palingBawah .bawahKiri h1 {
        font-size: 2rem;
    }

    .palingBawah .bawahKiri br {
        display: block;
    }

    footer {
        height: auto;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    footer .items {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.2rem;
        /* grid-column-gap: 2vw;
        grid-row-gap: 2vh; */
    }

    .isiCarousel2 p {
        display: none;
    }
}