/* Estilos comunes para todas las páginas */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #d69e2e;
    --text-light: #ffffff;
    --text-dark: #1a202c;
    --menu-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para el menú */
.navbar {
    background-color: var(--primary-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--menu-shadow);
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Estilos para el logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1001;
    color: #1a365d;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255,255,255,0.1);
}

/* Estilos para el menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* Estilos para el botón del menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .no-scroll {
        overflow: hidden;
    }
}
