/* General Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #3E4C59;
  background-color: #F5F7FA;
}

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  color: #1A1A1A;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #2ECC71;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5em;
  font-weight: 700;
  color: #2ECC71;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.cart-icon {
  font-size: 1.2em;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1200x500');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #2ECC71;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

/* Feature Highlights */
.feature-highlights {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background-color: white;
}

.feature {
  text-align: center;
}

.feature img {
  width: 100px;
  height: 100px;
}

.feature h3 {
  margin: 10px 0;
}

/* Flash Sale */
.flash-sale {
  padding: 40px 20px;
  background-color: #F5F7FA;
  text-align: center;
}

.sale-products {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.buy-button {
  background-color: #2ECC71;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  display: block;
  margin: 10px auto 0;
}

/* Categories */
.categories {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
}

.category-card {
  position: relative;
  width: 30%;
  height: 300px;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.category-button {
  background-color: #2ECC71;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.testimonial {
  margin: 20px 0;
}

/* Newsletter */
.newsletter {
  padding: 40px 20px;
  background-color: #F5F7FA;
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 250px;
}

.newsletter button {
  background-color: #2ECC71;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

/* Footer */
footer {
  padding: 20px;
  background-color: white;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1.2em;
  margin-bottom: 20px;
}