:root {
    --primary: #c41e3a; /* Rojo Marcial */
    --accent: #d4af37; /* Dorado */
    --dark: #121212;
    --dark-grey: #1e1e1e;
    --light: #f4f4f4;
    --text-grey: #cccccc;
    --font-main: 'Roboto', sans-serif;
    --font-head: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* Typography & Utilities */
h1, h2, h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.bg-dark { background-color: var(--dark-grey); }
.highlight { color: var(--primary); }

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn:hover { background: var(--accent); color: var(--dark); }

/* Header */
#main-header {
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 { font-size: 1.5rem; letter-spacing: 2px; }

#nav-links { display: flex; gap: 20px; }
#nav-links a { font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
#nav-links a:hover { color: var(--primary); }

.lang-selector select {
    background: var(--dark-grey);
    color: white;
    border: 1px solid var(--accent);
    padding: 5px;
    border-radius: 4px;
}

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
#home {
    height: 100vh;
    background: url('images/hero.jpg') no-repeat center center/cover;
    position: relative;
    background-color: #222; 
}

.hero-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--light); }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; color: var(--accent); }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 2px solid var(--accent);
}

.about-text h2 { color: var(--primary); margin-bottom: 20px; font-size: 2.5rem; }
.about-text p { margin-bottom: 15px; color: var(--text-grey); }

/* Schedule Box (NUEVO) */
.schedule-box {
    background-color: var(--dark-grey);
    border: 3px solid var(--primary); 
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto; 
    text-align: center;
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.4);
}

.schedule-box h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.schedule-list {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 0; 
}

.schedule-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #333;
    display: flex;
    justify-content: space-between;
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list .day {
    font-weight: bold;
    color: var(--light);
}

.schedule-list .time {
    color: var(--primary);
    font-weight: 700;
}

.coming-soon {
    color: var(--text-grey);
    font-style: italic;
    margin-top: 15px;
    font-size: 0.95rem;
}


/* Gallery & Events (Estilos Genéricos) */
.section-title { text-align: center; margin-bottom: 40px; font-size: 2.5rem; color: var(--accent); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 4px;
}

.gallery-item img:hover { transform: scale(1.03); }

.events-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.event-card {
    background: var(--dark);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--primary);
    width: 100%;
    max-width: 500px;
}

.date {
    text-align: center;
    background: var(--dark-grey);
    padding: 10px;
    border-radius: 4px;
    min-width: 60px;
}

.date .day { display: block; font-size: 1.5rem; font-weight: bold; color: var(--light); }
.date .month { display: block; font-size: 0.8rem; color: var(--primary); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #333;
    border: 1px solid #444;
    color: white;
    font-family: inherit;
}

form button { width: 100%; }

.contact-info {
    padding-left: 20px;
    border-left: 2px solid var(--primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i { color: var(--primary); margin-top: 5px; }

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: black;
    border-top: 1px solid #333;
}
.socials a { margin: 0 10px; font-size: 1.2rem; transition: 0.3s; }
.socials a:hover { color: var(--primary); }

/* CHATBOT STYLES */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 2000;
}

#chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: var(--dark-grey);
    border: 1px solid #444;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

#chatbot-container.active { display: flex; }

#chatbot-header {
    background: var(--primary);
    padding: 10px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
}

#chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
}

.bot-message { background: #333; padding: 8px; border-radius: 8px; margin-bottom: 8px; align-self: flex-start; max-width: 80%; }
.user-message { background: var(--accent); color: black; padding: 8px; border-radius: 8px; margin-bottom: 8px; align-self: flex-end; max-width: 80%; text-align: right; margin-left: auto; }

#chatbot-input {
    display: flex;
    border-top: 1px solid #444;
}

#chatbot-input input {
    flex: 1;
    border: none;
    padding: 10px;
    background: #222;
    color: white;
    margin: 0;
}

#chatbot-input button {
    background: var(--accent);
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: black;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    #nav-links {
        display: none;
        flex-direction: column;
        background: var(--dark);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px;
    }
    #nav-links.active { display: flex; }
    .about-grid, .contact-grid { 
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-image { order: 1; }
    .about-text { order: 2; }
    .hero-content h1 { font-size: 2.5rem; }
    #chatbot-container { width: 90%; right: 5%; bottom: 80px; }
    .contact-info { padding-left: 0; border-left: none; }
}
