/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f5f5;
}

/* HEADER */
header{
    width:100%;
    background:#111;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    position:sticky;
    top:0;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-size:18px;
    transition:0.3s;
}

nav a:hover{
    color:orange;
}

/* BANNER */
.banner{
    width:100%;
    height:500px;
    background:url("/img/baclground.jfif") center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.banner-text{
    color:white;
    text-shadow:2px 2px 5px black;
}

.banner-text h1{
    font-size:60px;
    margin-bottom:15px;
}

.banner-text p{
    font-size:24px;
    margin-bottom:20px;
}

.banner button{
    padding:12px 30px;
    border:none;
    background:orange;
    color:white;
    font-size:18px;
    cursor:pointer;
    border-radius:5px;
}

/* SECTION */
section{
    padding:60px 8%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:35px;
    color:#222;
}

/* PRODUCTS */
.product-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    text-align:center;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
}

.card h3{
    margin:15px 0;
}

.card p{
    color:red;
    font-size:22px;
    margin-bottom:15px;
}

.card button{
    width:80%;
    padding:12px;
    margin-bottom:20px;
    border:none;
    background:#111;
    color:white;
    cursor:pointer;
    border-radius:5px;
    transition:0.3s;
}

.card button:hover{
    background:orange;
}

/* FOOTER */
footer{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
}

/* RESPONSIVE */
@media(max-width:768px){

    header{
        flex-direction:column;
    }

    nav{
        margin-top:15px;
    }

    .banner-text h1{
        font-size:40px;
    }

    .banner-text p{
        font-size:18px;
    }
}