/* ========================================
   HEADER MODERNO - RADIOPLAY
   ======================================== */

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Header Principal - Inicia como absolute, se vuelve fixed después de 200px scroll */
.main-header {
    position: absolute;
    background: var(--header-bg);
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    border-bottom: 2px solid var(--sidebar-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header se vuelve fixed después de scroll */
.main-header.scrolled {
    position: fixed;
    top: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

/* Logo y Nombre */
.header-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo-link:hover .header-logo-img {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.header-site-name {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    font-weight: 700;
    color: var(--site-name-color, #ffffff);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Navegación Desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--menu-bg);
    border: 2px solid var(--menu-item-border);
    border-radius: 25px;
    color: var(--menu-text, #ffffff);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.header-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--menu-hover);
    transition: left 0.5s ease;
}

.header-nav-item:hover::before {
    left: 100%;
}

.header-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header-nav-item i {
    font-size: 16px;
    color: var(--menu-icon, #ffffff);
    transition: all 0.3s ease;
}

.header-nav-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--menu-icon-hover, #ffffff);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.header-nav-item span {
    color: var(--menu-text, #ffffff);
    transition: all 0.3s ease;
}

.header-nav-item:hover span {
    color: var(--menu-text-hover, #ffffff);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Botón Menú Móvil */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--mobile-icon, #ffffff);
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Menú Móvil Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.mobile-menu-logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.mobile-nav-item i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.mobile-menu-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.donde-nos-escuchan-mobile {
    display: block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.donde-nos-escuchan-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
}

.credits-mobile {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.credits-mobile a {
    color: #ffffff;
    text-decoration: none;
}

.credits-mobile a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .header-nav-item span {
        display: none;
    }

    .header-nav-item {
        padding: 10px 12px;
    }
}

@media screen and (max-width: 860px) {
    .main-header {
        height: 80px;
    }

    .header-container {
        padding: 0 15px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-site-name {
        font-size: 25px;
    }

    .header-logo-img {
        height: 45px;
    }
}

@media screen and (max-width: 480px) {


    .main-header {
        height: 60px;
    }



    .header-site-name {
        font-size: 22px;
    }
}