@import "./ebmenu1-main.css";

:root {

    /* ==========================================================
       HEADER
    ========================================================== */

    --ebmenu1-hdr1-theme2-header-background-color: #ffffff;

    --ebmenu1-hdr1-theme2-header-bottom-border-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme2-header-shadow-color:
        rgba(2, 6, 23, .10);

    /* ==========================================================
       HEADER WRAPPER
    ========================================================== */

    --ebmenu1-hdr1-theme2-header-wrapper-background-color:
        transparent;

    /* ==========================================================
       LOGO
    ========================================================== */

    --ebmenu1-hdr1-theme2-logo-container-background-color:
        #ffffff;

    --ebmenu1-hdr1-theme2-logo-container-border-color:
        rgba(168, 137, 79, .18);

    --ebmenu1-hdr1-theme2-logo-title-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme2-logo-image-border-color:
        rgba(168, 137, 79, .20);

    /* ==========================================================
       CALL BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme2-call-background-color:
        var(--ebmenu1-secondary-color);

    --ebmenu1-hdr1-theme2-call-icon-color:
        #ffffff;

    --ebmenu1-hdr1-theme2-call-border-color:
        transparent;

    --ebmenu1-hdr1-theme2-call-hover-background-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme2-call-hover-icon-color:
        #ffffff;

    /* ==========================================================
       WHATSAPP BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme2-whatsapp-background-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme2-whatsapp-icon-color:
        #ffffff;

    --ebmenu1-hdr1-theme2-whatsapp-border-color:
        transparent;

    --ebmenu1-hdr1-theme2-whatsapp-hover-background-color:
        var(--ebmenu1-secondary-color);

    --ebmenu1-hdr1-theme2-whatsapp-hover-icon-color:
        #ffffff;

    /* ==========================================================
       DASHBOARD BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme2-db-button-background:
        linear-gradient(135deg,
            var(--ebmenu1-primary-color),
            var(--ebmenu1-secondary-color));

    --ebmenu1-hdr1-theme2-db-button-hover-background:
        linear-gradient(-135deg,
            var(--ebmenu1-primary-color),
            var(--ebmenu1-secondary-color));

    --ebmenu1-hdr1-theme2-db-button-text-color:
        #ffffff;

    /* ==========================================================
       EFFECTS
    ========================================================== */

    --ebmenu1-hdr1-theme2-shadow:
        0 14px 34px rgba(2, 6, 23, .12);

    --ebmenu1-hdr1-theme2-hover-shadow:
        0 16px 34px rgba(168, 137, 79, .22);

    --ebmenu1-hdr1-theme2-transition:
        .35s ease;

}

/* ==========================================================
   DASHBOARD BUTTON
========================================================== */

.ebmenu1-hdr1-db-return {

    border: none;

    background:
        var(--ebmenu1-hdr1-theme2-db-button-background);

    color:
        var(--ebmenu1-hdr1-theme2-db-button-text-color);

    padding: 14px 8px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        var(--ebmenu1-hdr1-theme2-transition);

}

.ebmenu1-hdr1-db-return:hover {

    background:
        var(--ebmenu1-hdr1-theme2-db-button-hover-background);

}

/* ==========================================================
   HEADER
========================================================== */

.ebmenu1-hdr1-header {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 1000;

    background:
        var(--ebmenu1-hdr1-theme2-header-background-color);

    border-bottom:
        3px solid var(--ebmenu1-hdr1-theme2-header-bottom-border-color);

    box-shadow:
        var(--ebmenu1-hdr1-theme2-shadow);

}

/* ==========================================================
   HEADER WRAPPER
========================================================== */

.ebmenu1-hdr1-header-wrapper {

    max-width: 1440px;

    width: calc(100% - 2em);

    margin: 0 auto;

    padding-block: 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background:
        var(--ebmenu1-hdr1-theme2-header-wrapper-background-color);

}

.ebmenu1-hdr1-header.ebmenu1-hdr1-form-header {

    max-width: 1100px;

    margin: auto;

}

/* ==========================================================
   RIGHT SIDE
========================================================== */

.ebmenu1-hdr1-header-right {

    display: flex;

    align-items: center;

    gap: 10px;

}

/* ==========================================================
   ACTION BUTTON
========================================================== */

.ebmenu1-hdr1-action-link {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    transition:
        var(--ebmenu1-hdr1-theme2-transition);

}

/* ==========================================================
   WHATSAPP
========================================================== */

.ebmenu1-hdr1-whatsapp {

    background:
        var(--ebmenu1-hdr1-theme2-whatsapp-background-color);

    color:
        var(--ebmenu1-hdr1-theme2-whatsapp-icon-color);

    border:
        2px solid var(--ebmenu1-hdr1-theme2-whatsapp-border-color);

    font-size:
        clamp(1.45rem, 5vw, 1.60rem);

}

/* ==========================================================
   CALL
========================================================== */

.ebmenu1-hdr1-call-link {

    background:
        var(--ebmenu1-hdr1-theme2-call-background-color);

    color:
        var(--ebmenu1-hdr1-theme2-call-icon-color);

    border:
        2px solid var(--ebmenu1-hdr1-theme2-call-border-color);

}

.ebmenu1-hdr1-icon {

    width: 24px;

}

/* ==========================================================
   LOGO CONTAINER
========================================================== */

.ebmenu1-hdr1-header-logo-container {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: .65rem;

    padding: .45rem .9rem;

    background:
        var(--ebmenu1-hdr1-theme2-logo-container-background-color);

    border:
        1px solid var(--ebmenu1-hdr1-theme2-logo-container-border-color);

    border-radius: 18px;

    text-decoration: none;

    color:
        var(--ebmenu1-hdr1-theme2-logo-title-color);

    direction: ltr;

    transition:
        var(--ebmenu1-hdr1-theme2-transition);

}

.ebmenu1-hdr1-header-logo-container span {

    font-size:
        clamp(1.45rem, 4vw, 1.9rem);

    font-weight: 800;

    letter-spacing: .5px;

}

/* ==========================================================
   LOGO IMAGE
========================================================== */

.ebmenu1-hdr1-header-logo {

    width: 60px;

    aspect-ratio: 1 / 1;
    /* height: 90px; */

    /* object-fit: cover; */

    border-radius: 14px;

    border:
        2px solid var(--ebmenu1-hdr1-theme2-logo-image-border-color);

    transition:
        var(--ebmenu1-hdr1-theme2-transition);

}

/* ==========================================================
   HEADER HOVER EFFECTS
========================================================== */

.ebmenu1-hdr1-whatsapp:hover {

    background:
        var(--ebmenu1-hdr1-theme2-whatsapp-hover-background-color);

    color:
        var(--ebmenu1-hdr1-theme2-whatsapp-hover-icon-color);

    transform:
        translateY(-4px);

    box-shadow:
        var(--ebmenu1-hdr1-theme2-hover-shadow);

}

.ebmenu1-hdr1-call-link:hover {

    background:
        var(--ebmenu1-hdr1-theme2-call-hover-background-color);

    color:
        var(--ebmenu1-hdr1-theme2-call-hover-icon-color);

    transform:
        translateY(-4px);

    box-shadow:
        var(--ebmenu1-hdr1-theme2-hover-shadow);

}

.ebmenu1-hdr1-header-logo-container:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--ebmenu1-hdr1-theme2-hover-shadow);

}

.ebmenu1-hdr1-header-logo-container:hover .ebmenu1-hdr1-header-logo {

    transform:
        rotate(-4deg) scale(1.05);

}

/* ==========================================================
   ACTIVE STATE
========================================================== */

.ebmenu1-hdr1-action-link:active,

.ebmenu1-hdr1-header-logo-container:active {

    transform:
        scale(.96);

}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

.ebmenu1-hdr1-action-link:focus-visible,

.ebmenu1-hdr1-header-logo-container:focus-visible {

    outline: 2px solid var(--ebmenu1-primary-color);

    outline-offset: 4px;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1440px) {

    .ebmenu1-hdr1-header-wrapper {

        width: calc(100% - 1.5em);

    }

}

@media (max-width: 768px) {

    .ebmenu1-hdr1-header-wrapper {

        padding-block: 12px;

    }

    .ebmenu1-hdr1-header-right {

        gap: 8px;

    }

    .ebmenu1-hdr1-action-link {

        width: 46px;

        height: 46px;

        border-radius: 14px;

    }

    .ebmenu1-hdr1-whatsapp {

        font-size:
            clamp(1.25rem, 5vw, 1.4rem);

    }

    .ebmenu1-hdr1-icon {

        width: 21px;

    }

    .ebmenu1-hdr1-header-logo {

        width: 52px;

        height: 52px;

    }

    .ebmenu1-hdr1-header-logo-container {

        padding: .35rem .75rem;

        border-radius: 16px;

        gap: .5rem;

    }

    .ebmenu1-hdr1-header-logo-container span {

        font-size:
            clamp(1.2rem, 4vw, 1.55rem);

    }

}

@media (max-width: 480px) {

    .ebmenu1-hdr1-header-wrapper {

        width: calc(100% - 1em);

    }

    .ebmenu1-hdr1-action-link {

        width: 42px;

        height: 42px;

        border-radius: 12px;

    }

    .ebmenu1-hdr1-header-logo {

        width: 46px;

        height: 46px;

    }

    .ebmenu1-hdr1-header-logo-container span {

        font-size:
            1.15rem;

    }

}