/* ==========================================
   RESET GLOBAL Y COMPATIBILIDAD MULTIDISPOSITIVO
   Paleta: 
   - Negro carbón: #111111
   - Dorado: #C9A24D
   - Blanco hueso: #F7F5F0
   - Gris grafito: #2B2B2B
   - Gris cálido claro: #D9D5CC
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif; /* Tipografía limpia para textos generales */
    background-color: #F7F5F0; /* Fondo Blanco Hueso (reemplaza la imagen de fondo) */
    color: #111111; /* Texto principal en Negro Carbón */
}
h3 {
    color: #111111;
    font-family: Georgia, 'Playfair Display', 'Times New Roman', serif; /* Serif elegante para títulos */
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    font-weight: bold;
    margin: 30px 10px;
}

/* ==========================================
   ANIMACIÓN DEL LOGO
   ========================================== */
@keyframes glow {
    0% { filter: drop-shadow(0 0 5px #C9A24D); }
    50% { filter: drop-shadow(0 0 15px #C9A24D); }
    100% { filter: drop-shadow(0 0 5px #C9A24D); }
}

/* ==========================================
   BARRA DE NAVEGACIÓN (DESKTOP)
   ========================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: #111111; /* Fondo Negro Carbón */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 2px solid #C9A24D; /* Acento en Dorado */
}
/* Estilo para el logo */
.navbar img.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    animation: glow 2s infinite alternate;
    display: block;
}
/* Estilos de la lista de navegación para centrarla */
.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    padding: 0;
}
.navbar a {
    text-decoration: none;
    color: #F7F5F0; /* Texto Blanco Hueso */
    cursor: pointer;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(201, 162, 77, 0.3);
    border: 1px solid #C9A24D; /* Borde en Dorado */
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.navbar a:hover {
    background-color: #C9A24D; /* Fondo Dorado en hover */
    color: #111111; /* Texto oscuro al pasar el cursor */
    box-shadow: 0px 2px 8px rgba(201, 162, 77, 0.8);
}
/* Menús Desplegables */
.dropdown-container {
    position: relative;
}
.dropdown {
    position: absolute;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #C9A24D;
    box-shadow: 0px 4px 6px rgba(201, 162, 77, 0.4);
    padding: 10px;
    display: none;
    flex-direction: column;
    min-width: 260px;
    top: 100%;
    left: 0;
}
.dropdown a {
    padding: 8px 12px;
    text-decoration: none;
    color: #F7F5F0;
    display: block;
    border-radius: 5px;
    box-shadow: none;
    border: none;
}
.dropdown a:hover {
    background-color: #2B2B2B; /* Fondo Gris Grafito en hover */
    color: #C9A24D; /* Acento Dorado */
}
.dropdown p {
    font-size: 0.9rem;
    color: #D9D5CC; /* Gris cálido para texto secundario */
    margin: 5px 0;
    line-height: 1.4;
}
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #C9A24D;
    box-shadow: 0px 4px 6px rgba(201, 162, 77, 0.4);
    padding: 10px;
    min-width: 260px;
}
.show {
    display: flex !important;
}

/* ==========================================
   SECCIÓN BANNER (ADAPTABLE AL TAMAÑO DEL VIDEO)
   ========================================== */
.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
    padding: 0 15px;
    width: 100%;
}

.banner video {
    width: 100%;
    max-width: 800px;  /* Ancho máximo permitido en pantallas grandes */
    max-height: 70vh;  /* Evita que videos verticales muy altos sobrepasen la pantalla */
    height: auto;      /* Conserva la proporción original del archivo de video */
    object-fit: contain; /* Garantiza que todo el video se vea completo sin recortarse */
    border-radius: 10px;
    border: 1px solid #D9D5CC;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Ajuste de margen superior para pantallas móviles */
@media screen and (max-width: 768px) {
    .banner {
        margin-top: 140px;
    }
}

/* ==========================================
   SECCIÓN EVENTO DEL MES
   ========================================== */
.eventomes {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 60px;
    padding: 0 15px;
}
.EM {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
}
.EM img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #D9D5CC;
}

.texto {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: #F7F5F0;
    background: rgba(17, 17, 17, 0.9); /* Fondo Negro Carbón traslúcido */
    padding: 12px 18px;
    border-radius: 6px;
    border-top: 2px solid #C9A24D; /* Línea dorada superior */
    width: 80%;
}

.texto h1 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin: 0;
    color: #C9A24D; /* Título pequeño en dorado */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto p {
    font-size: 0.85rem;
    color: #D9D5CC;
    margin: 5px 0 0 0;
}

/* ==========================================
   SWIPER / GALERÍA
   ========================================== */
.swiper {
    width: 90%;
    max-width: 1000px;
    height: 380px;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 40px;
    background-color: #2B2B2B; /* Fondo Gris Grafito para tarjetas/galería */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.swiper-slide:hover img {
    transform: scale(1.03);
}

.overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #F7F5F0;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(17, 17, 17, 0.85);
    border-left: 3px solid #C9A24D;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
}

/* ==========================================
   PIE DE PÁGINA (FOOTER)
   ========================================== */
.site-footer {
    background-color: #111111; /* Fondo Negro Carbón */
    color: #F7F5F0;
    padding: 40px 20px 20px;
    border-top: 2px solid #C9A24D; /* Línea dorada superior */
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #2B2B2B;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #C9A24D; /* Títulos del footer en dorado */
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;     
}

.footer-logo .logo-img {
    max-width: 140px;
    height: auto;
    margin-bottom: 12px;
}

.footer-logo .company-desc {
    font-size: 0.9rem;
    color: #D9D5CC; /* Texto secundario en Gris Cálido */
    margin: 0;
}

.footer-emails ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-emails li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #D9D5CC;
}

.footer-emails a {
    color: #C9A24D; /* Enlaces en dorado */
    text-decoration: none;
}

.footer-emails a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: #D9D5CC;
}

.legal-links {
    margin-bottom: 10px;
}

.legal-links a {
    color: #D9D5CC;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    color: #C9A24D;
    text-decoration: underline;
}

.copyright a {
    color: #C9A24D;
    text-decoration: none;
}

/* ==========================================
   ADAPTACIÓN RESPONSIVA (MÓVILES Y TABLETS)
   ========================================== */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .navbar a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .dropdown, .submenu {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border: 1px solid #2B2B2B;
    }

    .banner {
        margin-top: 150px;
    }

    .swiper {
        width: 95%;
        height: 280px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}