/* =========================================================
   ENDE HOLIDAYS
   CUSTOM HEADER / NAVBAR
   GOLD × WARM BROWN
   NO BOOTSTRAP
   ========================================================= */


/* =========================================================
   NAVBAR
   ========================================================= */

.ende-navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 66px;

    background: rgba(36, 26, 16, 0.96);

    border-bottom: 1px solid rgba(233, 159, 36, 0.15);

    box-shadow:
        0 4px 20px rgba(36, 26, 16, 0.08);

    z-index: 9999;

    box-sizing: border-box;
}


/* =========================================================
   INNER
   ========================================================= */

.ende-navbar-inner {
    width: 100%;
    max-width: 1200px;

    height: 66px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   BRAND
   ========================================================= */

.ende-brand {
    display: flex;
    align-items: center;

    gap: 9px;

    flex-shrink: 0;

    color: #E99F24;

    font-size: 18px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.2px;

    text-decoration: none;
}

.ende-brand:hover {
    color: #F0B84D;
}


/* LOGO */

.ende-brand-logo {
    display: block;

    width: 30px;
    height: 24px;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION WRAPPER
   ========================================================= */

.ende-nav-wrapper {
    display: flex;
    align-items: center;

    width: 100%;

    margin-left: 30px;
}


/* =========================================================
   MAIN NAV
   ========================================================= */

.ende-nav {
    display: flex;
    align-items: center;

    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ende-nav li {
    margin: 0;
    padding: 0;
}


/* =========================================================
   NAV LINK
   ========================================================= */

.ende-nav li a {
    position: relative;

    display: flex;
    align-items: center;

    padding: 10px 13px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}


/* GOLD UNDERLINE */

.ende-nav li a::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 3px;

    height: 2px;

    background: #E99F24;

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.25s ease;
}


/* HOVER */

.ende-nav li a:hover {
    color: #E99F24;
}

.ende-nav li a:hover::after {
    transform: scaleX(1);
}


/* ACTIVE */

.ende-nav li a.active {
    color: #E99F24;
}

.ende-nav li a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.ende-language-wrapper {
    position: relative;

    margin-left: auto;
}


/* LANGUAGE BUTTON */

.ende-language {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 0;
    padding: 10px 0 10px 18px;

    background: transparent;

    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.72);

    font-family: inherit;

    font-size: 14px;
    font-weight: 500;

    line-height: 1;

    cursor: pointer;
}

.ende-language:hover {
    color: #E99F24;
}


/* ARROW */

.ende-language-arrow {
    width: 6px;
    height: 6px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition:
        transform 0.2s ease;
}


/* OPEN */

.ende-language[aria-expanded="true"]
.ende-language-arrow {
    transform: rotate(225deg) translateY(-1px);
}


/* =========================================================
   LANGUAGE MENU
   ========================================================= */

.ende-language-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    min-width: 145px;

    padding: 7px;

    background: #ffffff;

    border: 1px solid #EDE5D8;

    border-radius: 8px;

    box-shadow:
        0 15px 40px rgba(36, 26, 16, 0.15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


/* OPEN */

.ende-language-menu.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* LANGUAGE LINKS */

.ende-language-menu a {
    display: block;

    width: 100%;

    padding: 9px 12px;

    color: #3A2818;

    font-size: 14px;

    line-height: 1.5;

    text-decoration: none;

    border-radius: 5px;

    box-sizing: border-box;
}


/* HOVER */

.ende-language-menu a:hover {
    background: #FFF9EF;

    color: #CB981F;
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.ende-toggler {
    display: none;

    width: 40px;
    height: 38px;

    margin-left: auto;
    padding: 7px;

    background: transparent;

    border: 1px solid rgba(233, 159, 36, 0.35);

    border-radius: 6px;

    cursor: pointer;

    box-sizing: border-box;
}


/* HAMBURGER */

.ende-toggler span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

@media (max-width: 991px) {

    .ende-navbar-inner {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* TOGGLE */

    .ende-toggler {
        display: block;
    }


    /* NAV WRAPPER */

    .ende-nav-wrapper {
        position: absolute;

        top: 66px;
        left: 0;

        width: 100%;

        margin: 0;
        padding: 15px 20px 20px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        background: #241A10;

        border-top:
            1px solid rgba(233, 159, 36, 0.12);

        box-sizing: border-box;
    }


    /* OPEN */

    .ende-nav-wrapper.show {
        display: flex;
    }


    /* MAIN NAV */

    .ende-nav {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        width: 100%;
    }


    /* LINKS */

    .ende-nav li a {
        width: 100%;

        padding: 12px 8px;

        white-space: normal;

        box-sizing: border-box;
    }


    /* REMOVE UNDERLINE */

    .ende-nav li a::after {
        display: none;
    }


    /* LANGUAGE */

    .ende-language-wrapper {
        width: 100%;

        margin: 10px 0 0;
        padding-top: 10px;

        border-top:
            1px solid rgba(255, 255, 255, 0.10);
    }


    .ende-language {
        width: 100%;

        padding: 10px 8px;

        border-left: 0;
    }


    /* DROPDOWN */

    .ende-language-menu {
        position: static;

        width: 100%;

        margin-top: 5px;

        box-shadow: none;

        box-sizing: border-box;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .ende-navbar-inner {
        padding-left: 15px;
        padding-right: 15px;
    }


    .ende-brand {
        font-size: 16px;
    }


    .ende-brand-logo {
        width: 28px;
        height: 22px;
    }
}