/**
 * Benin Escapes Elementor Addons - Widget Navbar CSS
 */

.be-wb-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(20, 27, 43, 0.04);
    position: relative;
    z-index: 999;
}

.be-wb-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Brand */
.be-wb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.be-wb-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.be-wb-brand-text {
    display: flex;
    flex-direction: column;
}

.be-wb-brand-name {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #141b2b;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.be-wb-brand-tag {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #555d50;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* Nav Desktop */
.be-wb-nav {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .be-wb-nav {
        display: flex;
    }
}

.be-wb-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #424940;
    padding: 9px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

/* Indicateur souligné animé (modes underline-pill & underline) */
.be-wb-nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2.5px;
    border-radius: 9999px;
    background-color: #1b5e20;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, background-color 0.22s ease;
}

.be-wb-nav--pill .be-wb-nav-link::after {
    display: none;
}

.be-wb-nav-link:hover {
    color: #1b5e20;
}

.be-wb-nav--underline-pill .be-wb-nav-link:hover,
.be-wb-nav--pill .be-wb-nav-link:hover {
    background-color: #f0fdf4;
}

.be-wb-nav-link:hover::after {
    transform: scaleX(1);
    opacity: 0.75;
}

.be-wb-nav-link.is-active {
    color: #1b5e20;
    font-weight: 700;
}

.be-wb-nav--underline-pill .be-wb-nav-link.is-active,
.be-wb-nav--pill .be-wb-nav-link.is-active {
    background-color: #e8f5e9;
}

.be-wb-nav-link.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Actions */
.be-wb-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.be-wb-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1b5e20;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.2);
}

.be-wb-cta-btn:hover {
    background-color: #2e7d32;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 94, 32, 0.3);
}

/* Burger Mobile */
.be-wb-burger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f3f8;
    border: none;
    border-radius: 8px;
    color: #141b2b;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .be-wb-burger-btn {
        display: none;
    }
}

/* Mobile Drawer */
.be-wb-mobile-drawer {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid #eef1f8;
    padding: 20px 24px 28px 24px;
}

.be-wb-mobile-drawer.is-open {
    display: block;
}

.be-wb-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.be-wb-mobile-nav-link {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #141b2b;
    padding: 11px 14px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.be-wb-mobile-nav-link:hover {
    color: #1b5e20;
    background-color: #f0fdf4;
}

.be-wb-mobile-nav-link.is-active {
    color: #1b5e20;
    background-color: #e8f5e9;
    border-left-color: #1b5e20;
    font-weight: 700;
}

.be-wb-mobile-cta-btn {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1b5e20;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    text-align: center;
}
