/*Estilos para la segunda parte del primer parcial. Artista: Rafael Lozano-Hemmer*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Barlow", sans-serif;
    background-image: url("../img/fondo.png"); /* Mantiene tu imagen si tiene transparencias */
    line-height: 1.6;
}

/* --- Contenedor Principal Centrado --- */
.contenido {
    width: 90%;
    max-width: 850px;
    margin: 40px auto;
}

/* --- Encabezado --- */
header {
    background-color: #000000;
    padding: 2rem 0;
}

.header-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

header h2 {
    font-size: 1.2rem;
    color: #888888;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* --- Menú de Navegación --- */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #aaaaaa;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid #333333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ffffff;
    background-color: #222222;
    border-color: #ffffff;
}

/* --- Secciones de Contenido --- */
main section, main aside, main article {
    background-color: #1a1a1a;
    margin-bottom: 30px;
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid #2a2a2a;
}

main aside {

    border-left: 4px solid #ffffff;
}

h3, h4 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 1px solid #333333;
    padding-bottom: 8px;
}

p {
    margin-bottom: 15px;
    color: #cccccc;
    text-align: justify;
}


img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 4px;
    border: 1px solid #333333;
}

blockquote {
    background-color: #0a0a0a;
    border-left: 3px solid #ff4500; 
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

blockquote p {
    margin-bottom: 5px;
    color: #ffffff;
}

blockquote cite {
    font-size: 0.85rem;
    color: #888888;
    font-style: normal;
    display: block;
}

/* Galería de Obras */
.lista-galeria {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.lista-galeria li {
    background-color: #111111;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #222222;
}

.lista-galeria span {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
}

.lista-galeria img {
    margin: 0 auto;
    width: 100%;
    height: auto;
}

/* Video embebido */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #333333;
    border-radius: 4px;
}

/* --- Pie de Página --- */
footer {
    background-color: #000000;
    border-top: 1px solid #222222;
    padding: 2rem 0;
    text-align: center;
    margin-top: 60px;
}

footer address {
    font-style: normal;
}

footer address p a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

footer address p a:hover {
    color: #ff4500;
}