*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f5f5;
}

header{
    background:#8b0000;
    color:white;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

nav a{
    color:white;
    text-decoration:none;
    margin:10px;
    font-weight:bold;
}

.hero{
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?q=80&w=1200&auto=format&fit=crop');

    background-size:cover;
    background-position:center;

    color:white;
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:50px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.btn{
    display:inline-block;
    margin-top:25px;
    background:#ffd166;
    color:black;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.features{
    padding:70px 8%;
    background:white;
    text-align:center;
}

.features h2{
    color:#8b0000;
    font-size:38px;
    margin-bottom:40px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.feature-box{
    background:#fff0f0;
    padding:30px 20px;
    border-radius:15px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.feature-box h3{
    color:#8b0000;
    margin-bottom:15px;
}

.products{
    padding:70px 8%;
    text-align:center;
}

.products h2{
    color:#8b0000;
    margin-bottom:40px;
    font-size:38px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    color:#8b0000;
    margin:15px 0 10px;
}

.card p{
    padding:0 15px;
    color:#555;
}

.price{
    display:block;
    margin:12px 0;
    font-weight:bold;
}

.buttons{
    padding-bottom:20px;
}

.buttons button{
    border:none;
    padding:10px 15px;
    margin:5px;
    border-radius:7px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.buttons button:hover,
.btn:hover{
    transform:scale(1.05);
}

.cart{
    background:#8b0000;
    color:white;
}

.buy{
    background:black;
    color:white;
}

.delivery{
    background:#8b0000;
    color:white;
    text-align:center;
    padding:60px 20px;
}

.contact{
    background:#fff0f0;
    text-align:center;
    padding:60px 20px;
}

.contact h2{
    color:#8b0000;
    margin-bottom:20px;
}

.contact p{
    margin:10px 0;
}

footer{
    background:black;
    color:white;
    text-align:center;
    padding:20px;
}

@media(max-width:768px){

.hero h1{
    font-size:35px;
}

header{
    justify-content:center;
    text-align:center;
}

}