:root {
    --primary-color: #A31F2A; /* Rojo oscuro */
    --secondary-color: #333; /* Gris oscuro */
    --accent-color: #FFC107; /* Amarillo */
    --bg-color: #f4f4f4;
    --text-color: #444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header & Nav */
header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
    margin-top: -10px;
    margin-bottom: -10px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0; /* Asegurarse de que no haya margin por defecto */
    padding: 0; /* Asegurarse de que no haya padding por defecto */
}

.nav-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Hero Section con Video de Fondo */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #8e1a24;
}

/* Content Sections */
.content-section {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.content-section .text-block {
    flex: 1;
    min-width: 300px;
}

.content-section .image-block {
    flex: 1;
    min-width: 300px;
}

.content-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section ul {
    list-style: none;
    margin-top: 1rem;
}

.content-section ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A31F2A" width="24px" height="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    background-size: 1.5rem;
}

/* Event Types Section */
.event-types {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
}

.event-types h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.event-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.event-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
}

/* Gallery Section */
.gallery-section {
    text-align: center;
    padding: 4rem 2rem;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer; /* Agregamos cursor pointer para indicar que es clickeable */
    transition: transform 0.3s;
}

.image-grid img:hover {
    transform: scale(1.03); /* Ligeramente más sutil que 1.05 */
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form button {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background: #8e1a24;
}

.map-container {
    margin-top: 2rem;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Estilos para los botones flotantes de WhatsApp */
.whatsapp-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.whatsapp-btn {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
    filter: invert(100%);
}

.whatsapp-btn .tooltip {
    visibility: hidden;
    width: 120px;
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap; /* Evita que el texto del tooltip se rompa */
}

.whatsapp-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 60px; /* Location of the box (top) */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {
    .content-section, .content-section.reverse {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Menú Hamburguesa */
    .nav-list {
        display: none; /* Ocultar lista en mobile por defecto */
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 80px; /* Ajustar según la altura del header */
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 1rem 0;
    }

    .nav-list.active {
        display: flex; /* Mostrar cuando está activo */
    }

    .nav-list li {
        text-align: center;
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex; /* Mostrar hamburguesa en mobile */
    }

    /* Animación de la hamburguesa */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .whatsapp-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}