*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* HEADER */

header{
    background: #0f3d2e;
    padding: 20px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1{
    color: white;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* PORTADA */

.hero{
    height: 80vh;
    background-image: url("imagenes/jardin.jpg.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contenido{
    background: rgba(15,61,46,0.75);
    padding: 40px;
    border-radius: 20px;
    color: white;
    width: 80%;
    max-width: 700px;
}

.contenido h2{
    font-size: 45px;
    margin-bottom: 20px;
}

.contenido p{
    font-size: 18px;
    margin-bottom: 30px;
}

.contenido a{
    background: #2ecc71;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

.contenido a:hover{
    background: #27ae60;
}

/* SERVICIOS */

.servicios{
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

.servicios h2{
    font-size: 40px;
    margin-bottom: 50px;
    color: #0f3d2e;
}

.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.card{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h3{
    color: #0f3d2e;
    margin-bottom: 15px;
}

/* NOSOTROS */

.nosotros{
    padding: 80px 20px;
    background: white;
}

.nosotros-contenido{
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.nosotros h2{
    font-size: 40px;
    color: #0f3d2e;
    margin-bottom: 30px;
}

.nosotros p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* GALERIA */

.galeria{
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

.galeria h2{
    font-size: 40px;
    color: #0f3d2e;
    margin-bottom: 40px;
}

.contenedor-galeria{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contenedor-galeria img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.contenedor-galeria img:hover{
    transform: scale(1.03);
}

/* CELULAR */

@media (max-width: 768px){

    nav{
        flex-direction: column;
        gap: 15px;
    }

    nav ul{
        flex-direction: column;
        text-align: center;
    }

    .contenido h2{
        font-size: 30px;
    }

    .contenedor-galeria{
        grid-template-columns: 1fr;
    }

}
/* CONTACTO */

.contacto{
    padding: 80px 20px;
    text-align: center;
    background: white;
}

.contacto h2{
    font-size: 40px;
    color: #0f3d2e;
    margin-bottom: 20px;
}

.contacto p{
    margin-bottom: 10px;
    font-size: 18px;
}

.datos-contacto{
    margin: 30px 0;
}

.btn-contacto{
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.btn-contacto:hover{
    opacity: 0.9;
}
/* FOOTER */

footer{
    background: #0f3d2e;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer h3{
    margin-bottom: 15px;
    font-size: 28px;
}

footer p{
    margin-bottom: 10px;
}

.footer-contacto{
    margin: 20px 0;
}
/* WHATSAPP FLOTANTE */

.whatsapp-float{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover{
    transform: scale(1.1);
}
html{
    scroll-behavior: smooth;
}
/* LOGO */

.logo img{
    height: 70px;
    width: auto;
    display: block;
}section{
    scroll-margin-top: 120px;
}