/* CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif; 
    background-color: #FFFFFF;
    color: #1A1A1A;
    overflow-x: hidden;
}

/* NAVEGACIÓN Y CABECERA */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.logo img {
    height: 190px; 
    width: auto;
    display: block;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}
nav ul li a {
    text-decoration: none;
    color: #1A1A1A;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 0;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #A37A52;
}

/* CONTENEDOR DE LA GALERÍA */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5% 100px 5%;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* ESTRUCTURA DE CADA FILA DE OBRA */
.artwork-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.artwork-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* COLUMNA DE LA IMAGEN */
.artwork-image-box {
    flex: 1;
    max-width: 480px;
    display: flex;
    justify-content: center;
}
.artwork-image-box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-radius: 2px;
    transition: transform 0.4s ease;
}
.artwork-image-box img:hover {
    transform: scale(1.02);
}

/* COLUMNA DE DETALLES Y TEXTOS */
.artwork-details {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.artwork-details h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.8rem;
    font-weight: 400;
    color: #A37A52;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* LISTA TÉCNICA */
.tech-sheet {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4A4A4A;
}
.tech-sheet strong {
    color: #1A1A1A;
}

/* RESEÑA POÉTICA */
.artwork-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #2A2A2A;
    font-style: italic;
    margin-top: 10px;
    border-left: 2px solid #E6CCB2;
    padding-left: 15px;
}

/* SUGERENCIA DE ESPACIO */
.space-suggestion {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
}

/* BOTÓN DE ADQUISICIÓN */
.btn-acquire {
    display: inline-block;
    align-self: flex-start;
    background-color: #58181A;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 14px 28px;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}
.btn-acquire:hover {
    background-color: #3D1011;
}

/* ====== NUEVOS ESTILOS PARA LA SECCIÓN EXPERIENCIA (CONTEMPLAR) ====== */
.pantalla-experiencia {
    width: 100%;
    padding: 60px 5%;
    background-color: #1A1A1A; /* Fondo oscuro elegante para Raizarte */
    color: #FFFFFF;
    display: flex;
    justify-content: center;
}

.bloque-contenido-original {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: row; /* Se alinea en fila horizontal en pantallas grandes */
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.contenedor-arte-fijo {
    flex: 1;
    max-width: 400px;
}

.contenedor-arte-fijo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.titulo-concepto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #E5C158; /* Dorado Raizarte */
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 10px;
}

/* CONTENEDOR NUEVO DEL VIDEO: CENTRADO, VISIBLE Y PROTEGIDO */
.contenedor-video-seguro {
    flex: 1;
    max-width: 380px;
    width: 100%;
    height: 520px;
    position: relative;
    z-index: 5;
}

.contenedor-video-seguro iframe {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* RESPONSIVE GENERAL */
@media (max-width: 900px) {
    .artwork-row, .artwork-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .artwork-details {
        align-items: center;
    }
    .artwork-details h2 {
        font-size: 2.2rem;
    }
    .artwork-description {
        border-left: none;
        padding-left: 0;
    }
    .btn-acquire {
        align-self: center;
    }
    
    /* Adaptación para celulares de la sección Contemplar */
    .bloque-contenido-original {
        flex-direction: column;
        gap: 30px;
    }
    .contenedor-video-seguro {
        width: 100%;
        max-width: 340px;
        height: 460px; /* Ajuste proporcional más cómodo para pantallas chicas */
    }
}

/* REPRODUCTOR TOTALMENTE SEGURO PARA EL PLAY DE YOUTUBE (OPCIONAL/MÚSICA) */
.reproductor-estilizado {
    position: absolute;
    top: 0;
    left: -9999px; /* Mejorado para evitar bugs de clicks fantasmas */
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* EL BOTÓN DORADO DE RAIZARTE RESTAURADO COMPLETO */
.boton-audio-control {
    background-color: #E5C158;
    color: #1A1C1E;
    border: none;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    z-index: 99;
}

.boton-audio-control:hover {
    background-color: #FFFFFF;
    color: #000000;
}
