*{
    margin: 0;
    border: 0;
    padding: 0;
}
html{
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
    color: #fff;
    background-color: #000;
}
body{
    display: flex;
    flex-direction: column;
}
/* HEADER */
header{
    width: 100vw;
    height: 6rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    z-index: 2;
}
.language{
    background-color: #00000000;
    padding: 0;
    height: 2.5rem;
    margin: auto 2rem auto 0;
    cursor: pointer;
    transition: 0.5s ease all;
}
.language img{
    height: 100%;
    background-color: #00000000;
}
#navLogo{
    height: 4rem;
    margin: auto 2rem;
    transition: 0.5s ease all;
}
#navLogo img{
    height: 100%;
}
#navLogo:hover{
    height: 4.3rem;
}
header nav{
    width: auto;
    height: 100%;
    display: flex;
}
#openMenu, #closeMenu{
    display: none;
    height: 2rem;
    margin: auto 2rem;
}
#logoMenuResponsive, .menuBtnImg{
    display: none;
}
header nav ul{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: auto 1rem;
}
header nav ul li{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    list-style: none;
    height: auto;
    margin: auto 1rem;
}
header nav ul li a{
    height: auto;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
    text-decoration-color: #ffffff00;
    color: #fff;
    font-weight: 600;
    transition: 0.4s ease all;
}
header nav ul li a:hover{
    text-decoration-color: #279EB9;
}
/* home section */
#home{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(../img/images/homeBackground.webp);
    background-position: center;
    background-size: cover;
    height: 100svh;
    height: 100vh;
}
h1{
    font-size: 2.8rem;
    width: 22rem;
    margin-right: 3rem;
    margin-left: auto;
    text-align: right;
}
h4{
    font-size: 0.85rem;
    width: 22rem;
    margin-right: 3rem;
    margin-left: auto;
    text-align: right;
    color: #ccc;
}
#callUsBtn{
    width: 6rem;
    height: 2.5rem;
    margin: 0.5rem 3rem 0 auto;
    background-color: #e4700b;
    color: #fff;
    border-radius: 1.12rem;
    font-weight: 600;
    transition: 0.5s ease-in all;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    justify-content: center;
    align-content: center;
}
#callUsBtn:hover{
    background-color: #ff8b26;
}
/* about us section */
#aboutUs{
    padding-top: 6rem;
}
#aboutUs h2{
    text-align: center;
    font-size: 2.4rem;
    margin: 2rem auto;
    color: #fff;
    left: -100vw;
}
#contentAbUs{
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}
#contentAbUs img, #contentAbUs article, #aboutUs h2{
    position: relative;
}
#contentAbUs img{
    min-width: 25rem;
    height: 35rem;
    width: 40%;
    margin: 1rem 2rem 2rem 2rem;
    object-fit: cover;
    border-radius: 1rem;
    /* left: -100vw; */
}
#contentAbUs article{
    min-width: 25rem;
    height: 35rem;
    width: 40%;
    margin: 1rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    /* right: -100vw; */
}
#contentAbUs article h3{
    text-align: center;
    font-size: 1.4rem;
    margin: 1.5rem auto 0.5rem auto;
}
#contentAbUs article p{
    font-size: 1.1rem;
    width: 70%;
    margin: 2rem auto;
}
/* benefits */
#benefits, #fiberglassB{
    display: flex;
    flex-direction: column;
    margin: 0 auto 5rem auto;
    width: 80%;
}
#fiberglassB h4{
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1rem;
    font-size: 1rem;
    width: 60%;
}
#benefits h2, #fiberglassB h2{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-decoration: underline;
    text-decoration-color: #279EB9;
    text-decoration-thickness: 4px;
}
#benefits ul, #fiberglassB ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#benefits ul li,  #fiberglassB ul li{
    list-style: none;
    margin: 3rem;
}
#benefits ul li h3,  #fiberglassB ul li h3{
    font-size: 1.2rem;
    text-align: center;
}
#benefits ul li p,  #fiberglassB ul li p{
    font-size: 1rem;
    width: 20rem;
    text-align: center;
    margin: 0.5rem auto 0 auto;
    color: #ccc;
}
/* catalog section */
#catalog{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 4rem;
}
#catalog h2{
    text-align: center;
    font-size: 2.4rem;
    margin: 0 auto;
}
#catalog h3{
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    color: #ccc;
}
.glide{
    margin: 3rem auto;
}
.fotosSlider{
    height: 40rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
    margin: auto;
    cursor: pointer;
}
/* Estilos para el contenedor en pantalla completa */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    z-index: 1000;
    flex-direction: column;
    overflow: hidden; /* Evitar scroll en pantalla completa */
    text-align: center; /* Asegura que el contenido esté centrado */
    align-content: center;
}

/* Estilos para la imagen en pantalla completa */
.fullscreen-image {
    max-width: 90%;  /* Asegura que la imagen no exceda el ancho disponible */
    max-height: 90%; /* Asegura que la imagen no exceda la altura disponible */
    object-fit: contain; /* Mantiene las proporciones de la imagen */
    margin: auto; /* Asegura que la imagen esté centrada */
    display: block; /* Evita cualquier comportamiento de imagen inline */
}


/* Estilos para el botón de cerrar */
.close-fullscreen {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #d02020;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    z-index: 1001;
    transition: all 0.5s ease;
}

.close-fullscreen:hover {
    background-color: #444;
}

#models{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}
.pool-model{
    background-color: #f0f0f0;
    margin: 1rem;
    border-radius: 1rem;
    width: 10rem;
    padding: 1rem;
}
.pool-model h4{
    width: 100%;
    font-size: 1.2rem;
    margin: auto;
    text-align: center;
    color: #279EB9;
    font-weight: 700;
}
.pool-model ul li{
    list-style: none;
    text-align: center;
    color: #000;
}
#modelsFA{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem auto;
}
#features, #additional{
    display: flex;
    flex-direction: column;
    margin: 2rem;
    transition: all 1s ease;
    position: relative;
}
#features h3, #additional h3{
    text-align: center;
    color: #279EB9;
}
#features li, #additional li{
    width: 30rem;
    margin: 1rem auto;
}
/* faq */
#faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3rem auto;
    width: 100%;
    padding: 6rem 0;
    color: #fff;
    background-image: url(../img/images/faq.webp);
    background-size: cover;
    background-position: center;
    position: relative; 
}

#faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 16rem; 
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 0;
}
#faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16rem; 
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 0;
}
#faq h2{
    color: #fff;
    margin: 0 0 2rem 0;
    text-align: center;
    font-size: 2rem;
    width: 100%;
    z-index: 1;
}
.faq-item{
    display: flex;
    flex-direction: column;
    margin: 0 auto 1.5rem auto;
    z-index: 1;
    width: 50rem;
}
.faq-item h3{
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
}
.faq-item p{
    margin: 0.5rem auto;
    color: #fff;
    font-size: 1rem;
    width: 80%;
    text-align: center;
}
/* testimonials */
#testimonials{
    display: flex;
    flex-direction: column;
    margin: 3rem auto;
}
#testimonials h2{
    width: 100%;
    margin: 2rem auto;
    text-align: center;
}
.testimonial{
    width: 30rem;
    margin: 1rem auto;
    background-color: #279EB9;
    color: #fff;
    border-radius: 1rem;
    padding: 1rem;
}
/* contact section */
#contact{
    background-image: url(../img/images/contactBackground.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative; 
    padding: 6rem 0;
}
#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40rem; 
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 0;
}
#contact h2{
    text-align: center;
    font-size: 2.4rem;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}
#contact h3{
    text-align: center;
    font-size: 1rem;
    margin: 0 auto 2rem auto;
    color: #ccc;
    z-index: 1;
    position: relative;
}
form{
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
    z-index: 1;
    position: relative;
}
input, textarea{
    padding: 0 0.5rem;
    height: 1.8rem;
    border-radius: 0.3rem;
    font-family: montserrat;
}
textarea{
    resize: vertical;
    min-height: 5rem;
    max-height: 14rem;
}
label{
    color: #ccc;
    margin: 1rem 0 0.2rem 0.4rem;
}
#send{
    width: 8rem;
    height: 2rem;
    margin: 1rem auto 0 auto ;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #279EB9;
    transition: 0.5s;
}
#send:hover{
    cursor: pointer;
    background-color: #217587;
}
/* FOOTER */
footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    color: #000;
}
#copySection{
    display: flex;
    justify-content: center;
}
.contentCopy{
    margin: 4rem 2rem;
    color: #6c6b6b;
    font-size: 0.84rem;
}
#footerContent{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100svw;
    width: 100vw;
    flex-wrap: wrap;
    overflow: hidden;
}
.ftContentSections{
    width: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem;
}
#logoFooter{
    width: 100%;
}
#contactIcons{
    display: flex;
    width: 100%;
}
#contactIcons{
    display: flex;
    justify-content: center;
}
#contactIcons li{
    list-style: none;
    margin: 0.4rem;
}
#contactIcons li a img{
    width: 2rem;
    height: 2rem;
}
#navFooter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#navFooter li{
    margin: 0.4rem;
    list-style: none;
}
#navFooter li a{
    text-decoration: underline;
    text-decoration-color: #ffffff00;
    transition: 0.5s ease all;
    font-weight: 600;
    color: #000;
}
#navFooter li a:hover{
    text-decoration-color: #279EB9;
}
#berlinCode a{
    color: #6c6b6b;
}


/* General adjustments for small devices */
@media only screen and (max-width: 920px){
    #benefits ul li p{
        width: 18rem;
    }
    .faq-item{
        width: 40rem;
    }
}
@media only screen and (max-width: 847px) {
    #contentAbUs article p{
        text-align: center;
    }
    form{
        width: 70%;
    }
    .fotosSlider{
        height: 30rem;
    }
    #benefits ul li p{
        width: 15rem;
    }
}
@media only screen and (max-width: 770px){
    #benefits ul li p{
        width: 14rem;
    }
}
@media only screen and (max-width: 700px) {
    .fotosSlider{
        height: 26rem;
    }
    #benefits{
        width: 100%;
    }
    .faq-item{
        width: 30rem;
    }
    #faq h2{
        font-size: 1.6rem;
    }
    #features li, #additional li{
        width: 24rem;
    }
}
/* responsive menu */
@media only screen and (max-width: 650px){
    nav{
        flex-direction: row-reverse;
    }
    .language{
        margin-right: 0;
    }
    #openMenu, #logoMenuResponsive{
        display: flex;
    }
    #logoMenuResponsive{
        height: 6rem;
        margin: 5rem auto 3rem auto;
        position: absolute;
        top: 20px;
    }
    header nav ul{
        position: fixed;
        top: 0;
        left: -1000px;
        display: flex;
        flex-direction: column;
        width: 70%;
        height: 100svh;
        height: 100vh;
        justify-content: center;
        background-color: #279EB9;
        margin: 0;
    }
    header nav ul li{
        margin: 1rem auto;
    }
    .menuBtnImg{
        display: flex;
        height: 1.2rem;
        margin: auto 0.5rem;
        align-content: center;
    }
}
@media only screen and (max-width: 593px) {
    #features, #additional{
        margin: 2rem auto;
    }
    #features li, #additional li{
        width: 20rem;
    }
    #contact h3{
        width: 20rem;
    }
    #logoFooter {
        width: 80%;
    }
    .testimonial{
        width: 20rem;
    }
}
@media only screen and (max-width: 550px) {
    .fotosSlider{
        height: 20rem;
    }
    #benefits ul li p{
        width: 13rem;
    }
    #faq h2{
        font-size: 1.3rem;
    }
    .faq-item{
        width: 20rem;
    }
}
@media only screen and (max-width: 440px) {
    html{
        font-size: 15px;
    }
    #contentAbUs img{
        width: 20rem;
    }
    #contentAbUs article p{
        font-size: 1rem;
        width: 20rem;
    }
    #logoFooter {
        width: 65%;
    }
    h1{
        text-align: center;
        margin: 0 auto;
    }
    h4{
        text-align: center;
        margin: 0 auto;
        width: 18rem;
    }
    #callUsBtn {
        margin: 0.5rem auto;
    }
    #contentAbUs {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }
    #pileCatalog{
        height: 30rem;
    }
    .pool-model {
        background-color: #f0f0f0;
        margin: 1rem;
        border-radius: 1rem;
        width: 6rem;
        padding: 0.5rem;
    }
    .pool-model h4{
        font-size: 1rem;
    }
    .pool-model li{
        font-size: 0.8rem;
    }
    #contact h2{
        font-size: 2rem;
    }
    #contact h3{
        font-size: 0.85rem;
    }
    .testimonial{
        width: 15rem;
    }
}
@media only screen and (max-width: 360px) {
    html{
        font-size: 14px;
    }
    h1{
        text-align: center;
        margin: 0 auto;
        font-size: 2.4rem;
    }
    h4{
        text-align: center;
        margin: 0 auto;
    }
    .fotosSlider{
        height: 16rem;
    }
    #features li, #additional li{
        width: 18rem;
    }
}
@media only screen and (max-width: 330px) {
    #faq h2, #benefits h2{
        width: 80%;
        margin: 2rem auto;
    }
    #contentAbUs img {
        width: 16rem;
    }
    #contentAbUs article h3{
        margin: 0 auto;
    }
    #contentAbUs article p{
        width: 16rem;
    }
    #features li, #additional li {
        width: 15rem;
        height: auto;
    }
    .fotosSlider{
        height: 14rem;
    }
    #contact h3{
        width: 18rem;
    }
}
@media only screen and (max-width: 330px){
    .testimonial{
        width: 10rem;
    }
}
@media only screen and (max-width: 310px){
    html{
        font-size: 12px;
    }
}
@media only screen and (max-width: 265px){
    html{
        font-size: 11px;
    }
}
@media only screen and (max-width: 242px){
    html{
        font-size: 10px;
    }
}


