/* General Styles */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  font-family: 'Merriweather', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

/* Sticky Header */
.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sticky-header .logo {
  font-size: 24px;
  font-weight: bold;
  color: #2E7D32;
}

.sticky-header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.sticky-header nav ul li a:hover {
  color: #4CAF50;
}

.cart-icon {
  font-size: 20px;
  cursor: pointer;
}

.cart-count {
  background-color: #4CAF50;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
}

/* Hero Section */
.hero-section {
  background-image: url('https://via.placeholder.com/1200x400');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.hero-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #45a049;
}

/* Feature Highlights */
.feature-highlights {
  padding: 50px 20px;
  background-color: white;
  text-align: center;
}

.grid-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature {
  max-width: 300px;
}

.feature img {
  margin-bottom: 20px;
}

/* Flash Sale */
.flash-sale {
  padding: 50px 20px;
  background-color: #f1f8e9;
  text-align: center;
}

.countdown-timer {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
}

.product-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.product-card img {
  margin-bottom: 20px;
}

.product-card button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.product-card button:hover {
  background-color: #45a049;
}

/* Product Categories */
.product-categories {
  padding: 50px 20px;
  background-color: white;
  text-align: center;
}

.category-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.5);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 20px;
}

/* Testimonials */
.testimonials {
  padding: 50px 20px;
  background-color: #f1f8e9;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 300px;
}

/* Newsletter */
.newsletter {
  padding: 50px 20px;
  background-color: white;
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 250px;
}

.newsletter button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #45a049;
}

/* Footer */
footer {
  background-color: #2E7D32;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links, .social-icons {
  display: flex;
  gap: 20px;
}

.footer-links a, .social-icons a {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sticky-header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-section h1 {
    font-size: 36px;
  }

  .grid-container, .product-grid, .category-grid, .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }
}