/* ===== RESET Y VARIABLES GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #d32f2f;
    --color-secondary: #1976d2;
    --color-bg: #000;
    --color-text: #fff;
    --color-light: #f9f9f9;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

/* ===== FUENTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600&family=Inter:wght@400;500;600&display=swap');

/* ===== HEADER FIJO ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-bg);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    max-height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.lang-switcher {
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.lang-switcher span {
    cursor: pointer;
    padding: 0 6px;
    color: white;
}

.lang-switcher span.active {
    color: var(--color-primary);
    font-weight: bold;
}

/* ===== HERO CON VIDEO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
    padding: 0 20px;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.hero h1 {
    font-family: 'Lora', serif;
    font-size: 2.6rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 13px 34px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.6);
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Lora', serif;
    color: var(--color-primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-bg);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== BOTÓN DE MÚSICA ===== */
.btn-music {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-music:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
    header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    .nav-links { gap: 15px; }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== SECCIÓN HISTORIA ===== */
.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.history-content p {
    margin-bottom: 20px;
}

/* ===== GALERÍA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ===== CONTACTO ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.05rem;
}

.map-container {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Botón de WhatsApp */
.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }
}
/* ===== HISTORIA VISUAL ===== */
.history-section {
    padding: 80px 20px;
    background: #050505; /* Fondo oscuro suave */
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.history-image:hover {
    transform: scale(1.02);
}

.history-text {
    color: #f0f0f0;
}

.history-text h2 {
    font-family: 'Lora', serif;
    color: #d32f2f;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: left;
}

.history-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
}

.history-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .history-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .history-text h2 {
        text-align: center;
    }
}
/* ===== HISTORIA - ESTILO NARRATIVO ===== */
.history-section {
    padding: 80px 20px;
    background: #0a0a0a; /* Fondo oscuro elegante */
    position: relative;
}

/* Opcional: imagen de fondo sutil */
.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/history/historia.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.history-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #f5f5f5;
}

.history-title {
    font-family: 'Lora', serif;
    color: #d32f2f;
    font-size: 2.4rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.history-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d32f2f;
    margin: 10px auto 0;
    border-radius: 2px;
}

.history-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.history-text p {
    margin-bottom: 20px;
}

.history-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #d32f2f;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .history-title {
        font-size: 2rem;
    }
    
    .history-text {
        font-size: 1.05rem;
    }
}