* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ff6347;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo span {
  color: #fff200;
}

nav a {
  margin-left: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background: url('https://via.placeholder.com/1200x400') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  background-color: #333;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #fff200;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
  border-radius: 5px;
}

section {
  padding: 4rem 2rem;
  text-align: center;
}

.categories .grid,
.products .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


.card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  cursor: pointer;
}

.card:hover {
  background: orange;
  color: white;
  transform: scale(1.05);
}


.product img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}
.product {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
}


.product:hover {
  transform: scale(1.05);
  background: orange;
  color: white;
}

.product:hover h3,
.product:hover p {
  color: white;
}


.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  padding: 0.8rem;
  background: #ff6347;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.contact button:hover {
  background: #e5533d;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: white;
}
.card, .product {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card:hover, .product:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .categories .grid,
  .products .grid {
    grid-template-columns: 1fr;
  }
}

