* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.navbar a {
  margin-left: 16px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

/* HERO */
.hero {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg,#111,#333);
  color: white;
}

.hero h1 {
  font-size: 32px;
}

.hero p {
  margin-top: 10px;
  font-size: 16px;
}

/* PRODUCTS */
.products {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}

.product-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0,0,0,.15);
}

.product-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.product-card h3 {
  margin: 10px 0;
}

.product-card p {
  font-weight: bold;
}

.product-card button {
  margin-top: 10px;
  padding: 10px 14px;
  border: none;
  background: black;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  background: #fff;
  margin-top: 30px;
  font-size: 13px;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar a {
    margin: 8px 0;
    font-size: 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .products {
    grid-template-columns: repeat(2,1fr);
  }
}

/* 📱 SMALL MOBILE */
@media (max-width: 480px) {
  .products {
    grid-template-columns: 1fr;
  }
}