
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background-image:url("../img/fondo_banner.png");
    background-size:cover;
    color:#333;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

button,
input,
select{
    font-family:'Poppins',sans-serif;
}

/*---------------Definicion de variables----------------*/

:root{
    --verde:#3A6B35;
    --verdeOscuro:#254b21;
    --verdeClaro:#5c8b56;
    --crema:#F5F3EE;
    --gris:#7b7b7b;
    --negro:#222;
    --blanco:#ffffff;
    --sombra:0 10px 30px rgba(0,0,0,.15);
    --radio:18px;
    --transicion:.35s;
}


/*---------------Header----------------*/

header{
    width:100%;
    background:var(--crema);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}
.menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-left: 40px;
}

.logo img{
    width:65px;
}

.logo h1{
    font-size:28px;
    color:var(--verde);
    font-weight:700;
}
/*------------Menu-----------*/

nav ul{
    display:flex;
    gap:40px;
    margin-right: 40px;
}
nav ul li a{
    color:#333;
    font-size:17px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

nav ul li a:hover{
    color:var(--verde);
}

nav ul li a::after{
    content:"";
    width:0;
    height:3px;
    background:var(--verde);
    position:absolute;
    bottom:-8px;
    left:0;
    transition:.3s;
}

nav ul li a:hover::after{
    width:100%;
}

nav ul li i{
    color: var(--verde);
    font-size: 18px;
    width: 20px;
    text-align: center;
}
/*-------------------------------
ESTILO CONTENEDORES DEL SITIO WEB
---------------------------------*/
.contenido{
    width: 90%;
    max-width: 1400px;
    margin: auto;
    margin-top:100px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.salir{
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--verde);
    font-size: 28px;
    text-decoration: none;
    transition: .3s;
}

.salir:hover{
    color: #292727;
    transform: scale(1.2);
}

/*-----------fotter----*/

footer{
    background:#264525;
    color:#fff;
    margin-top:80px;
}

.footer{
    width:90%;
    max-width:1300px;
    margin:auto;
    padding:60px 0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h3{
    font-size:30px;
    margin-bottom:15px;
}

.footer h4{
    margin-bottom:15px;
}

.footer p{
    color:#ddd;
    line-height:1.8;
}

.redes{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.redes i{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#fff;
    color:var(--verde);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    transition:.35s;
    cursor:pointer;
}

.redes i:hover{
    background:var(--verdeClaro);
    color:#fff;
}

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.2);
    font-size:14px;
}

/*-----------Regla de diseño responsivo a 992px----*/

@media(max-width:992px){
    .reserva{
        grid-template-columns:1fr;
    }
    .imagen img{
        height:380px;
    }
}
/*-----------Regla de diseño responsivo a 768px----*/
@media(max-width:768px){
    .detalle{
        padding:30px;
    }

    .servicios h2{
        font-size:30px;
    }
}
/*-----------Regla de diseño responsivo a 576px----*/
@media(max-width:576px){

    .detalle{
        padding:20px;
    }

    .detalle h2{
        font-size:26px;
    }

    .servicios{
        padding:60px 0;
    }

    .footer{
        text-align:center;
    }

    .redes{
        justify-content:center;
    }

}
/*---------configuracion formularios para el sitio web-----------*/

/*--------------
Estilo formulario basico
-------------*/

.form-basico  {
    max-width: 640px;
    margin: 10px auto;
    padding: 55px;
    box-sizing: border-box;/*el padding (relleno) y el border (borde) de un elemento se incluyan dentro de su ancho (width) y alto (height) totales, en lugar de sumarse a ellos*/
    background-color: var(--crema);
    font: bold 14px sans-serif;
    text-align: center;
    border-radius: 15px;
}

.titulo {
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    color: #4c565e;
    font-size: 24px;
    padding: 0 10px 15px;
    border-bottom: 2px solid var(--verde);
    font-size: 22px;
    margin-bottom: 30px;
}

.form-basico  label {
    display: inline-block;
    box-sizing: border-box;
    color: #5F5F5F;
    width: 180px;
    text-align: left;
    vertical-align: top;
    padding: 12px 25px;
}
.entrada input, select {
    text-align: left;
    margin-bottom: 22px;
    border: none;
    outline: none;
}
.entrada select {
    background-color: #ffffff;
    max-width: 240px;
    width: 240px;
    padding: 12px 8px;
    border-radius: 5px;
    border: none;
    outline: none;
    color: #5f5f5f;
}
.entrada input, textarea{
    color: #5f5f5f;
    width: 240px;
    padding: 12px;
    border-radius: 5px;
    border: none;
    outline: none;
}

.opciones {
    display: inline-block;
    vertical-align: top;
}
.opciones input {
    width: auto;
}
.entrada input[type=checkbox] {
   width: auto;
   margin-top: 20px;
   margin-left: -100px;
}
.entrada a{
    color: #2c2a2a;
    text-decoration: none;
    font-style: italic;
    font-size: 14px;
}
.boton {
  display: block;
  margin: 0 auto;
}
.form-basico .boton input[type=button],input[type=submit]{
    background: var(--verde);
    border-radius: 8px;
    color: #ffffff;
    padding: 14px 22px;
    border: 0;
    font-size: 20px;
    font-weight: bold;
    margin-top: 50px;
}
.enlaces-login{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.enlaces-login a{
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.enlaces-login a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--verde);
    transition: width 0.3s ease;
}

.enlaces-login a:hover{
    color: #242323;
}

.enlaces-login a:hover::after{
    width: 100%;
}