/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
}

/* Sticky Header */
.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #4CAF50;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.cart-icon {
  font-size: 1.2em;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1200');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.cta-button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Feature Highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
  text-align: center;
}

.feature-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

/* Flash Sale Section */
.flash-sale {
  padding: 40px;
  text-align: center;
  background-color: #E8F5E9;
}

.countdown-timer {
  font-size: 1.5em;
  margin: 20px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.product-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* Product Categories */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
}

.category-card {
  background-size: cover;
  background-position: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Testimonials */
.testimonials {
  padding: 40px;
  text-align: center;
}

.testimonial-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

/* Newsletter Section */
.newsletter {
  background-color: #4CAF50;
  color: white;
  padding: 40px;
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.newsletter button {
  background-color: white;
  color: #4CAF50;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 40px;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-highlights, .product-grid, .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-highlights, .product-grid, .categories {
    grid-template-columns: 1fr;
  }
}