﻿
.navbar {
    height: 65px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0 25px;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

    .navbar:hover {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    gap: 12px;
}

    .navbar-brand img {
        height: 45px;
    }

    .navbar-brand span {
        font-size: 20px;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: 0.5px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    }

.navbar-nav {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

    .navbar-nav a {
        color: #555;
        text-decoration: none;
        font-size: 1rem;
        padding: 10px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .navbar-nav a:hover,
        .navbar-nav a.active {
            color: white;
            background: linear-gradient(135deg, #3498db, #2e5d3b);
            box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
            transform: translateY(-2px);
        }

    .navbar-nav .cerrar-sesion {
        color: #e74c3c !important;
        font-weight: 600;
    }

        .navbar-nav .cerrar-sesion:hover {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white !important;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        }

/* Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
    }

    .navbar-brand span {
        font-size: 18px;
    }

    .navbar-nav {
        gap: 10px;
    }

        .navbar-nav a {
            padding: 8px 12px;
            font-size: 0.9rem;
        }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
    }

    .navbar-brand {
        margin-bottom: 10px;
    }

    .navbar-nav {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        border-top: 1px solid #eee;
        gap: 8px;
    }

        .navbar-nav a {
            padding: 10px;
            font-size: 0.9rem;
            text-align: center;
            justify-content: center;
        }
}
