/* Variables de Color (Estética Minimalista / Data) */
:root {
    --bg-color: #faf9f6; /* Off-white / Papel antiguo */
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
    --accent-color: #2b4c3b; /* Verde bosque oscuro */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Fira Code', monospace; /* Fuente por defecto: Código */
}

/* Tipografía Elegante para Títulos */
.brand-font {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
}

/* Redefinición de enlaces de navegación */
.navbar-nav .nav-link {
    font-size: 0.9rem;
    color: var(--text-main) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    text-decoration: line-through; /* Efecto hacker/editorial sutil */
}

/* Selector de idiomas */
.lang-selector a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.lang-selector a.active {
    color: var(--text-main);
    font-weight: bold;
}

/* Arte ASCII */
.ascii-container {
    overflow-x: hidden;
}
.ascii-text {
    font-size: 8px; /* Pequeño para que el arte encaje bien */
    line-height: 9px;
    color: var(--accent-color);
    font-weight: bold;
}

/* Botón personalizado */
.btn-custom-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    border-radius: 0; /* Sin bordes redondeados (anti-bootstrap) */
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.btn-custom-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
}

/* Marcos de imagen y tarjetas */
.image-frame {
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
}
.placeholder-img {
    background-color: #eee;
    height: 400px;
    width: 100%;
}
.data-card {
    border-left: 2px solid var(--accent-color);
    background: white;
    transition: transform 0.2s ease;
}
.data-card:hover {
    transform: translateX(5px);
}

/* --- ESTILOS DEL LANDING PAGE --- */

/* Contenedor de pantalla completa */
.landing-container {
    min-height: 80vh; /* Ocupa casi toda la altura de la pantalla */
    padding-top: 2rem;
}

/* Arte ASCII de Paisaje Grande */
.ascii-landscape {
    font-size: 9px; /* Fuente muy pequeña para gran detalle */
    line-height: 9px;
    color: var(--accent-color);
    opacity: 0.7;
    margin-bottom: 3rem;
    white-space: pre; /* Mantiene el formato exacto */
    overflow-x: hidden; /* Evita scroll horizontal si es muy ancho */
}

/* Título Principal */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    letter-spacing: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Botón Manifiesto Prominente */
.btn-manifiesto {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    padding: 1rem 2rem;
    transition: all 0.5s ease;
    letter-spacing: 2px;
}

.btn-manifiesto:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    letter-spacing: 4px; /* Efecto de expansión sutil al pasar el mouse */
}

.btn-about {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    padding: 1rem 2rem;
    transition: all 0.5s ease;
    letter-spacing: 2px;
}

.btn-about:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    letter-spacing: 4px; /* Efecto de expansión sutil al pasar el mouse */
}

/* --- BOTÓN DONAR (navbar) --- */
.btn-donar {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.3rem 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-donar:hover {
    background-color: var(--accent-color);
    color: var(--bg-main);
}

/* --- BOTÓN DONAR (homepage) --- */
.btn-donar-home {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 1rem 2rem;
    transition: all 0.5s ease;
    letter-spacing: 2px;
}
.btn-donar-home:hover {
    background-color: var(--accent-color);
    color: var(--bg-main);
    letter-spacing: 4px;
}

/* --- ANIMACIONES DE ENTRADA SUTILES (Fade In) --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-slow { animation: fadeIn 2s ease-out forwards; opacity: 0; }
.fade-in-medium { animation: fadeIn 1.5s ease-out 0.5s forwards; opacity: 0; }
.fade-in-fast { animation: fadeIn 1s ease-out 1s forwards; opacity: 0; }

/* Ajustes para el menú secundario */
.small-brand { font-size: 1rem !important; letter-spacing: 2px; }
.secondary-menu .nav-link {
    font-size: 0.8rem; /* Mucho más pequeño */
    text-transform: lowercase; /* Más sutil */
    color: var(--text-muted) !important;
}
.secondary-menu .nav-link:hover { color: var(--accent-color) !important; }

.lang-selector-minimal a {
    font-size: 0.75rem; color: #aaa; text-decoration: none; margin: 0 2px;
}
.lang-selector-minimal a.active { color: var(--text-main); font-weight: bold; }

/* --- ESTILOS DEL MANIFIESTO Y PARALLAX --- */

.manifiesto-wrapper {
    overflow: hidden; /* Evita que los elementos parallax rompan el ancho de la página */
    min-height: 100vh;
}

/* El contenido del texto siempre al frente */
.foreground-content {
    z-index: 10;
    background-color: transparent; 
}

/* Estilo editorial para el texto del manifiesto */
.manifiesto-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #222; /* Un negro suave para lectura prolongada */
}

/* Capas Parallax Base */
.parallax-element {
    position: absolute;
    z-index: -1; /* Lo manda detrás del texto */
    will-change: transform; /* Optimización para el navegador */
}

/* Posicionamiento específico de cada elemento de fondo */
.bg-image-1 {
    top: 10%;
    right: -10%;
    width: 40%;
    opacity: 0.15; /* Muy sutil para no robar atención al texto */
}

.bg-ascii-1 {
    top: 40%;
    left: 2%;
    opacity: 0.2;
}

.bg-image-2 {
    top: 70%;
    left: -5%;
    width: 35%;
    opacity: 0.15;
}

/* Ajuste del placeholder para las imágenes en el manifiesto */
.subtle-img {
    height: 400px;
    background-color: #e5e5e5;
    border: 1px solid #ccc;
}