/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #3C3C3C;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #4A7C59;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Sticky Header */
.sticky-header {
  background-color: #F4F4F4;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #4A7C59;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #3C3C3C;
  font-weight: 500;
}

.cart-icon {
  font-size: 20px;
  position: relative;
}

.cart-count {
  background-color: #4A7C59;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
}

/* Hero Section */
.hero-section {
  background-image: url('https://via.placeholder.com/1200x800');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #4A7C59;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
}

/* Feature Highlights */
.feature-highlights {
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.highlight-item img {
  width: 100px;
  margin-bottom: 15px;
}

.highlight-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Flash Sale */
.flash-sale {
  padding: 50px 20px;
  text-align: center;
  background-color: #F4F4F4;
}

.countdown-timer {
  font-size: 24px;
  margin: 20px 0;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  margin-bottom: 15px;
}

.product-card .price {
  font-weight: 700;
  color: #4A7C59;
}

.product-card .discount {
  text-decoration: line-through;
  color: #999;
}

/* Product Categories */
.product-categories {
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
}

.category-card img {
  width: 100%;
  border-radius: 10px;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 124, 89, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px;
}

.category-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  padding: 50px 20px;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.testimonial-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
  font-style: italic;
}

.testimonial-item .author {
  font-weight: 700;
  margin-top: 10px;
}

/* Newsletter */
.newsletter {
  padding: 50px 20px;
  text-align: center;
  background-color: #4A7C59;
  color: white;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 5px;
}

.newsletter button {
  background-color: white;
  color: #4A7C59;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background-color: #3C3C3C;
  color: white;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.social-icons a {
  font-size: 20px;
  margin: 0 10px;
}