@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    background-image: url('images/bg-long.webp');
    background-repeat: repeat-y;
    background-position: center top;
    background-attachment: scroll;
    background-size: 1680px auto;
    font-family: 'Montserrat', sans-serif;
    color: #111;
}

.hide{display: none !important}
.info-libro{font-weight: 400;}

/* ==========================================
   ESTRUCTURA GENERAL Y CONTENEDOR
   ========================================== */
.site-wrapper {
    max-width: 1680px;
    margin: 0 auto;
}

.main-content {
    max-width: 1080px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 40px 50px;
}

/* ==========================================
   HEADER Y FOOTER
   ========================================== */
.site-header {
    background-color: transparent;
    text-align: center;
    padding: 25px 0 15px 0;
}

.logo img {
    width: auto;
}

.main-nav ul, 
.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav ul {
    margin-top: 15px;
}

/* Enlaces y animación hover de subrayado */
.main-nav a, 
.footer-nav a, 
.noticia-texto a {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 3px;
}

.main-nav a::after, 
.footer-nav a::after, 
.noticia-texto a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: #111;
    transition: width 0.25s ease-in-out;
}

.main-nav a:hover::after, 
.footer-nav a:hover::after, 
.noticia-texto a:hover::after {
    width: 100%;
}

.main-nav .sub-nav, 
.footer-nav .sub-nav {
    margin-top: 8px;
    gap: 25px;
}

.main-nav .sub-nav a, 
.footer-nav .sub-nav a {
    font-size: 12px;
    color: #444;
}

.site-footer {
    background-color: transparent;
    text-align: center;
    padding: 40px 0;
}

.footer-nav {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icons img:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 11px;
    color: #555;
}

/* ==========================================
   COMPONENTES COMUNES (Banners, Títulos)
   ========================================== */
.banner-placeholder {
    width: 100%;
    height: 140px;
    background-color: #00aa00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    margin-bottom: 40px;
}

.seccion-titulo {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    margin: 40px 0 20px 0;
    position: relative;
}

.seccion-titulo::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #ccc;
    margin: 8px auto 0 auto;
}

/* ==========================================
   GRID DE NOTICIAS
   ========================================== */
.grid-noticias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.noticia-imagen img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.noticia-texto h3 {
    font-size: 12px;
    font-weight: 700;
    margin: 10px 0 5px 0;
    color: #111;
    line-height: 1.3;
    text-transform: uppercase;
}

.noticia-texto a, 
.noticia-texto a:active, 
.noticia-texto a:hover {
    color: black;
}

.noticia-texto p {
    color: #444;
    font-size: 13px;
    line-height: 1.3;
}

/* ==========================================
   GRID DE CATÁLOGO Y TARJETAS
   ========================================== */
.grid-catalogo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.grid-catalogo-index {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.catalogo-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.catalogo-img {
    position: relative;
    overflow: hidden;
}

.catalogo-img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.catalogo-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 170, 0, 0.2);
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    pointer-events: none;
}

.catalogo-card:hover .catalogo-img::after {
    opacity: 1;
}

.catalogo-info {
    background-color: #6b6375;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    padding: 8px 5px;
    margin-top: -3px;
    font-weight: 600;
}

.ver-mas-card {
    background-color: #6b6375;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    transition: background-color 0.2s;
}

.ver-mas-card:hover {
    background-color: #554d60;
}

.ver-mas-content span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* ==========================================
   SECCIÓN ARTISTAS
   ========================================== */
.submenu-abc {
    margin: 20px 0 40px 0;
}

.submenu-abc ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.submenu-abc a {
    text-decoration: none;
    color: #444;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s;
}

.submenu-abc a:hover {
    background-color: #111;
    color: #fff;
}

.grid-artistas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    margin-bottom: 50px;
}

.artista-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.artista-foto {
    width: 100%;
    margin-bottom: 12px;
}

.artista-foto img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.artista-info h3 {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.artista-obras {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.artista-obras li a {
    text-decoration: none;
    font-size: 10px;
    color: #555;
    line-height: 1.3;
    transition: color 0.2s;
}

.artista-obras li a:hover {
    color: #000;
    text-decoration: underline;
}

/* ==========================================
   SECCIÓN NOSOTROS
   ========================================== */
.nosotros-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.texto-bloque {
    margin-bottom: 30px;
}

.texto-bloque p {
    font-size: 15px;
    line-height: 1.3;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.nosotros-imagen-full {
    width: 100%;
    margin: 30px 0;
}

.nosotros-imagen-full img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.firma-autor {
    font-weight: 700;
    text-align: right !important;
    margin-top: 25px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ==========================================
   FICHA DE CATÁLOGO Y GALERÍA
   ========================================== */
.ficha-container {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.ficha-col-izquierda {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ficha-portada {
    cursor: pointer;
    overflow: hidden;
}

.ficha-portada img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ficha-portada:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

.ficha-botones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-accion {
    display: block;
    background-color: #6b6375;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 10px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.btn-accion:hover {
    background-color: #554d60;
}

.ficha-col-derecha {
    flex: 1;
}

.ficha-titulo-obra {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.ficha-excerpt-title {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 12px;
}

.galeria-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.galeria-thumb {
    cursor: pointer;
    overflow: hidden;
}

.galeria-thumb img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.galeria-thumb img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Citas / Reseñas en Ficha */
.ficha-cita-bloque {
    margin-top: 30px;
}

.ficha-cita-texto {
    font-size: 18px;
    font-style: italic;
    line-height: 1.4;
    color: #222;
    font-weight: 400;
    padding-top: 15px;
}

.ficha-cita-firma {
    text-align: center;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ficha-cita-firma a {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.ficha-cita-firma a:hover {
    color: #000;
    text-decoration: underline;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================
   INFO TÉCNICA DEL LIBRO (FICHA)
   ========================================== */
.info-libro {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.info-paginas {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.3px;
}

.info-detalles {
    font-size: 11px;
    color: #444;
    font-weight: 600;
}

.info-salida {
    font-size: 11px;
    color: #555;
    font-style: italic;
    margin-top: 2px;
}

/* ==========================================
   RESPONSIVE (MÓVIL Y TABLET)
   ========================================== */
@media screen and (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }

    .grid-noticias,
    .grid-catalogo,
    .grid-artistas {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .grid-catalogo-index {
        /* grid-template-columns: repeat(3, 1fr); */
		grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .main-nav ul, 
    .footer-nav ul {
        gap: 10px;
    }

    .main-nav a, 
    .footer-nav a {
        font-size: 11px;
    }

    .ficha-container {
        flex-direction: column;
        gap: 25px;
    }

    .ficha-col-izquierda {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .galeria-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   ESTILOS GENERALES PARA LISTAS (UL / LI)
   ========================================== */
.contenido-lista {
    list-style: none; /* Elimina los puntos por defecto */
    margin: 15px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espaciado limpio y uniforme entre elementos */
}

.contenido-lista li {
    position: relative;
    padding-left: 15px; /* Espacio para un marcador personalizado opcional */
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* Opcional: Pequeño indicador gráfico sutil acorde al diseño */
.contenido-lista li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b6375; /* Tono acorde a los bloques secundarios de la web */
    font-weight: 700;
}

/* Enlaces dentro de bloques de texto (como en Nosotros o Fichas) */
.texto-bloque p a,
.ficha-col-derecha p a {
    color: #111;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.texto-bloque p a:hover,
.ficha-col-derecha p a:hover {
    color: #00aa00; /* O el color de realce que prefieras en hover */
}