/*
    ============================================================================
    SISTEMA MEMORIA: HOJA DE ESTILO MAESTRA
    ACTIVO: Archivo Sensorial - Cócteles Prohibidos
    VERSIÓN: 2.0
    ENTIDAD RESPONSABLE: LUX ÉTER / LUMENIS
    ============================================================================
*/

/* --- VARIABLES DE DISEÑO --- */
:root {
    --color-fondo: #050505;
    --color-texto-principal: #F3EFEA;
    --color-texto-secundario: rgba(243, 239, 234, 0.7);
    --color-acento: #D4AF37; /* Dorado / Ámbar */
    --font-titulos: 'Cinzel', serif;
    --font-cuerpo: 'Lora', serif;
}

/* --- ESTILOS BASE Y DE FONDO --- */
body {
    background-color: var(--color-fondo);
    color: var(--color-texto-principal);
    font-family: var(--font-cuerpo);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.body-index {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Evita barras de scroll en la página principal */
}

#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 80px, rgba(0,0,0,0.88) 250px);
    pointer-events: none;
    z-index: 100;
}

#smoke-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.smoke-puff {
    position: absolute;
    bottom: -200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: rise-and-fade linear infinite;
}

@keyframes rise-and-fade {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    25% { opacity: 1; }
    100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

/* --- PÁGINA PRINCIPAL --- */
.escena-bar {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('https://i.imgur.com/3d2c6gf.png') no-repeat center center;
    background-size: cover;
    transition: background-position 0.1s ease-out;
}

.titulo-principal {
    text-align: center;
    margin-bottom: 2rem;
}

.titulo-principal h1 {
    font-family: var(--font-titulos);
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-texto-principal);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.barra-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 80%;
    max-width: 1000px;
    height: 300px;
}

.barra {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    height: 100%;
    width: 100%;
    background: url('https://i.imgur.com/Z8w8f3z.png') no-repeat bottom center;
    background-size: contain;
    padding-bottom: 20px;
}

.botella {
    width: 45px;
    height: 160px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
    cursor: pointer;
}

.botella:hover {
    transform: translateY(-15px) scale(1.1);
    filter: drop-shadow(0 0 15px var(--color-acento));
}

.nombre-coctel {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-acento);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-titulos);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.cta-container {
    margin-top: 4rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cta-link, .cta-button {
    font-family: var(--font-titulos);
    color: var(--color-texto-principal);
    text-decoration: none;
    border: 1px solid rgba(243, 239, 234, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-link:hover, .cta-button:hover {
    background-color: var(--color-acento);
    color: var(--color-fondo);
    border-color: var(--color-acento);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.cta-link:focus-visible,
.cta-button:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-texto-principal);
    outline-offset: 4px;
}

.cta-button {
    background: transparent;
}


/* --- PÁGINA VISIÓN DEL ARCHIVO --- */
.vision-container {
    width: 100%;
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vision-content {
    max-width: 900px;
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.vision-content .text-4xl {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.1;
}

.vision-content .text-3xl {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
}

.vision-content .text-xl {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.vision-content .text-lg {
    font-size: clamp(1rem, 2.25vw, 1.125rem);
}

.vision-content h1, .vision-content h2, .vision-content h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-acento);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.vision-content p {
    font-family: 'Lora', serif;
    color: var(--color-texto-secundario);
    line-height: 1.8;
    max-width: 700px;
    margin: 1.5rem auto;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.timeline-item i {
    color: var(--color-acento);
    margin-bottom: 1rem;
}

.timeline-item h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--color-texto-principal);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    margin: 0;
}

.elegant-divider-vision {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-acento), transparent);
    border: 0;
    margin: 3rem auto;
    opacity: 0.5;
}

@media (max-width: 640px) {
    .vision-container {
        padding: 4rem 1rem 1.5rem;
    }

    .vision-content {
        padding: 2rem 1rem;
        border-radius: 8px;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    #spotlight {
        background: rgba(0, 0, 0, 0.45);
    }
}
