:root {
    --fondo-crema: #f9f8f4;
    --texto-oscuro: #2c2c2c;
    --boton-arena: #d7bc91;
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-textos: 'Montserrat', sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

.cabecera-doble {
    width: 100%;
    position: relative;
    z-index: 10;
}

body { 
    background-color: var(--fondo-crema);
    color: var(--texto-oscuro);
    font-family: var(--fuente-textos);
}


.navbar-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 12%; 
    background-color: #e5e0d8; 
}
.navbar-principal .enlaces a:hover, 
.navbar-principal .enlaces a.activo {
    color: #cda434; 
}
.navbar-info {
    background-color: #222222; 
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar-info span {
    font-weight: 300;
}
.navbar-principal .enlaces a {
    color: #000000; 
    margin-left: 25px;
    text-decoration: none;
    
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px; 
    
    transition: color 0.3s ease;
}
.navbar {
    background-color: #222222; 
}

.logo-contenedor {
    display: flex;
    align-items: center;
    gap: 15px; 
    text-decoration: none;
}
.logo-img {
    height: 65px; 
    width: auto;
}
.logo-texto {
    font-family: var(--fuente-titulos);
    font-size: 26px;
    letter-spacing: 2px;
    color: #120F07; 
}
.enlaces a {
    color: #ffffff; 
}

.enlaces a:hover, .enlaces a.activo {
    color: var(--boton-arena); 
}
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    padding-left: 8%;
    overflow: hidden; 
}
.hero:hover {
    background-size: 105%;
}

@keyframes moverFondo {
    0% { background-position: left center; background-size: 110%; }
    100% { background-position: right center; background-size: 115%; }
}

.logo img {
    max-height: 40px; 
    width: auto;
    display: block;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 80%);
    z-index: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-family: var(--fuente-titulos);
    font-size: 46px;
    font-weight: 400;
    color: #ffffff; 
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 35px;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.2);
}

.btn-arena {
    display: inline-block;
    background-color: var(--boton-arena);
    color: var(--texto-oscuro);
    padding: 16px 35px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-arena:hover {
    background-color: #c7a97b;
}

.categorias {
    padding: 50px 60px;
    background-color: var(--fondo-crema);
}

.titulos-categorias {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #e5e1d8;
    padding-bottom: 25px;
    margin-bottom: 40px;
}

.titulos-categorias h2 {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.galeria-marcos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    height: 300px;
}

.marco-item {
    border-radius: 2px;
}
.cinta-informativa {
    background-color: #222222; 
    color: #ffffff;
    padding: 15px 0;
    overflow: hidden; 
    white-space: nowrap;
    display: flex;
    font-family: var(--fuente-textos);
    font-size: 13px;
    letter-spacing: 1px;
}

.cinta-contenido {
    display: flex;
    animation: scrollCinta 30s linear infinite; 
}

.cinta-contenido a {
    margin: 0 40px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none; 
    transition: color 0.3s ease;
}

.cinta-contenido a:hover {
    color: var(--boton-arena);
}

.cinta-informativa:hover .cinta-contenido {
    animation-duration: 120s; 
}

@keyframes scrollCinta {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}


.hero-imagen-fondo {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; 
    background-image: url('../assets/sala-fondo.png'); 
    background-size: cover; 
    background-position: center;
    transition: transform 1.2s ease-out; 
    transform: scale(1); 
}
.hero:hover .hero-imagen-fondo {
    transform: scale(1.1);
}

.promesa-contenedor {
    text-align: center;
    padding: 60px 20px;
    background-color: #fcfbf9; 
    border-top: 1px solid #dcd7ce;
    border-bottom: 1px solid #dcd7ce;
    margin-top: 80px; 
}

.promesa-subtitulo {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 15px;
    font-weight: 500;
}

.promesa-titulo {
    font-family: var(--fuente-titulos);
    font-size: 34px;
    color: #111111;
    font-weight: 500;
}

.footer-completo {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr; 
    background-color: #fcfbf9;
    border-bottom: 1px solid #dcd7ce;
}

.footer-izq { border-right: 1px solid #dcd7ce; }
.footer-centro { border-right: 1px solid #dcd7ce; padding: 50px 40px; }
.footer-der { padding: 50px 40px; }

.footer-izq-arriba {
    padding: 50px 40px;
    border-bottom: 1px solid #dcd7ce;
}

.footer-izq-abajo {
    padding: 50px 40px;
}

.footer-completo h3 {
    font-family: var(--fuente-titulos);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #111111;
}

.footer-completo p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #444444;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-enlaces-ayuda a {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #111111;
    text-decoration: none;
    margin-right: 25px;
    border-bottom: 1px solid #111111; 
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.footer-enlaces-ayuda a:hover {
    color: #cda434;
    border-bottom-color: #cda434;
}

.footer-logo-texto {
    font-family: var(--fuente-titulos);
    font-size: 38px;
    color: #111111;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-redes {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.siguenos-texto {
    font-weight: 600;
    color: #111111;
}

.footer-redes a {
    color: #444444;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-redes a:hover {
    color: #cda434;
}

.footer-bloque {
    margin-bottom: 45px;
}

.footer-bloque h4 {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: #111111;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-bloque a {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555555;
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.footer-bloque a:hover {
    color: #cda434;
}

@media (max-width: 850px) {
    .navbar-principal {
        flex-direction: column; 
        padding: 20px 5%;
        gap: 15px;
    }
    
    .navbar-principal .enlaces {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px;
    }

    .navbar-principal .enlaces a {
        margin-left: 0;
        font-size: 13px;
    }

    .navbar-info {
        flex-direction: column;
        gap: 8px;
        padding: 12px 5%;
    }

    .navbar-info span:nth-child(even) {
        display: none; 
    }
    .promesa-titulo {
        font-size: 26px;
    }

    .footer-completo {
        grid-template-columns: 1fr; 
    }

    .footer-izq, .footer-centro {
        border-right: none;
        border-bottom: 1px solid #dcd7ce;
    }

    .footer-izq-arriba, .footer-izq-abajo, .footer-centro, .footer-der {
        padding: 30px 20px;
        text-align: center;
    }

    .footer-redes {
        justify-content: center;
    }
}