/* FUENTES */
@font-face {
    font-family: 'Furore';
    src: url('Furore.otf') format('opentype'),
         url('Furore.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #0c0c0c;
    --text-color: #f0f0f0;
    --font-titles: 'Furore', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --pretix-widget-primary-color: #f0f0f0;
    --pretix-widget-background-color: transparent;
    --pretix-widget-text-color: #f0f0f0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0; padding: 0;
    text-align: center;
    transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out;
}

body.light-mode {
    --bg-color: #ffffff;
    --text-color: #111111;
    --pretix-widget-primary-color: #111111;
    --pretix-widget-text-color: #111111;
}
body.light-mode #brand-logo { filter: invert(1); }

/* HERO SECTION */
.hero-section {
    width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#brand-logo {
    max-width: 400px;
    width: 85%; 
    height: auto;
    display: block; 
}

/* INFO CONTACTO */
.contact-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.contact-details p { margin: 0; padding: 0; font-size: 1.1rem; margin-bottom: 20px; }

/* REDES ANTI-BLOQUEO */
.links-contacto-row {
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.item-contacto {
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    transition: transform 0.2s, opacity 0.2s;
    border: 1px solid transparent; 
}

.item-contacto svg { display: block; fill: currentColor; min-width: 20px; }
.item-contacto:hover { transform: translateY(-2px); opacity: 0.8; background-color: rgba(128,128,128, 0.1); border-radius: 4px; }

/* SCROLL */
.scroll-indicator {
    margin-top: 50px;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.5;
    cursor: default;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* AGENDA */
#agenda {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 60vh;
}
#agenda h3 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 3px;
    width: 100%;
}
.pretix-widget-wrapper { width: 100%; }

/* FOOTER */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(128,128,128, 0.2);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.legal-links { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 20px; 
    flex-wrap: wrap;
    width: 100%;
}

.boton-legal {
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--text-color);
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
    font-family: var(--font-body);
}
.boton-legal:hover { background: var(--text-color); color: var(--bg-color); }

/* NUEVOS LINKS DE TEXTO LEGAL (TyC / Privacidad) */
.text-links-row {
    margin-top: 10px;
    font-size: 0.8rem;
}
.text-links-row a {
    color: var(--text-color);
    opacity: 0.7;
    margin: 0 10px;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}
.text-links-row a:hover { opacity: 1; border-bottom: 1px solid var(--text-color); }

.cuit-info {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 5px;
}

/* --- ESTILOS PARA PÁGINAS LEGALES (Terminos/Privacidad) --- */
body.legal-page {
    background-color: #0c0c0c !important; /* Siempre oscuro */
    color: #f0f0f0 !important;
    text-align: left !important;
}

.nav-bar {
    background-color: #000;
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.btn-volver {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-volver:hover { background: #fff; color: #000; }

.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}
.legal-container h1 { font-family: 'Furore', sans-serif; font-size: 1.8rem; margin-bottom: 10px; text-transform: uppercase; color: #fff; }
.legal-container h2 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 5px; color: #eee; }
.legal-container p, .legal-container ul { font-family: 'Montserrat', sans-serif; font-size: 1rem; color: #ccc; margin-bottom: 15px; }
.legal-container strong { color: #fff; }
.legal-container li { margin-bottom: 8px; }