/* style-baralt.css */

:root {
    --paper: #f0ede6;
    --ink: #1a1a1a;
    --serif: 'Libre Baskerville', serif;
    --sans: 'Lato', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: var(--paper);
    color: var(--ink) !important;
    font-family: var(--sans);
    overflow: hidden;
}

/* Nav Sync */
.main-nav.scrolled {
    position: fixed !important;
    top: 0;
    width: 100% !important;
    background: var(--paper) !important; 
    z-index: 9999 !important;
    height: 100px; 
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.wrapper-ancestral {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* SIDEBAR IZQUIERDA */
.visual-sidebar {
    flex: 1;
    position: relative;
    background: #111;
    display: flex;
    flex-direction: column;
}

.texture-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.img-archive {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    opacity: 0.55; 
    filter: grayscale(5%) sepia(15%);
    animation: baraltSlowZoom 25s infinite alternate ease-in-out;
}

@keyframes baraltSlowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.grain-overlay {
    position: absolute;
    inset: 0 !important;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15;
    pointer-events: none;
}

.sidebar-footer {
    padding: 20px 40px;
    background: var(--paper);
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 3px;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    opacity: 0.6;
}

/* CONTENIDO DERECHA */
.content-main {
    flex: 1.2;
    background: var(--paper);
    overflow-y: auto;
    scrollbar-width: none !important;
    position: relative;
}
.content-main::-webkit-scrollbar { display: none; }

.content-scroll {
    padding: 180px 10% 100px;
    max-width: 720px;
    margin: 0 auto;
}

.entry-label {
    font-size: 8px;
    letter-spacing: 5px;
    font-weight: 700;
    opacity: 0.4;
    display: block;
    margin-bottom: 25px;
}

.baralt-title {
    font-family: var(--serif);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 50px;
}

.baralt-title i { font-style: italic; color: #666; }

.intro-text {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 60px;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.activity-item h3 { font-size: 10px; letter-spacing: 3px; margin-bottom: 15px; }
.activity-item p { font-size: 13px; line-height: 1.6; opacity: 0.6; }

/* SECCIÓN SOCIAL */
.instagram-section {
    margin: 80px 0;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.invite-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.6;
    margin-bottom: 20px;
    font-style: italic;
}

.ig-button {
    font-size: 9px;
    letter-spacing: 3px;
    text-decoration: none;
    color: var(--ink) !important;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s ease;
}

.ig-button:hover {
    opacity: 0.5;
    transform: translateX(5px);
}

/* Form Box */
.form-archive-box {
    background: rgba(0,0,0,0.03) !important;
    padding: 50px;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.input-line { margin-bottom: 30px; }
.input-line input, .input-line textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding: 12px 0;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 2px;
    outline: none;
    text-transform: uppercase;
    color: var(--ink) !important;
}

.btn-archive {
    background: var(--ink);
    color: var(--paper) !important;
    border: none;
    padding: 22px 45px;
    font-size: 10px;
    letter-spacing: 4px;
    cursor: pointer;
    transition: 0.4s;
    font-weight: 700;
}

.btn-archive:hover { background: #333; }

.baralt-footer { margin-top: 120px; font-size: 9px; letter-spacing: 3px; opacity: 0.3; }

/* --- INDICADOR DE SCROLL (FLECHA) --- */
.scroll-arrow {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    opacity: 0.5;
    transition: all 0.4s ease;
    z-index: 10000;
    cursor: pointer;
    pointer-events: auto;
}

.arrow-down {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--ink) !important;
    border-bottom: 2px solid var(--ink) !important;
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-8px) rotate(45deg); }
    60% { transform: translateY(-4px) rotate(45deg); }
}

/* Móvil */
@media (max-width: 1024px) {
    body, html { overflow: auto; }
    .wrapper-ancestral { flex-direction: column; height: auto; }
    .visual-sidebar { height: 45vh; flex: none; }
    .content-main { height: auto; overflow: visible; padding: 0; }
    .content-scroll { padding: 80px 20px 60px; }
    
    .scroll-arrow { right: 20px; bottom: 20px; }
    
    .baralt-title { 
        font-size: 30px !important; 
        line-height: 1.3; 
    }
    .intro-text { 
        font-size: 18px !important; 
        line-height: 1.6; }
    .activities-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Ocultar por defecto para evitar el parpadeo de ambos idiomas */
.lang-en, .lang-es { 
    display: none; 
}

