/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#f5f5f5;
  color:#222;
}

/* Navbar */

.navbar{
  width:100%;
  padding:20px 8%;
  background:white;

  display:flex;
  justify-content:space-between;
  align-items:center;

  box-shadow:0 2px 10px rgba(0,0,0,0.08);

  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  font-size:30px;
  font-weight:700;
}

.logo span{
  color:#ff9800;
}

.nav-links{
  display:flex;
  gap:30px;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  transition:0.3s;
}

.nav-links a:hover{
  color:#ff9800;
}

.cart-btn{
  padding:10px 20px;
  border:none;
  border-radius:30px;

  background:#ff9800;
  color:white;

  font-weight:600;
  cursor:pointer;

  transition:0.3s;
}

.cart-btn:hover{
  transform:translateY(-2px);
}

/* Hero Section */

.hero{
  width:100%;
  height:90vh;

  background:
  linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
  url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=1170&auto=format&fit=crop');

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;
  color:white;
}

.hero-content h1{
  font-size:60px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:18px;
  margin-bottom:30px;
}

.shop-btn{
  padding:14px 30px;

  border:none;
  border-radius:30px;

  background:#ff9800;
  color:white;

  font-size:16px;
  font-weight:600;

  cursor:pointer;
  transition:0.3s;
}

.shop-btn:hover{
  background:#e68900;
}

/* Products */

.products{
  padding:80px 8%;
}

.products h2{
  text-align:center;
  margin-bottom:50px;
  font-size:40px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.product-card{
  background:white;
  border-radius:20px;
  overflow:hidden;

  box-shadow:0 4px 15px rgba(0,0,0,0.08);

  transition:0.3s;
}

.product-card:hover{
  transform:translateY(-5px);
}

.product-card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.product-card h3{
  padding:15px 20px 5px;
}

.product-card p{
  padding:0 20px 15px;
  color:#ff9800;
  font-weight:600;
}

.add-cart{
  margin:0 20px 20px;

  width:calc(100% - 40px);

  padding:12px;

  border:none;
  border-radius:12px;

  background:#222;
  color:white;

  cursor:pointer;
  transition:0.3s;
}

.add-cart:hover{
  background:#ff9800;
}

/* Footer */

.footer{
  background:#111;
  color:white;
  text-align:center;
  padding:20px;
}

/* Responsive */

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    gap:20px;
  }

  .hero-content h1{
    font-size:40px;
  }

}