@font-face {
    font-family: 'Happy Food';
    src: url('../fonts/HappyFood.woff2') format('woff2'),
        url('../fonts/HappyFood.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'Happy Food', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

h2 {
    color: #2B42DE;
    font-size: 45px;
    margin-bottom: 30px;
}

.navegacion {
    padding: 55px 0;
    position: fixed; /* estado inicial */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    transition: background-color 0.3s ease, padding 0.3s ease;

    & ul {
        list-style: none;
        display: flex;
        gap: 55px;
        margin-bottom: 0px;

        & a {
            color: #fff;
            transition: color 0.3s ease;
        }
        & a:hover {
            color: #f3b700;
        }
    }
} 
.navegacion.sticky {
    background-color: #0d24b5; /* fondo semitransparente */
    padding: 15px 0; /* reducir padding */
}


section.hero  {
    background-image: url('../img/bghero.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
    transition: .3s;


    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }

    @keyframes slideUp {
        from {
            transform: translateY(0);
        }
        to {
            transform: translateY(-100%);
        }
    }



    & .chuto {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);

        & .circle {
            position: absolute;
            bottom: 40%;
            left: 50%;
            transform: translate(-50%, 50%);
            z-index: -1;
            height: 80%;
        }
        & .pj {
            height: calc(100vh - 100px);
        }
        & .titulo {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .f1 {
            position: absolute;
            left: 15%;
            top: 10%;
            width: calc(100vh / 7);
            height: auto;
        }
        .f2 {
            position: absolute;
            right: 10%;
            bottom: 5%;
            width: calc(100vh / 7);
            height: auto;
        }
    }
}


@media (max-width: 768px) {
    section.hero {
        & .chuto {
            width: 100%;
            height: 60%;
            & .pj {
                width: 100%;
                min-width: 600px;
                height: auto;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom:0
                /* transform: translateX(-50px); */
            }
            .f1, .f2 {
                display: none;
            }
            .titulo {
                width: calc(100% - 50px);
            }
        }
    }
}
@media (max-width: 480px) {
    section.hero nav {
        display: none;
    }
}

/* Para hero titulo */
@media (min-height: 489px) and (max-width: 489px) {
    section.hero .chuto .titulo {
        bottom:100%
    }
}


section.presentaciones {
    position: relative;
    overflow: hidden;


    & .presentaciones-lista {
        padding-left: 0;

        & li {
            list-style: none;
            font-size: 17px;
            margin-bottom: 20px;

            & .fecha {
                background: #f00;
                color: #fff;
                display: inline-block;
                padding: 2px 10px;
                margin-right: 10px;
            }
        }
    }

    & .izq {
        position: absolute;
        left: 0;
        bottom: 0;
        transform: translate(-50%, 50%);
        width: calc(50vw * 1);
        z-index: -1;
    }
    & .der {
        position: absolute;
        right: 0;
        top: 0;
        transform: translate(50%, -50%);
        width: calc(50vw * 1);
        z-index: -1;
    }

}

.parallax-window {
    min-height: 70vh;
    background: transparent;
}


/* GALERÍA */
section.galeria { 
    padding: 120px 0;
    position: relative;
}

section.galeria::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255,255,255,1) 100%), 
        url('../img/bgyauyos.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.5; /* ajusta la intensidad general */
    z-index: -1;
    pointer-events: none;
}

.masonry {
  column-count: 3; /* Número de columnas */
  column-gap: 1rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  transition: .3s;
  z-index: 2;
}

.masonry-item:hover {
    transform: scale(1.04);
    z-index: 32;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.masonry:hover .masonry-item:not(:hover) {
    opacity: 0.6;
    z-index: 1;
}

.swiper-wrapper .swiper-slide {
    transition: .3s;
}
.swiper-wrapper:hover .swiper-slide:not(:hover) {
    opacity: 0.6;
}

@media (max-width: 992px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}

/* CONTACTO */
section.contacto {
    background: #f8f8f8;
    padding: 100px 0;
    text-align: center;

    h2 {
        margin-bottom: 100px;
    }

    h3 {
        color: #2B42DE;
        text-transform: uppercase;
        font-size: 14px;
    }

    & .telefono a { 
        font-size: 25px;
        padding: 7px 20px;
        background: #2B42DE;
        display: inline-block;
        color: #fff;
        transition: .3s;
        margin-bottom: 50px;

    }
    & .telefono a:hover {
        transform: scale(1.1);
    }
    & .email a { 
        font-size: 19px;
        padding: 5px 20px;
        background: #2B42DE;
        display: inline-block;
        color: #fff;
        transition: .3s;
        margin-bottom: 50px;

    }
    & .email a:hover {
        transform: scale(1.1);
    }

    & .socials {
        background:#2B42DE;
        padding: 9px 27px;
        display: flex;
        gap: 10px;
        width: fit-content;
        margin: 0 auto 50px;

        & li {
            list-style: none;;
            transition: .3s;
        }
        & li:hover {
            transform: scale(1.2);
            z-index: 32;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
        }
    }
    & .socials:hover li:not(:hover) {
        opacity: 0.6;
        z-index: 1;
    }
}









/* LLAMAR */
.llamar {
    position: fixed;
    right: 20px;
    bottom: 115px;
    background: #2B42DE;
    border-radius: 30px;
    box-shadow: 10px 13px 26px -16px rgba(0,0,0,0.25);
    /* padding: 5px 25px 10px 55px; */
    z-index: 100;
    height: 60px;
    width: 60px;
    transition: all .3s;
    overflow: hidden;
}
.llamar:hover {
    width: 210px;
}
.llamar:hover > .sub, .llamar:hover > .numero {
    display: block;
    opacity: 1;
} 
.llamar .sub {
    
    color: #decc2b;
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    top: 4px;
    left: 60px;
    transition: opacity .3s ease-out;
    opacity: 0;
    transition-delay: .3s;
    width:max-content;
}
.llamar .numero {
    
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 20px;
    position: absolute;
    left: 51px;
    top: 21px;
    transition: opacity .3s ease-out;
    opacity: 0;
    transition-delay: .3s;
    width:max-content;
}
.llamar img.phone {
    filter: brightness(0) saturate(100%) invert(79%) sepia(26%) saturate(7497%) hue-rotate(1deg) brightness(105%) contrast(103%);
    height: 30px;
    position: absolute;
    left: 14px;
    top: 17px;
}
.llamar a, .wsp a  {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
/* /LLAMAR */


/* WSP */
.wsp {
    position: fixed;
    right: 20px;
    bottom: 35px;
    background: #2bde2b;
    border-radius: 30px;
    box-shadow: 10px 13px 26px -16px rgba(0,0,0,0.25);
    /* padding: 5px 25px 10px 55px; */
    z-index: 100;
    height: 60px;
    width: 60px;
    transition: all .3s;
    overflow: hidden;
}

.wsp img {
    width: 35px;
    position: absolute;
    left: 13px;
    top: 12px;
}

.wsp .txt {
    color: #fff;
    font-weight: 700;
    opacity: 0;
    transition: opacity .3s ease-out;
    position: absolute;
    left: 57px;
    font-size: 20px;
    line-height: 18px;
    top: 22px;
    width: max-content;
}

.wsp:hover {
    width: 210px;
}
.wsp:hover > .txt {
    opacity: 1;
}