/* COPE Navbar - Estilos Globales */
/* Paleta de colores institucionales */

:root {
    /* Colores Institucionales COPE */
    --cope-blue-primary: #035684;
    --cope-blue-light: #4FA0E3;
    --cope-green-dark: #19763A;
    --cope-green-light: #7BC76A;
    --cope-yellow: #F7C942;
    --cope-yellow-light: #FFD75A;

    /* Colores de texto y fondo */
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-white: #ffffff;
    --bg-light: #F5F7F9;
    --bg-white: #ffffff;

    /* Diseño */
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* Navbar Superior */
.cope-navbar {
    background: linear-gradient(135deg, var(--cope-blue-primary) 0%, var(--cope-blue-light) 100%);
    box-shadow: 0 2px 8px rgba(3, 86, 132, 0.3);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    height: 65px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Responsive Design para Mobile */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--cope-blue-primary) 0%, var(--cope-blue-light) 100%);
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        gap: 0;
    }

    .navbar-menu.mobile-menu-open {
        display: flex;
    }

    .navbar-menu li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu li:last-child {
        border-bottom: none;
    }

    .navbar-menu a {
        font-size: 1.375rem;
        display: block;
        padding: 8px 0;
    }

    .navbar-toggle {
        display: block;
    }
}
