@import "./ebmenu1-main.css";

:root {

    /* ==========================================================
       HEADER
    ========================================================== */

    --ebmenu1-hdr1-theme3-header-background-color:
        #ffffff;

    --ebmenu1-hdr1-theme3-header-bottom-border-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme3-header-shadow-color:
        rgba(15, 23, 42, .08);

    /* ==========================================================
       HEADER WRAPPER
    ========================================================== */

    --ebmenu1-hdr1-theme3-wrapper-background-color:
        transparent;

    /* ==========================================================
       LOGO
    ========================================================== */

    --ebmenu1-hdr1-theme3-logo-title-color:
        var(--ebmenu1-secondary-color);

    --ebmenu1-hdr1-theme3-logo-background-color:
        rgba(168, 137, 79, .08);

    --ebmenu1-hdr1-theme3-logo-border-color:
        rgba(168, 137, 79, .18);

    --ebmenu1-hdr1-theme3-logo-image-border-color:
        var(--ebmenu1-primary-color);

    /* ==========================================================
       CALL BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme3-call-background-color:
        rgba(75, 54, 45, .08);

    --ebmenu1-hdr1-theme3-call-border-color:
        transparent;

    --ebmenu1-hdr1-theme3-call-icon-color:
        var(--ebmenu1-secondary-color);

    --ebmenu1-hdr1-theme3-call-hover-background-color:
        var(--ebmenu1-secondary-color);

    --ebmenu1-hdr1-theme3-call-hover-icon-color:
        #ffffff;

    /* ==========================================================
       WHATSAPP BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme3-whatsapp-background-color:
        rgba(168, 137, 79, .10);

    --ebmenu1-hdr1-theme3-whatsapp-border-color:
        transparent;

    --ebmenu1-hdr1-theme3-whatsapp-icon-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme3-whatsapp-hover-background-color:
        var(--ebmenu1-primary-color);

    --ebmenu1-hdr1-theme3-whatsapp-hover-icon-color:
        #ffffff;

    /* ==========================================================
       DASHBOARD BUTTON
    ========================================================== */

    --ebmenu1-hdr1-theme3-db-button-background:
        linear-gradient(135deg,
            var(--ebmenu1-primary-color),
            var(--ebmenu1-secondary-color));

    --ebmenu1-hdr1-theme3-db-button-hover-background:
        linear-gradient(-135deg,
            var(--ebmenu1-primary-color),
            var(--ebmenu1-secondary-color));

    --ebmenu1-hdr1-theme3-db-button-text-color:
        #ffffff;

    /* ==========================================================
       EFFECTS
    ========================================================== */

    --ebmenu1-hdr1-theme3-shadow:
        0 8px 24px rgba(15, 23, 42, .08);

    --ebmenu1-hdr1-theme3-hover-shadow:
        0 10px 22px rgba(168, 137, 79, .18);

    --ebmenu1-hdr1-theme3-transition:
        .30s ease;

}

/* ==========================================================
   DASHBOARD BUTTON
========================================================== */

.ebmenu1-hdr1-db-return {

    border: none;

    background:
        var(--ebmenu1-hdr1-theme3-db-button-background);

    color:
        var(--ebmenu1-hdr1-theme3-db-button-text-color);

    padding: 12px 10px;

    border-radius: 999px;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        var(--ebmenu1-hdr1-theme3-transition);

}

.ebmenu1-hdr1-db-return:hover {

    background:
        var(--ebmenu1-hdr1-theme3-db-button-hover-background);

}

/* ==========================================================
   HEADER
========================================================== */

.ebmenu1-hdr1-header {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 1000;

    background:
        var(--ebmenu1-hdr1-theme3-header-background-color);

    border-bottom:
        2px solid var(--ebmenu1-hdr1-theme3-header-bottom-border-color);

    box-shadow:
        var(--ebmenu1-hdr1-theme3-shadow);

}

/* ==========================================================
   HEADER WRAPPER
========================================================== */

.ebmenu1-hdr1-header-wrapper {

    max-width: 1440px;

    width: calc(100% - 2em);

    margin: 0 auto;

    padding-block: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background:
        var(--ebmenu1-hdr1-theme3-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: 8px;

}

/* ==========================================================
   SHARED ACTION BUTTON
========================================================== */

.ebmenu1-hdr1-action-link {

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    transition:
        var(--ebmenu1-hdr1-theme3-transition);

}

/* ==========================================================
   WHATSAPP
========================================================== */

.ebmenu1-hdr1-whatsapp {

    background:
        var(--ebmenu1-hdr1-theme3-whatsapp-background-color);

    color:
        var(--ebmenu1-hdr1-theme3-whatsapp-icon-color);

    border:
        1px solid var(--ebmenu1-hdr1-theme3-whatsapp-border-color);

    font-size:
        clamp(1.40rem, 4vw, 1.55rem);

}

/* ==========================================================
   CALL
========================================================== */

.ebmenu1-hdr1-call-link {

    background:
        var(--ebmenu1-hdr1-theme3-call-background-color);

    color:
        var(--ebmenu1-hdr1-theme3-call-icon-color);

    border:
        1px solid var(--ebmenu1-hdr1-theme3-call-border-color);

}

.ebmenu1-hdr1-icon {

    width: 22px;

}

/* ==========================================================
   LOGO CONTAINER
========================================================== */

.ebmenu1-hdr1-header-logo-container {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: .65rem;

    padding: .35rem .85rem;

    background:
        var(--ebmenu1-hdr1-theme3-logo-background-color);

    border:
        1px solid var(--ebmenu1-hdr1-theme3-logo-border-color);

    border-radius: 999px;

    color:
        var(--ebmenu1-hdr1-theme3-logo-title-color);

    direction: ltr;

    transition:
        var(--ebmenu1-hdr1-theme3-transition);

}

.ebmenu1-hdr1-header-logo-container span {

    font-size:
        clamp(1.35rem, 4vw, 1.75rem);

    font-weight: 800;

    letter-spacing: .8px;

}

/* ==========================================================
   LOGO IMAGE
========================================================== */

.ebmenu1-hdr1-header-logo {

    width: 48px;
    aspect-ratio: 1 / 1;
    /* height: 48px; */

    /* object-fit: cover; */

    border-radius: 50%;

    border:
        2px solid var(--ebmenu1-hdr1-theme3-logo-image-border-color);

    transition:
        var(--ebmenu1-hdr1-theme3-transition);

}

/* ==========================================================
   HOVER EFFECTS
========================================================== */

.ebmenu1-hdr1-whatsapp:hover {

    background:
        var(--ebmenu1-hdr1-theme3-whatsapp-hover-background-color);

    color:
        var(--ebmenu1-hdr1-theme3-whatsapp-hover-icon-color);

    transform:
        scale(1.08);

    box-shadow:
        var(--ebmenu1-hdr1-theme3-hover-shadow);

}

.ebmenu1-hdr1-whatsapp:hover i {

    transform:
        rotate(10deg);

}

.ebmenu1-hdr1-call-link:hover {

    background:
        var(--ebmenu1-hdr1-theme3-call-hover-background-color);

    color:
        var(--ebmenu1-hdr1-theme3-call-hover-icon-color);

    transform:
        scale(1.08);

    box-shadow:
        var(--ebmenu1-hdr1-theme3-hover-shadow);

}

.ebmenu1-hdr1-call-link:hover .ebmenu1-hdr1-icon {

    transform:
        rotate(-10deg);

}

.ebmenu1-hdr1-header-logo-container:hover {

    background:
        #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        var(--ebmenu1-hdr1-theme3-hover-shadow);

}

.ebmenu1-hdr1-header-logo-container:hover .ebmenu1-hdr1-header-logo {

    transform:
        scale(1.08);

}

/* ==========================================================
   ICON ANIMATION
========================================================== */

.ebmenu1-hdr1-icon,

.ebmenu1-hdr1-whatsapp i,

.ebmenu1-hdr1-header-logo {

    transition:
        var(--ebmenu1-hdr1-theme3-transition);

}

/* ==========================================================
   ACTIVE
========================================================== */

.ebmenu1-hdr1-action-link:active,

.ebmenu1-hdr1-header-logo-container:active {

    transform:
        scale(.95);

}

/* ==========================================================
   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: 8px;

    }

    .ebmenu1-hdr1-header-right {

        gap: 6px;

    }

    .ebmenu1-hdr1-action-link {

        width: 42px;

        height: 42px;

    }

    .ebmenu1-hdr1-header-logo {

        width: 44px;

        height: 44px;

    }

    .ebmenu1-hdr1-header-logo-container {

        padding: .3rem .7rem;

        gap: .45rem;

    }

    .ebmenu1-hdr1-header-logo-container span {

        font-size:
            clamp(1.15rem, 4vw, 1.45rem);

    }

    .ebmenu1-hdr1-icon {

        width: 20px;

    }

}

@media (max-width:480px) {

    .ebmenu1-hdr1-action-link {

        width: 38px;

        height: 38px;

    }

    .ebmenu1-hdr1-header-logo {

        width: 40px;

        height: 40px;

    }

    .ebmenu1-hdr1-header-logo-container {

        padding: .25rem .6rem;

    }

    .ebmenu1-hdr1-header-logo-container span {

        font-size: 1.05rem;

    }

}
/*=========================================
QR CODE WIDGET (Header)
========================================= */

.ebmenu1-hdr1-qr-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ebmenu1-hdr1-qr-canvas-wrapper {
    position: relative;
    display: inline-flex;
    padding: 3px;
    border-radius: 8px;
    background: #ffffff;
}

.ebmenu1-hdr1-qr-canvas-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid var(--ebmenu1-primary-color);
    animation: ebmenu1-hdr1-qr-pulse 1.8s ease-out infinite;
}

.ebmenu1-hdr1-qr-widget canvas {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 6px;
}

.ebmenu1-hdr1-qr-caption {
    font-size: 11px;
    font-weight: 600;
    color: var(--ebmenu1-hdr1-icon-primary-color);
    white-space: nowrap;
}

@keyframes ebmenu1-hdr1-qr-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .ebmenu1-hdr1-qr-caption {
        display: none;
    }

    .ebmenu1-hdr1-qr-widget canvas {
        width: 38px;
        height: 38px;
    }
}
