:root{
    color: #4d2d1f;
    color: #8b5e3c;
    color: #c89b7b;
    color: #ccc;
    color: #fff7f2;
}
html{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
    text-align: center;
}

body{
    background:#fff7f2;
    color:#4b2e2e;
}

/* HEADER */

header{
    background:#c89b7b;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    flex-wrap:wrap;
}

.logo{
    display:flex;
    align-items:center;
    gap:20px;
}

.logo img{
    width:60px;
}

nav{
    display:flex;
    gap:20px;
   }


nav a{
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition:0.3s;
    }


@media(min-width:768px){
nav a:hover{
    color:#4b2e2e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-template-columns: auto;
           }
}

/* BUSCADOR */
@media(min-width:768px){
.busqueda{
    display:flex;
         }
}
.busqueda input{
    padding:8px;
    border:none;
    outline:none;
}

.busqueda button{
    padding:8px 12px;
    border:none;
    background:#4b2e2e;
    color:white;
    cursor:pointer;
}

/* HERO */

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h2{
    font-size:40px;
    margin-bottom:15px;
}

/* REJILLAS */

.galeria,
.rejilla{
    width:100%;
    height:90;
    align-items:center;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,2fr));
    gap:15px;
    padding:40px 0;
    border-radius:25px;
}

/* TARJETAS */

.card,
.oferta,
.precio-card{
    text-align: center;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 10px rgba(0,0,0,0.2);
    text-align:center;
    transition:0.3s;
}

.card:hover,
.oferta:hover,
.precio-card:hover{
    transform:translateY(-8px);
}

.card img,
.oferta img,
.precio-card img{
    width:60%;
    height:320px;
    object-fit:cover;
}

.card h3,
.oferta h3,
.precio-card h3{
    padding:20px;
}

/* CONTACTO */

.contacto{
    display:flex;
    justify-content:center;
    padding:50px 20px;
}

form{
    background:white;
    width:500px;
    padding:30px;
    border-radius:15px;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

form h2{
    margin-bottom:20px;
}

form input,
form textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
}

form button{
    width:100%;
    padding:12px;
    border:none;
    background:#c89b7b;
    color:white;
    font-size:18px;
    border-radius:8px;
    cursor:pointer;
}

/* FOOTER */

footer{
    background:#c89b7b;
    text-align:center;
    padding:20px;
    margin-top:40px;
}

.redes{
    margin-bottom:10px;
}

.redes i{
    font-size:28px;
    color:white;
    margin:0 10px;
    cursor:pointer;
    transition:0.3s;
}

.redes i:hover{
    color:#4b2e2e;
}

footer p{
    color:white;
    font-size:18px;
}
