*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f5f5;
}

/* HEADER */

header{
    background:#df1111;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:1.8rem;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#FFD54F;
}

/* HERO */

.hero{
    height:90vh;
    background-image: url(img/yoyis\ ban.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-content{
    background:rgba(0,0,0,.6);
    color:white;
    padding:40px;
    border-radius:10px;
}

.hero-content h1{
    font-size:3rem;
    margin-bottom:15px;
}

.hero-content p{
    margin-bottom:20px;
}

.btn{
    display:inline-block;
    padding:12px 25px;
    background:#FFD54F;
    color:black;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:white;
}

/* PRODUCTOS */

.productos{
    padding:70px 8%;
}

.titulo{
    text-align:center;
    margin-bottom:40px;
    font-size:2rem;
    color:#333;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
}

.card-body{
    padding:20px;
}

.card-body h3{
    margin-bottom:10px;
}

.precio{
    color:#df1111;
    font-size:1.3rem;
    font-weight:bold;
    margin:10px 0;
}

/* NOSOTROS */

.nosotros{
    padding:70px 8%;
    background:white;
    text-align:center;
}

.nosotros p{
    max-width:800px;
    margin:auto;
    line-height:1.8;
}

/* FOOTER */

footer{
    background:#df1111;
    color:white;
    text-align:center;
    padding:25px;
}

/* RESPONSIVE */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-content h1{
        font-size:2rem;
    }

    .hero{
        height:70vh;
    }
}