/* style.css */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  color: #111;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.cart-icon {
  font-size: 1.2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6%;
  background: #fafafa;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-button {
  background-color: #111;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-button:hover {
  background: #333;
}

.hero-img img {
  width: 350px;
  max-width: 100%;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
}

/* ---- Category Layout ---- */

.categories {
  padding: 2rem 4%;
  background: #fff;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.category-item {
  width: 200px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.category-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.category-item:hover img {
  transform: scale(1.05);
}

.category-item p {
  margin-top: 0.5rem;
  font-weight: 500;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

/* ---- Footer ---- */

footer {
  padding: 2rem;
  background: #fafafa;
  text-align: center;
}

.social-icons a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .hero-img {
    margin-top: 2rem;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .category-row {
    flex-direction: column;
    align-items: center;
  }
}

/* Email signup form styles */
.signup-section {
  background: #f4f4f4;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #ccc;
}
.signup-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.signup-form input {
  padding: 0.6rem;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.signup-form button {
  padding: 0.6rem 1.2rem;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}