/* HEADER STARTS HERE */
.h-header-wrapper {
    background-color: transparent;
    backdrop-filter: blur(0px);
    z-index: 10;
    height: 10vh;
    transform: translateY(0);
    transition: background-color 500ms ease-in-out, height 500ms ease-in-out, transform 500ms ease-in-out;
}

.h-header-wrapper .navbar.row {
    height: 10vh;
}

.h-logo {
    display: inline-flex;
    align-items: center;
}

.h-logo img {
    width: clamp(4.2rem, 7.5vw, 6.5rem);
    max-height: 8vh;
    height: auto;
    object-fit: contain;
    border-radius: 0.2rem;
    box-shadow: 0 6px 18px rgba(8, 9, 13, 0.16);
}

.h-header-title span {
    transform: translate(-50%, -50%);
    opacity: 0.9;
    color: var(--clr-accent-lights-100);
    font-family: var(--ff-heading-primary);
    font-size: var(--fz--header-sub);
    letter-spacing: calc(var(--fz--header-sub) / 5);
    transition: opacity 400ms ease-in-out;
}

.h-header-wrapper.h-active .h-header-title span {
    opacity: 0.92;
}

.h-header-title h2 {
    transform: translate(-50%, -50%);
    color: var(--clr-secondary-100);
    font-family: var(--ff-body-regular);
    font-size: var(--fz--header-title);
    letter-spacing: calc(var(--fz--header-title) / 4);
    word-spacing: calc(var(--fz--header-title) / 3);
    transition: transform 400ms ease-in-out, color 400ms ease-in-out;
}

.h-header-wrapper.h-active .h-header-title h2 {
    transform: translate(-50%, calc(-50% + 50px));
    color: rgba(244, 239, 227, 0.72);
}

/* Modal Button */
.h-btn-signUp {
    font-family: var(--ff-body-regular);
    font-size: var(--fz--header-title);
    letter-spacing: 0.1rem;
    color: var(--clr-secondary-100);
    border: 0.05rem solid var(--clr-secondary-100);
    transition: background-color 300ms ease-in-out;
}

.h-btn-signUp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--clr-secondary-100);
    width: 0;
    height: 100%;
    border-radius: 1rem;
    z-index: -1;
    transition: width 300ms ease-in-out;
}

.h-btn-signUp:hover::before {
    width: 100%;
}

.h-btn-signUp:hover,
.h-btn-signUp:active {
    font-family: var(--ff-body-regular);
    font-size: var(--fz--header-title);
    color: var(--clr-primary-dark);
    border: 0.05rem solid var(--clr-secondary-100) !important;
}

/* Hamburger Icon */
.h-ham-container .h-btn-ham {
    width: 3rem;
    height: 50px;
    cursor: pointer;
}

.wai-language-switcher {
    gap: 0.25rem;
    margin-right: 1rem;
    padding: 0.25rem;
    border: 1px solid rgba(244, 239, 227, 0.32);
    border-radius: 999px;
    background: rgba(8, 9, 13, 0.32);
    backdrop-filter: blur(6px);
}

.wai-lang-btn {
    min-width: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--clr-secondary-100);
    font-family: var(--ff-body-bold);
    font-size: 0.65rem;
    line-height: 1;
    padding: 0.45rem 0.5rem;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}

.wai-lang-btn.active,
.wai-lang-btn:hover {
    background: var(--clr-accent-lights-100);
    color: var(--clr-primary-dark);
}

.h-ham-container .h-btn-ham span {
    transform: translate(-50%, -50%);
    width: 100%;
    height: 0.1rem;
    background: var(--clr-secondary-100);
    transition: width 500ms ease-out, transform 500ms ease-out;
}

.h-ham-container .h-btn-ham span:nth-child(1) {
    width: 70%;
    top: 40%;
}

.h-ham-container .h-btn-ham span:nth-child(2) {
    top: 60%;
}

/* Inside Menu before click */
.h-header-wrapper .h-nav-container {
    display: none;
    height: 90vh;
}

/* On Button Click */
/* disable scroll on body */
.h-disable-scroll {
    overflow: hidden;
}

.h-header-wrapper.h-active {
    height: 100vh;
    background-color: rgba(8, 9, 13, 0.94);
    background-attachment: fixed;
    background-repeat: repeat;
}

.h-header-wrapper.h-active .h-btn-signUp {
    color: var(--clr-secondary-100);
    border-color: rgba(244, 239, 227, 0.58);
}

.h-header-wrapper.h-active .h-ham-container .h-btn-ham span {
    background: var(--clr-secondary-100);
}

.h-header-wrapper.h-active .h-btn-ham span:nth-child(1) {
    width: 85%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.h-header-wrapper.h-active .h-btn-ham span:nth-child(2) {
    width: 85%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Header menu (home, contact, about, sign up) */
.h-nav-list {
    list-style: none;
    border: 0;
    opacity: 0;
    animation: fade-in 400ms ease-in-out 400ms forwards;
}

.h-nav-list a {
    font-family: var(--ff-heading-primary);
    font-size: var(--fz--header-menu);
    color: inherit;
}

.h-nav-list li {
    color: var(--clr-secondary-100);
    transition: color 400ms ease-in-out, transform 400ms ease-in-out, letter-spacing 300ms ease-in-out;
}

.h-nav-list a::before {
    content: none;
    position: absolute;
    bottom: -10%;
    background-color: var(--clr-secondary-100);
    width: 0;
    height: 0.3rem;
    transition: width 300ms ease-in-out;
}

.h-nav-list a:hover::before {
    width: 100%;
}

.h-nav-list li:hover {
    transform: scale(1.05);
}

.h-nav-list li:hover~li,
.h-nav-list li:has(~ li:hover) {
    color: rgba(244, 239, 227, 0.34);
}

/* image preview parent element */
#hPreviewImage-sub {
    opacity: 0;
    animation: fade-in 400ms ease-in-out 400ms forwards;
}

#hPreviewImage {
    height: 0;
    border-top: 0;
    background-color: rgba(8, 9, 13, 0.72);
    background-image:url();
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    transition-property: height, background-position;
    transition-duration: 500ms, 3000ms;
    transition-timing-function: ease-out, ease-out;
    transition-delay: 0, 400ms;
}

/* image preview */
#hPreviewImageTitle {
    opacity: 0;
    transition: opacity 500ms ease-in-out;
    font-family: var(--ff-body-bold);
    color: var(--clr-accent-lights-100);
    font-size: 5vw;
    animation: expand 400ms ease-in-out forwards 700ms;
}

/* "Explore" */
.hPreviewImageTitle-top {
    font-family: var(--ff-body-bold);
    color: rgba(244, 239, 227, 0.08);
    font-size: var(--fz--header-cat-title);
    text-shadow: none;
    opacity: 0;
    transform: scale(0.7);
    animation: zoom-in 400ms ease-in-out 400ms forwards;
}

/* "hover items below to preview */
.hPreviewImageDesc {
    top: -5%;
    transform: translate(-50%, -50%);
    font-family: var(--ff-body-light);
    color: rgba(244, 239, 227, 0.62);
    font-size: var(--fz--header-title);
    text-shadow: none;
    letter-spacing: calc(var(--fz--header-title) / 4);
}

/* categories nav menu */
.h-categories-list {
    list-style: none;
    color: var(--clr-secondary-100);
}

.h-categories-list a {
    font-family: var(--ff-heading-primary);
    font-size: var(--fz--header-cat-list);
    color: inherit;
}

.h-categories-list li {
    opacity: 0;
    transform: translateY(5rem);
    transition: color 300ms ease-in-out, text-shadow 300ms ease-in-out;
}

.h-categories-list li:nth-child(1) {
    animation: fade-up 400ms ease-in-out 600ms forwards;
}

.h-categories-list li:nth-child(1):hover {
    color: var(--clr-accent-lights-100);
    text-shadow: none;
}

.h-categories-list li:nth-child(2) {
    animation: fade-up 400ms ease-in-out 700ms forwards;
}

.h-categories-list li:nth-child(2):hover {
    color: var(--clr-accent-water-100);
    text-shadow: none;
}

.h-categories-list li:nth-child(3) {
    animation: fade-up 400ms ease-in-out 800ms forwards;
}

.h-categories-list li:nth-child(3):hover {
    color: var(--clr-accent-summit-100);
    text-shadow: none;
}

.h-categories-list li:nth-child(4) {
    animation: fade-up 400ms ease-in-out 900ms forwards;
}

.h-categories-list li:nth-child(4):hover {
    color: var(--clr-accent-history-100);
    text-shadow: none;
}

.h-categories-list li:nth-child(5) {
    animation: fade-up 400ms ease-in-out 1000ms forwards;
}

.h-categories-list li:nth-child(5):hover {
    color: var(--clr-accent-culture-100);
    text-shadow: none;
}

/* SIGN UP MODAL STARTS HERE*/
.modal-title {
    font-size: var(--fz-main-p);
    font-family: var(--ff-body-regular);
    color: var(--clr-accent-lights-100);
    text-shadow: none;
}

#signUpModal label, #signUpModal .form-control,
#bookingModal label, #bookingModal .form-control {
    font-size: var(--fz-main-text);
    font-family: var(--ff-body-regular);
    background-color: transparent;
    color: var(--clr-primary-dark);
}

.modal-content {
    background-color: var(--clr-primary-glass);
    background-image: url(../images/grain.png?v=wai-live-20260707-2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 26, 64, 0.2);
    border-radius: 0.35rem;
}

.modal-header, .modal-footer {
    border: none;
}

.modal-signup-btn {
    color: var(--clr-primary-dark);
    font-size: var(--fz-main-text);
    background-color: var(--clr-accent-lights-100);
    box-shadow: 0 8px 20px rgba(6, 26, 64, 0.18);
    border-radius: 0.35rem;
    transition: background-color 300ms ease-in-out, box-shadow 300ms ease-in-out;
    text-transform: uppercase;
}

.modal-signup-btn:hover {
    background-color: var(--clr-accent-lights);
    box-shadow: 0 8px 20px rgba(6, 26, 64, 0.28);
}

.modal-cancel-btn {
    color: var(--clr-primary-dark);
    font-size: var(--fz-main-text);
    text-transform: uppercase;
}

.modal-cancel-btn:hover {
    color: var(--clr-secondary-500);
}

@media (max-width: 576px) {
    .h-logo img {
        width: clamp(3.4rem, 18vw, 4.6rem);
    }

    .h-header-title span {
        font-size: 1.5rem;
        letter-spacing: 0.35rem;
    }

    .h-header-title h2 {
        display: none;
    }

    .h-btn-signUp {
        padding-inline: 0.9rem !important;
    }
}
