/* header.css */

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Plus Jakarta Sans", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Icon font settings */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Background video */
.bg-video {
    /* poți activa dacă vrei un pic de extra punch vizual */
    /* filter: saturate(1.1) contrast(1.05); */
}

/* ====== LOGO ====== */

/* Wrapper pentru imaginea ON AIR – adaptată ca înălțime de header */
.logo-image-wrapper {
    height: 56px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(238, 43, 91, 0.4);
}

/* Text principal: InfinityLoveFm – ca logo de radio */
.logo-main {
    font-family: "Russo One", system-ui, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #ffd4e5, #ff7aa8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 0 14px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(238, 43, 91, 0.7);
}

/* Tagline subțire, elegant */
.logo-tagline {
    font-size: 0.70rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* Ajustări pentru ecrane mici */
@media (max-width: 480px) {
    .logo-image-wrapper {
        height: 48px;
    }

    .logo-main {
        font-size: 1.05rem;
        letter-spacing: 0.16em;
    }

    .logo-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.16em;
    }
}

/* ====== NAV BUTTONS ====== */

.nav-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.45rem 1.1rem;
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #ffffff;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.35);
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.08),
        rgba(0, 0, 0, 0.45)
    );

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 10px 30px rgba(0, 0, 0, 0.6);

    backdrop-filter: blur(8px);

    cursor: pointer;
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out,
        background 0.18s ease-out,
        color 0.18s ease-out;
}

/* mic highlight subtil sub buton */
.nav-button::after {
    content: "";
    position: absolute;
    inset: auto 16% -4px 16%;
    height: 3px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(238, 43, 91, 0.55), transparent);
    opacity: 0;
    transform: scaleX(0.8);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.nav-button:hover {
    background: radial-gradient(circle at top left,
        rgba(238, 43, 91, 0.4),
        rgba(0, 0, 0, 0.7)
    );
    border-color: rgba(238, 43, 91, 0.9);
    box-shadow:
        0 0 0 1px rgba(238, 43, 91, 0.5),
        0 14px 32px rgba(238, 43, 91, 0.55);
    transform: translateY(-1px);
}

.nav-button:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 0 0 1px rgba(238, 43, 91, 0.4),
        0 6px 18px rgba(0, 0, 0, 0.9);
}

/* variantă accentuată (Contact) */
.nav-button--accent {
    background: linear-gradient(135deg, #ee2b5b, #ff8bb8);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 16px 40px rgba(238, 43, 91, 0.7);
}

.nav-button--accent:hover {
    background: linear-gradient(135deg, #ff99c6, #ff5a96);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4),
        0 18px 44px rgba(238, 43, 91, 0.85);
}

/* accesibilitate keyboard focus */
.nav-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Elimină underline și transformă logo-ul într-o zonă clickabilă elegantă */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-link:hover .logo-main {
    filter: brightness(1.15);
}

.logo-link:hover .logo-image {
    transform: scale(1.02);
    transition: transform 0.2s ease-out;
}

/* Iconițe în butoanele de meniu */
.nav-button__icon {
    font-size: 18px;
    margin-right: 0.35rem;
}

/* --- User menu dropdown (My Profile la hover pe nume) --- */

.user-menu {
    position: relative;
}

.user-menu__trigger {
    padding-right: 0.75rem;
}

.user-menu__name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu__chevron {
    font-size: 18px;
    margin-left: 0.1rem;
}

/* Dropdown-ul My Profile */
.user-menu__dropdown {
    position: absolute;
    right: 0;
    margin-top: 0.4rem;
    min-width: 180px;
    padding: 0.4rem;

    border-radius: 0.9rem;
    background: rgba(10, 0, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);

    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition:
        opacity 0.18s ease-out,
        transform 0.18s ease-out,
        visibility 0.18s ease-out;
    z-index: 50;
}

.user-menu.group:hover .user-menu__dropdown,
.user-menu.group:focus-within .user-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.7rem;

    font-size: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.user-menu__item:hover {
    background: radial-gradient(circle at top left,
        rgba(238, 43, 91, 0.35),
        rgba(16, 4, 12, 0.98)
    );
}

.user-menu__item-icon {
    font-size: 18px;
    opacity: 0.9;
}

