/* /assets/css/components/public_menu.css */

.header {
    background: var(--color-light);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-dark);
    white-space: nowrap;
}
.logo.logo-footer { align-items: start; }
.logo img { height: 42px; }
.logo:hover { color: var(--color-primary); text-decoration: none; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.nav-list li { list-style: none; }
.nav-list a {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color .3s;
    white-space: nowrap;
}
.nav-list a:hover { color: var(--color-primary); text-decoration: none; }
.nav-link-secondary { color: var(--text-muted) !important; }
.nav-link-secondary:hover { color: var(--color-primary) !important; }

.nav-cta {
    border-radius: 30px !important;
    padding: 8px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 2px 8px rgba(246, 166, 29, 0.25);
    transition: all .3s ease !important;
}
.nav-cta:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 166, 29, 0.35) !important;
}

#publicLangSelect {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 8px 14px;
    color: var(--text-muted);
    cursor: pointer;
    min-width: 120px;
}

/* Hamburger */
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.bar {
    display: block;
    width: 22px;
    height: 2.5px;
    margin: 5px auto;
    background: var(--color-dark);
    transition: all .3s;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        height: calc(100vh - 72px);
        text-align: center;
        transition: left .35s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .nav-list {
        flex-direction: column;
        padding: 40px 20px;
        gap: 28px;
    }
    .nav-list a { font-size: 1.05rem; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
