/* ============================
   TIPOGRAFÍAS
============================ */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #0A0C14;  /* FONDO PRINCIPAL */
    color: #FFFFFF;
}

/* Títulos usan Fira Sans */
.titulo {
    font-family: 'Fira Sans', sans-serif;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #12141F;  /* NAVBAR OSCURO */
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    border-bottom: 1px solid #1F212C;
}

/* Opciones del nav (desktop) */
.nav-links li a {
    text-decoration: none;
    color: #E0E0E0;    /* Texto claro */
    font-weight: 500;
}

.nav-links li a:hover {
    color: #5469D5;   /* Color acento */
}

/* ---------------- HAMBURGUESA ---------------- */
/* Hamburguesa */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
}

/* Animación cuando está activo */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------------- MENÚ LATERAL ---------------- */
/* Menú lateral */
.side-menu {
    width: 250px;
}

/* Estado abierto */
.side-menu.open {
    left: 0;
}

.side-menu ul {
    list-style: none;
    padding-left: 25px;
}

.side-menu ul li {
    margin-bottom: 20px;
}

.side-menu ul li a {
    text-decoration: none;
    color: #E0E0E0;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
}

.side-menu ul li a:hover {
    color: #5469D5;
}

/* ============================
   BOTONES
============================ */
.btn-primary {
    background-color: #5469D5;
    color: #FFFFFF;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: #1A1B26;
    color: #FFFFFF;
}

.btn-secondary:hover {
    opacity: 0.8;
}

/* ============================
   TARJETAS / CARDS
============================ */
.card {
    background-color: transparent;
    border-radius: 12px;
}

.evento-card {
    transition: 0.25s;
}

.evento-card:hover {
    transform: translateY(-3px);
}

.card-categoria {
    background-color: #2A2B35 !important;
    border-radius: 12px;
}

/* Íconos */
.icono-evento {
    width: 40px;
    height: 40px;
}

/* Animación suave para el mensaje de éxito */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mensaje-exito {
    animation: fadeInScale 0.3s ease-out;
}
