/* ----------------- FONDO SOBRIO Y PREMIUM ----------------- */
body {
    background: #0e0e0e; /* Fondo oscuro sólido */
    color: #e5e5e5; /* Gris claro profesional */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Destellos suaves y sutiles */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02), transparent 30%),
                radial-gradient(circle at 75% 75%, rgba(13,110,253,0.02), transparent 30%);
    z-index: 0;
    pointer-events: none;
}

/* ----------------- CAROUSEL ----------------- */
/* Separar el carousel del nav */
#carouselExample {
    max-height: 500px;
    overflow: hidden;
    margin-top: 20px; /* espacio arriba para separar del nav */
}

#carouselExample .carousel-item img {
    width: 100%;
    max-height: 500px;  /* limita altura */
    object-fit: contain; /* mantiene proporción */
}

#carouselExample .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
}


/* ----------------- CARDS DE CATEGORÍAS ----------------- */
/* Estilos generales de las tarjetas */
.card {
    background: #111; /* Negro muy oscuro */
    border: 1px solid rgba(0, 255, 255, 0.15); /* Borde cian más sutil */
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.15); /* Sombras más tenues */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    color: white; /* Texto general en blanco */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5), 0 0 25px rgba(0, 255, 255, 0.3), 0 12px 30px rgba(13,110,253,0.35); /* Resplandor aumentado sutilmente */
    border-color: rgba(0, 255, 255, 0.5);
}

/* Contenedor de la imagen en las cards */
.card-img-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08); /* Borde inferior muy sutil */
    background-color: #111; /* Fondo negro */
    transition: all 0.4s ease;
}

.card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Asegura que la imagen no se descuadre */
    transition: opacity 0.3s ease;
}

/* Cuerpo de la tarjeta */
.card-body {
    background-color: #111; /* Fondo negro */
    padding: 1rem;
    text-align: center;
}

/* Estilo para el nombre (h5) dentro de la tarjeta - NEÓN SUTIL */
.card-body h5.card-title {
    color: #00FFFF; /* Color cian base */
    text-shadow:
        0 0 4px #00FFFF,   /* Sombra interior más fina */
        0 0 8px #00FFFF;  /* Sombra exterior más discreta */
    margin-bottom: 1rem;
    font-size: 1.6rem; /* Un tamaño de fuente un poco más moderado */
    font-weight: 600;
    letter-spacing: 0.5px; /* Menos espaciado entre letras */
}

/* Estilo para el botón "Ver más" */
.btn-categoria {
    background-color: #00FFFF;
    color: #111;
    border: none;
    padding: 0.7rem 1.5rem; /* Padding ligeramente reducido */
    border-radius: 50px;
    font-size: 1rem; /* Tamaño de fuente del botón */
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px #00FFFF, 0 0 12px rgba(0, 255, 255, 0.5); /* Sombras del botón más tenues */
}

.btn-categoria:hover {
    background-color: #00E5E5;
    color: #000;
    box-shadow: 0 0 10px #00FFFF, 0 0 20px rgba(0, 255, 255, 0.7); /* Resplandor aumentado pero controlado */
    transform: scale(1.03); /* Escala más sutil */
}

/* ----------------- TITULOS DE CATEGORÍAS ----------------- */
.card-body h5 {
    color: #0d6efd;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

/* ----------------- BOTONES PREMIUM ----------------- */
.btn-categoria {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.4s ease;
    padding: 10px 24px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(13,110,253,0.4);
    border: none;
}

.btn-categoria:hover {
    background: linear-gradient(135deg, #0b5ed7, #084298);
    box-shadow: 0 8px 24px rgba(13,110,253,0.5);
    transform: translateY(-3px);
}

/* ----------------- ALERTAS SOBRIAS ----------------- */
.alert-warning {
    background-color: #2e2e2e;
    color: #ffc107;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ----------------- LINKS ----------------- */
a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* ----------------- EFECTOS ADICIONALES ----------------- */
.shadow-soft {
    box-shadow: 0 6px 22px rgba(0,0,0,0.5);
}

.transition-smooth {
    transition: all 0.4s ease;
}

/* ----------------- DETALLE TIPOGRAFICO ----------------- */
small, .text-muted {
    color: #aaaaaa;
}
