@font-face{
    font-family: 'Avigea';
    src: url(/avigea/Avigea.woff2) format('woff2'),
         url(/avigea/Avigea.woff) format('woff'),
         url(/avigea/Avigea.ttf) format('truetype'),
         url(/avigea/Avigea.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}
*{
    margin: 0;
}
body{
    background-color: black;
    font-family: 'Avigea', sans-serif;
}
/* Banner de cookies */
.cookie-banner {
    position: fixed;
    top: 50% ;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: #000000;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 9999;
    display: none;
    animation: fadeIn 0.4s ease-out;
    max-width: 600px;
    width: 90%;
}
.cookie-banner.show {
    display: block;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.cookie-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.cookie-text {
    width: 100%;
}
.cookie-text p {
    margin-bottom: 8px;
    line-height: 1.5;
}
.cookie-text a {
    color: #000000;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-aceptar {
    background-color: #B30504;
    color: white;
}
.btn-aceptar:hover {
    background-color: #8B0403;
}
.btn-rechazar {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}
.btn-rechazar:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.menu{
    height: 80px;
    width: 100vw;
    display: flex;
    justify-content:space-between;
    align-items: center;
    position: relative;
}
.menu .logo{
    margin-left: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-top: 13px;
}
.menu .menu2{
    margin-top: 5px;
    margin-right: 50px;
    display: flex;
}
.menu .menu2 a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    letter-spacing: 2px ;
}
.menu .menu2 a:hover{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-weight: 900;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}
.section1{
    height: 80vh;
    width: 100;
    position: relative ;
    overflow: hidden;
    margin-left: 50px;
    margin-right: 50px;
}
.section1 video{
    width: 100%;
    height: 100%;
    object-fit: cover;   
    position: absolute;  
    top: 0;
    left: 0;
}
.play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(230, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.play-button:hover {
    background-color: rgba(230, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}
.play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 30px solid white;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
}
.play-button.hidden {
    display: none;
}
.section2{
    height: auto;
    width: 100;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
    letter-spacing: 2px;
}
.section2 h2{
    margin-top: 50px;
    text-align: center;
}
.section2 .texto{
    height: auto;
    width: 100%;
    margin-top: 40px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section2 .texto .txt_izq{
    height: 100%;
    width: 45%;
    display: flex;
    justify-content: center;
}
.section2 .texto .txt_dcha{
    height: 100%;
    width: 45%;
    display: flex;
    justify-content: center;
}
.section2 .logo_pequeño{
    height: 350px;
    width: 100vw;
    margin-top: 200px;
}
.section3{
    height: auto;
    margin-top: 60px;
    margin-left: 50px;
    margin-right: 50px;
}
.section3 .titulo{
    color: white;
}
.section3 .ciudades .contenedor{
    height: 180px ;
    width: 300px;
}
.section3 .ciudades{
    height: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    letter-spacing: 2px;
}
.ciudad{
    position: relative;
    height: 140px;
    width: 250px;
    border-radius: 10px;
    border: solid 2px #B30504;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column ;
    justify-content: center;
}
.ciudad h2{
    margin-top: -10px;
}
.ciudad p{
    margin-top: 15px;
}
.ciudad img{
    position: absolute;
    top: 100px;
    left: 190px;
    height: 80px;
    transform: rotate(-15deg);
}
.section3 .accion{
    height: auto;
    width: 100;
    text-align: center;
    margin-top: 40px;
}
.section3 .accion h2{
    color: #B30504;
    letter-spacing: 5px;
    font-size: 28px;
    margin-bottom: 25px;
}
.section3 a{
    background-color: #B30504;
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid #c40000;
    font-size: 18px;
}
.section3 a:hover{
    background-color: #A10101;
    color: white;
    font-weight: 900;
    border: 2px solid white;
}
.section4{
    margin-top: 80px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 50px;
}
.section4 .titulo{
    color: white;
    text-align: end;
}
.section4 .galeria{
    height: 500px;
    width: 100;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section4 .galeria .gal_centro{
    position: relative;
    height: 100%;
    width: 30%;
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.4),
        0 0 60px rgba(255, 0, 0, 0.2),
        0 0 90px rgba(255, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.section4 .galeria .gal_izq{
    position: relative;
    height: 80%;
    width: 25%;
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.4),
        0 0 60px rgba(255, 0, 0, 0.2),
        0 0 90px rgba(255, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.section4 .galeria .gal_dcha{
    position: relative;
    height: 80%;
    width: 25%;
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.4),
        0 0 60px rgba(255, 0, 0, 0.2),
        0 0 90px rgba(255, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.foto {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.foto.active {
    opacity: 1;
}
/* Estilos para las fotos de gal_izq */
.gal_izq .foto:nth-child(1) {
    background-image: url(/img/izq1.png);
}
.gal_izq .foto:nth-child(2) {
    background-image: url(/img/izq2.png);
}
.gal_izq .foto:nth-child(3) {
    background-image: url(/img/izq3.png);
}
.gal_izq .foto:nth-child(4) {
    background-image: url(/img/izq4.png);
}
.gal_izq .foto:nth-child(5) {
    background-image: url(/img/izq5.png);
}
.gal_izq .foto:nth-child(6) {
    background-image: url(/img/izq6.png);
}
/* Estilos para las fotos de gal_centro */
.gal_centro .foto:nth-child(1) {
    background-image: url(/img/centro1.png);
}
.gal_centro .foto:nth-child(2) {
    background-image: url(/img/centro2.png);
}
.gal_centro .foto:nth-child(3) {
    background-image: url(/img/centro3.png);
}
.gal_centro .foto:nth-child(4) {
    background-image: url(/img/centro4.png);
}
.gal_centro .foto:nth-child(5) {
    background-image: url(/img/centro5.png);
}
.gal_centro .foto:nth-child(6) {
    background-image: url(/img/centro6.png);
}
.gal_centro .foto:nth-child(7) {
    background-image: url(/img/centro7.png);
}
/* Estilos para las fotos de gal_dcha */
.gal_dcha .foto:nth-child(1) {
    background-image: url(/img/dcha1.png);
}
.gal_dcha .foto:nth-child(2) {
    background-image: url(/img/dcha2.png);
}
.gal_dcha .foto:nth-child(3) {
    background-image: url(/img/dcha3.png);
}
.gal_dcha .foto:nth-child(4) {
    background-image: url(/img/dcha4.png);
}
.gal_dcha .foto:nth-child(5) {
    background-image: url(/img/dcha5.png);
}
.gal_dcha .foto:nth-child(6) {
    background-image: url(/img/dcha6.png);
}
.footer{
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    flex-wrap: wrap;
}
.footer .foot_cent{
    text-align: center;
    width: 300px;
}
.footer .foot_dcha{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer .foot_dcha .correo{
    display: flex;
    width: 230px;
}
.footer .foot_dcha .telefono{
    display: flex;
    justify-content: center ;
    width: 230px;
    margin-top: 20px;
}
.footer .foot_dcha .redes{
    display: flex;
    justify-content: space-around;
    width: 300px;
    margin-top: 20px;
}
.footer .foot_dcha .correo p{
    margin-top: 7px;
    margin-left: 15px;
}
.footer .foot_dcha .telefono p{
    margin-top: 5px;
    margin-left: 15px;
    color: white ;
}
.footer .foot_izq{
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 350px;
    height: 80px;
}
.footer .foot_izq a{
    color: white;
    text-decoration: none;
}
.footer .foot_izq .col1{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer .foot_izq .col2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50px
}
/* Responsive */
@media (max-width: 1600px){
    .section4 .galeria .gal_dcha{
        width: 30%;
    }
    .section4 .galeria .gal_izq{
        width: 30%;
    }
    .section4 .galeria .gal_centro{
        width: 35%;
    }
}
@media (max-width: 1024px){
    .section4 .galeria{
        margin-top: 10px;
    }
    .section4 .galeria .gal_dcha{
        height: 60%
    }
    .section4 .galeria .gal_izq{
        height: 60%;
    }
    .section4 .galeria .gal_centro{
        height: 80%;
    }
}
@media (max-width: 1000px) {
    .menu-toggle {
        display: block;
        margin-right: 50px;
        font-size: 40px;
    }
    .menu2 {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        width: 30%;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
        min-width: 200px; /* Ancho mínimo para que se vea bien */
    }
    .menu2.active {
        max-height: 400px;
    }
    .menu2 a {
        width: 100%;
        padding: 15px 30px;
        border-bottom: 1px solid #444;
        text-align: left;
    }
    .menu2 a:last-child {
        border-bottom: none;
    }
    .menu2 a:hover {
        background-color: #B30504;
        border-radius: 0;
    }
}
@media (max-width: 800px){
    .section4 .galeria{
        height: 1000px;
        margin-top: 60px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }
    .section4 .galeria .gal_dcha{
        height: 30% ;
        width: 50%;
    }
    .section4 .galeria .gal_izq{
        height: 30%;
        width: 50%;
    }
    .section4 .galeria .gal_centro{
        height: 35%;
        width: 60%;
    }
}
@media (max-width: 768px){
    .menu .logo{
        margin-left: 30px;
    }
    .menu .menu-toggle{
        margin-right: 29px;
    }
    .section1{
        height: 60vh;
        margin-right: 40px;
        margin-left: 40px;
    }
    .cookie-banner {
        width: 70%;
        padding: 20px;
    }
    .cookie-buttons {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}
@media(max-width: 803px){
    .footer{
        height: auto;
    }
    .footer .foot_izq{
        margin-top: 30px;
        width: 400px;
        margin-bottom: 20px;
    }
}
@media (max-width: 730px){
    .section2 .texto{
        display: flex;
        flex-direction: column;
    }
    .section2 .texto .txt_izq{
        width: 100%;
        margin-bottom: 40px;
    }
    .section2 .texto .txt_dcha{
        width: 100%;
    }
}
@media (max-width: 699px){
    .footer{
        height: 500px;
    }
    .section4 .galeria{
        height: 800px;
    }
}
@media(max-width: 600px){
    .menu .logo img{
        height: 35px;
    }
    .menu-toggle {
        font-size: 28px;
    }
}
@media(max-width: 500px){
    .menu .logo img{
        height: 27px;
    }
    .menu-toggle {
        font-size: 26px;
    }
    .section1{
        height: 50vh;
    }
    .section4 .galeria{
        height: 680px;
    }
    .section4 .galeria .gal_dcha{
        height: 30% ;
        width: 55%;
    }
    .section4 .galeria .gal_izq{
        height: 30%;
        width: 55%;
    }
    .section4 .galeria .gal_centro{
        height: 35%;
        width: 65%;
    }
}
@media(max-width: 450px){
    .menu .logo{
        margin-left: 28px;
    }
    .menu .menu-toggle{
        margin-right: 28px;
    }
    .section1{
        margin-left: 30px;
        margin-right: 30px;
    }
    .play-button{
        width: 50px;
        height: 50px;
    }
    .play-button::after {
        border-left: 20px solid white;  /* triángulo más pequeño */
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        margin-left: 5px;
    }
}
@media(max-width: 425px){
    .section2 .titulo img{
        width: 325px;
    }
    .section3 .titulo img{
        width: 300px;
    }
    .section4 .titulo img{
        width: 100%;
    }
    .section4 .galeria .gal_dcha{
        height: 30% ;
        width: 68%;
    }
    .section4 .galeria .gal_izq{
        height: 30%;
        width: 68%;
    }
    .section4 .galeria .gal_centro{
        height: 35%;
        width: 75%;
    }
}


