
body{
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    font-family: "Plus Jakarta Sans", sans-serif;
}



/*HEADER*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3em 2em;
    background: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;

}

header.scrolled {
    background: #ffffffc4; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

header.scrolled nav a {
    color: black;
}

header nav {
    gap: 3em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: transform 0.2s ease, color 0.3s ease;
    transform-origin: center;
}

nav a:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.imgHeader{
    align-items: center;
    width: 200px;
    justify-content: flex-start;

}

/*Modal de compartir*/

.modal-compartir {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: 30%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.modal-content {
    background: white;
    padding: 2em;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease;
}

.textModalCompartir{
    font-size: clamp(15px, 2vw, 25px);
}

.iconos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 1.5em 0;
}

.icono{
    border: none;
    background-color: #007bff00;
}

.icono img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.icono img:hover {
    transform: scale(1.2);
}

.cerrar {
    padding: 0.5em 1em;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/*Mensaje de confirmacion del modal*/

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 6;
    left: 40.5%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hidden {
    display: none;
}


/*MODAL VIDEO*/

.modalV{
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modalV-content {
  position: relative;
  margin: 10% auto;
  width: 80%;
  max-width: 700px;
  background: transparent;
  border-radius: 10px;
}

.closeV {
  position: absolute;
  top: -25px;
  right: -10px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  font-weight: bold;
}

iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}




/*CONTENEDOR DE IMAGEN*/

.container-image{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 900px;
    background-image: url('assets/fondoPrincipal.png');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;  
    flex-direction: column;
    transition: border-radius 0.4s ease;
    
}

#container-image.scrolled {
    border-radius: 0 0 100px 100px;
}


.container-image h3{
    color: rgb(255, 255, 255);
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

.logo{
    position: absolute;
    top: 15%;
    width: clamp(300px, 20vw, 400px);
    object-fit: contain;
    z-index: 3;
}

.textOne{
    position: absolute;
    top: 25%;
    font-size:  clamp(34px, 8vw, 70px);
    z-index: 3;
    font-weight: 600;
}

.textTwo{
    position: absolute;
    top: 46%;
    font-size:  clamp(25px, 1vw, 40px);
    z-index: 3;

}

.line{
    position: absolute;
    top: 43%;
    width: clamp(200px, 70%, 600px);
    border: 2px solid rgb(255, 255, 255);
    z-index: 3;
    opacity: 100%   ;
}

.image{
    position: absolute;
    top: 45%;
    width: clamp(250px, 30vw, 350px);
    object-fit: contain;
    z-index: 2;
}

.play {
  position: absolute;
  top: 80%;
  width: 150px;
  z-index: 4;
  cursor: pointer;
  animation: doubleBeat 1.5s infinite ease-in-out;
}

@keyframes doubleBeat {
  29%, 50%, 90%, 100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.05);
  }
}
.pulse{
    position: absolute;
    top: 88%;
    left: 49.5%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseAnimation 1.5s infinite;
    z-index: 3;
}

@keyframes pulseAnimation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    29%{
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/*TEXT AN TITLE*/

.title{
    font-size: clamp(30px, 9vw, 50px);
    margin-bottom: 0;
    font-weight: 600;
}

.text{
    font-size: clamp(15px, 5vw, 20px);

}

.justified{
    text-align: justify;
}

/*CARDS*/



.textB{
    margin-left: 2%;
    margin-right: 2%;
}



.beneficios{
    position: absolute;
    top: 950px;
    width: 100%;
    text-align: center;
    justify-items: center;
    left: 0%;
    right: 1%;
    padding: 20px 0px 50px 0px;

}

.cards {
    display: grid;  
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
}


.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(7, 6, 6, 0.1);
    text-align: center;
    padding: 10px;
    width: clamp(20px, 30vw, 500px);
    box-sizing: border-box;
    align-items: center;
}

.card i {
    font-size: 50px;
    color: #333;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
    font-size: clamp(14px, 5vw, 24px);
}

.card p {
    font-size: clamp(10px, 3vw, 16px);
    color: #666;
}

.iconBeneficios{
    width: clamp(60px, 7vw, 90px);
    height: clamp(60px, 7vw, 90px);
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

}

/*CARRUSEL*/


.carrousel {
    position: absolute;
    top: 1600px;
    left: 3%;
    right: 3%;
    width: 94%;
    height: 500px;
    overflow: visible;
}

.swiper {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: transform 0.3s;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}



.container2{
    position: absolute;
    top: 2150px;
    left: 0%;
    right: 3%;
    width: 100%;
    text-align: center;
}


/*Lista interactiva*/

.offer{
    padding-bottom: 50px;
    padding-left: 3%;
    padding-right: 3%;
}

.accordion-body{
    max-height: 90px;
    overflow-y: auto;
    transition: max-height 0.5s ease-out;
}

.accordion-button {
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.titleList{
    margin: 0;
    font-size: clamp(17px, 2vw, 20px);
}

.accordion-button:not(.collapsed) {
    background-color: #2b2b2b;
    color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-body {
    max-height: none;
    overflow: visible;
}

.accordion-collapse {
    transition: height 0.3s ease;
}

.accordion-button::after {
    position: absolute;
    right: 2%;
    top: 9%;
    background-image: none !important;
}

.accordion-button::after {
    content: "+";
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-left: auto;
    background-image: none !important;
    transform: none !important;
    transition: none !important;
}

.accordion-button:not(.collapsed)::after {
    content: "–";
    color: rgb(255, 255, 255);
}

.logoPizza img{
    width: 50%;
    height: 100%;
    object-fit: cover;

    border-radius: 10px;
}

.logoPizza{
        margin-bottom: 30px;
        width: 100%;
        height: 100px;
        overflow: hidden;

}



/*LOCATION*/

.location{
    padding-bottom: 50px;
    padding-left: 3%;
    padding-right: 3%;
}



iframe{
    width: 100%;
    height: 500px;

}

/*FOOTER*/

.footer{
    background-color: #2b2b2b;
    color: white;
    text-align: center;
    padding: 20px 0;
 
}

/*Boton Flotante dell modal*/

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 6;
}

/* Modal */

.overlay{
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 4;
    display: none;

}


.modulo-content{
    opacity: 0;
    background-color: rgb(255, 255, 255);
    position: absolute;
    max-width: 400px;
    height: 50%;
    left: 74%;
    top: 42%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.144);
    z-index: 5;
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
    pointer-events: none;
}

.modulo-content.show{
    opacity: 1;
    pointer-events: auto;
    visibility: visible;

}

.close-btn{
    color: #aaa;
    float: right;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

#whatsapp-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#whatsapp-form button {
    width: 100%;
    padding: 10px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* RESPONSIVE WIDTH*/

@media (max-width: 1024px) {
    .modulo-content {
        left: 60%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .modulo-content {
        left: 50%;
    }
}

@media (max-width: 480px) {
    .modulo-content {
        left: 20%;
    }
}

@media (max-width: 1600px) {
    .iconos {
        gap: 10px;
    }

    .modal-compartir {
        width: 25%;
        height: 30%;
    }

    .icono img {
        width: 30px;
        height: 30px;
    }
}



@media (max-width: 1000px) {

    #container-image.scrolled {
        border-radius: 0 0 300px 300px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        width: clamp(20px, 45vw, 500px);
    }

    .carrousel {
        top: 1750px;
    }

    .container2{
        top: 2300px;
    }

    .image{
        top: 55%;
    }

    .play{
        top: 83%;
    }

    .pulse{
        top: 91%;
        left: 49%;
    }

    .imgHeader{
        width: 120px;
    }

    header nav {
        gap: 1em;
        position: absolute;
        left: 90%;
        transform: translateX(-90%);
    }

    .modal-compartir {
        width: 35%;
        height: 30%;
    }
    
    .toast {
        left: 32%;
    }

    .logoPizza img{
        width: 100%;
        height: 100%;

    }

 
}

@media (max-width: 900px) {

    .image{
        top: 60%;
    }

    
    .play{
        top: 83%;
    }

    .pulse{
        top: 91%;
        left: 48%;
    }

    .textTwo{
        top: 47%;
    }

    .line{
        top: 42%;
    }

}

@media (max-width: 700px) {

    .modal-compartir {
        width: 50%;
        height: 30%;
    }
        
    .toast {
        left: 20%;
        width: 60%;
    }

    .textTwo{
        top: 47%;
    }

    .line{
        top: 41%;
    }

    .carrousel {
        top: 1800px;
    }

    .container2{
        top: 2350px;
    }


}

@media (max-width: 600px) {





}

@media (max-width: 500px) {

    .textTwo{
        top: 40%;
    }

    .modal-compartir {
        width: 65%;
        height: 30%;
    }

    .line{
        top: 35%;
    }

    .accordion-button::after {
    right: 3%;
    }




}

@media (max-width: 400px) {

    .textTwo{
        top: 43%;
    }

    .modal-compartir {
        width: 80%;
        height: 30%;
    }

    .toast {
        left: 25%;
        width: 50%;
    }

    .line{
        top: 39%;
    }

    .carrousel {
        top: 1750px;
    }

    .container2{
        top: 2300px;
    }



}


/* RESPONSIVE HEIGHT*/


@media (max-height: 1800px) {

    .modulo-content{
        height: 30%;
    }
    
}


@media (max-height: 1500px) {

    .modulo-content{
        height: 35%;
    }
    
}

@media (max-height: 1300px) {

    .modulo-content{
        height: 40%;
    }
    
}

@media (max-height: 1100px) {

    .modulo-content{
        height: 50%;
    }
    
}

@media (max-height: 800px) {

    .modulo-content{
        height: 55%;
    }
    
}

@media (max-height: 750px) {

    .modulo-content{
        height: 57%;
        top: 30%;
        left: 5%;
        right: 5%;
    }

    #whatsapp-form input {
        padding: 5px;
    }

}





