/* General Styles */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f5f5f5;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #6b8e23;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
}

/* Sticky Header */
.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.cart-icon {
  font-size: 1.2em;
}

.cart-count {
  background-color: #6b8e23;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 0.8em;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1200x600');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3em;
  margin: 0;
}

.cta-button {
  background-color: #8fbc8f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  margin-top: 20px;
}

/* Feature Highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.feature-card img {
  margin-bottom: 10px;
}

/* Flash Sale */
.flash-sale {
  padding: 40px 20px;
  background-color: #f0f8ff;
  text-align: center;
}

#countdown {
  font-weight: bold;
  color: #6b8e23;
}

.flash-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
}

.product-card button {
  background-color: #8fbc8f;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

/* Product Categories */
.product-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background-color: white;
}

.category-card {
  position: relative;
}

.category-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.overlay a {
  color: white;
  background-color: #6b8e23;
  padding: 10px 20px;
  border-radius: 5px;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  background-color: #f0f8ff;
  text-align: center;
}

.testimonial-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
}

/* Newsletter */
.newsletter {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.newsletter button {
  background-color: #8fbc8f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

/* Footer */
.footer {
  padding: 20px;
  background-color: #6b8e23;
  color: white;
  text-align: center;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
}

.social-icons a {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-highlights, .flash-products, .product-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-highlights, .flash-products, .product-categories {
    grid-template-columns: 1fr;
  }
}