/* estilos.css */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    background-color: #0d0221; /* Morado muy oscuro */
    color: #00ff41; /* Verde "Matrix" o puedes usar rosa neón #ff00ff */
    font-family: 'Press Start 2P', cursive; /* Fuente pixelada */
    margin: 0;
}

header {
    background: linear-gradient(180deg, #240b36 0%, #0d0221 100%);
    padding: 20px;
    border-bottom: 4px solid #ff00ff; /* Línea neón */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #00fbff; /* Cian neón */
    text-decoration: none;
    font-size: 12px;
}

.hero {
    height: 60vh;
    background: url('fk/img/hero-bg.jpg') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 8px inset #ff00ff;
}

.hero img {
    width: 250px; /* Tu logo PNG */
    filter: drop-shadow(0 0 10px #ff00ff);
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 40px;
}

.photo-slot {
    border: 4px double #00fbff;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 30px;
    border-top: 4px solid #ff00ff;
}

.social-links a {
    margin: 0 10px;
    color: #ff00ff;
}

/* --- EFECTOS PARA LA HOME --- */

/* Contenedor de la tarjeta de categoría */
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    border: 4px solid #00fbff;
    box-shadow: 0 0 5px #00fbff;
    transition: all 0.3s ease-in-out;
}

/* Efecto al pasar el mouse sobre la tarjeta */
.category-card:hover {
    border-color: #ff00ff; /* Cambia a rosa neón */
    box-shadow: 0 0 20px #ff00ff;
    transform: scale(1.02);
    z-index: 10;
}

/* Zoom en la imagen */
.category-card img {
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.2) contrast(1.1);
}

/* Ajuste del texto sobre la imagen */
.category-overlay {
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(0deg, rgba(255,0,255,0.7) 0%, rgba(0,0,0,0) 100%);
}

/* --- ESTILOS PARA LOS POSTS DEL BLOG EN HOME --- */
.blog-home-card {
    transition: transform 0.3s;
}

.blog-home-card:hover {
    transform: translateY(-10px);
    border-color: #00ff41 !important;
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.2);
}

/* Animación simple para el texto del Hero */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.hero p {
    animation: blink 2s infinite;
}

/* Estilos para el Modal */
.modal {
    display: none; /* Escondido por defecto */
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9); /* Fondo negro semi-transparente */
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border: 4px solid #00fbff; /* Borde cian neón */
    box-shadow: 0 0 20px #ff00ff; /* Resplandor rosa */
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #00ff41; /* Verde neón */
    padding: 15px 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ff00ff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Flechas de navegación */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #00fbff;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none;
    text-decoration: none;
    text-shadow: 0 0 10px #00fbff;
    z-index: 1010;
}

.next { right: 20px; border-radius: 3px 0 0 3px; }
.prev { left: 20px; border-radius: 0 3px 3px 0; }

.prev:hover, .next:hover {
    color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    transform: scale(1.2);
}