/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
}

/* Header */
header {
  background-color: #111;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

#searchBar {
  padding: 0.5rem;
  width: 200px;
  border-radius: 4px;
  border: none;
}

#menuBtn {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Sidebar */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 200px;
  height: 100vh;
  background: #222;
  padding-top: 60px;
  transform: translateX(-100%);
  transition: 0.3s ease;
  z-index: 999;
}

#sidebar.visible {
  transform: translateX(0);
}

#sidebar ul {
  list-style: none;
  padding: 0;
}

#sidebar ul li a {
  color: white;
  padding: 1rem;
  display: block;
  text-decoration: none;
}

#sidebar ul li a:hover {
  background: #444;
}

/* Hero Section */
.hero img {
  width: 100%;
  height: auto;
}

/* Shop Section */
.shop-section {
  padding: 2rem;
  background: white;
}

.shop-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.product-grid img {
  width: 100%;
  border-radius: 8px;
}

/* Contact Section */
.contact-section {
  background: #eee;
  padding: 2rem;
}

.contact-section h2 {
  text-align: center;
}

#contactForm {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

#contactForm input,
#contactForm textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

#contactForm button {
  padding: 0.8rem;
  background: #111;
  color: white;
  border: none;
  cursor: pointer;
}

#contactForm button:hover {
  background: #333;
}
