@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Oswald', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.cabezera {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url(../imagenes/ejemplo6.webp);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 110px;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #6B71F2;
    z-index: 1000;
    padding-left: 15px;
    padding-right: 15px;
}

.logo {
    color: #FFFDFC;
    height: 80px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.logo-header{
    transition: transform 0.5s ease;
}
.logo-header:hover{
    transform: scale(1.1);
}
.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #FFFDFC;
    display: block;
    font-weight: 600;
}

.menu .navbar ul li a:hover {
    color: #3038D9;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 75px;
    line-height: 80px;
    color: #6B71F2;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 16px;
    color: #FFFDFC;
    padding: 0 250px;
    margin-bottom: 25px;
}
.logo-header{
    height: 250px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background-color: #B3B6F2;
    color: #FFFDFC;
    text-transform: uppercase;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-1:hover {
    background-color: #3038D9;
}

.servicios {
    padding: 100px 0;
    background-color: #E1E2E6;
    position: relative;
}

.servicios-content {
    text-align: center;
    position: relative;
}

.servicios-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
}

.txt-p {
    font-size: 16px;
    color: #414247;
    padding: 0 250px;
    margin-bottom: 35px;
}

.servicios-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.servicios-1 {
    padding: 0 25px;
    position: relative;
    overflow: hidden;
}

.servicios-1 img {
    margin-top: 13px;
    margin-bottom: 13px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.servicios-img {
    position: absolute;
    top: 0;
    right: 0;
}

.servicios-1 h3 {
    color: #323337;
    font-size: 20px;
    margin-bottom: 15px;
}
.servicios-1:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url(../imagenes/ejemplo4.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.services-content {
    text-align: center;
    padding:55px ;
}

.services-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #E1E2E6;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.services-content p {
    font-size: 16px;
    color: #E1E2E6;
    margin-bottom: 50px;
    padding: 0 100px;
}
.fab {
    top: 50%;
    transform: translateY(+50%);
    z-index: 1000;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; 
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 140%;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4);
    line-height: 60px;
    text-decoration: none;
}

.fab:hover {
    background-color: #128C7E;
}
.galeria{
    display: flex;
    margin-top: 25px;
    display: flex;
    height: 25rem;
    gap: 1rem;
}
.galeria > div{
    flex: 1;
    border-radius: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all .8s cubic-bezier(.25, .4, .45, 1.4);
    overflow: hidden;
}
.galeria >div:hover{
    flex: 3;
    border-radius: 1rem;
}

.general {
    display: flex;
}

.general-1 {
    height: 600px;
    width: 50%;
    padding: 3%;
    background-color: #E1E2E6;
}

.general-2 {
    height: 600px;
    background-image: url(../imagenes/proyectos/piscina.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

.general-3 {
    height: 600px;
    background-image: url(../imagenes/proyectos/vertical.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #414247;
    margin: 25px 0 45px 0;
}
.contacto {
    background-color: #f7f7f7;
    padding: 60px 0;
    text-align: center;
}

.contacto-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.pie {
    padding: 40px 0;
    background-color: black;
    color: white;
    text-align: left;
}

.pie-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.link h3 {
    font-size: 20px;
    color: white;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.link a {
    font-size: 16px;
    color: white;
    display: block;
    transition: color 0.3s ease;
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-list li a {
    margin-left: 5px; 
}

.phone-link {
    margin-right: 10px;
}

.whatsapp-link {
    margin-left: 10px;
}

.link a:hover {
    color: #6B71F2;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    margin-bottom: 20px;
}
.footer-description{
    color: white;
}
.footer-logo p {
    font-size: 14px;
    color: white;
    text-align: center;
}
.footer-bottom p{
    margin-top: 50px;
    color: white;
    font-size: 14px;
}
.eliminar{
    display: none;
}
.fab:active {
    cursor: grabbing; /* Cambia el cursor al arrastrar */
}
@media(max-width:1030px) {
    .btn-1{
        margin-top: 10px;
    }
    .general{
        background-color: #E1E2E6;
        height: auto;
    }
    .general-1{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 100px;
        height: auto;
    }
    .eliminar{
        display: block;
        margin: auto;
        height: 250px;
        width: 100%;
        border-radius: 15px;
    }
    .logo-header{
        height: 150px;
    }
    .menu {
        padding-left: 20px;
        padding-right: 20px;
    }

    .menu label {
        display: initial;
    }
    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #323337;
        display: none;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked~.navbar {
        display: initial;
    }

    .cabezera {
        background-attachment: scroll; 
        background-position: center center;
    }

    .header-content {
        padding: 100px 30px;
    }
    .header-content p{
        padding: 0;
    }
    .servicios{
        padding: 30px;
    }
    .servicios-content h2{
        padding: 0;
    }
    .txt-p{
        padding: 0;
    }
    .servicios-group{
        flex-direction: column;
        margin-bottom: 0;
    }
    .servicios-img{
        display: none;
    }
    .services{
        padding: 30px;
    }
    .services-content p{
        padding: 0;
    }
    .services-group{
        flex-direction: column;
        margin-bottom: 0;
    }
    .services-1{
        margin-bottom: 25px;
    }
    .general{
        flex-direction: column;
    }
    .general-1{
        width: 100%;
        padding: 30px;
        text-align: center;
    }
    .general-2,.general-3{
        display: none;
    }
    .galeria{
        display: none;
    }
    
    .pie{
        padding: 30px;
    }
    .pie-content{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .enlaces{
        display: none;
    }

}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.logo-header {
    transition: transform 0.5s ease;
    animation: fadeIn 1s ease-out forwards;
}

.logo-header:hover {
    transform: scale(1.1);
}

.servicios-1 {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.servicios-1:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}