/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

/* Sticky Header */
.sticky-header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #e74c3c;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1500');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin: 0;
}

.hero p {
  font-size: 18px;
  margin: 10px 0 20px;
}

.cta-button {
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
}

/* Feature Highlights */
.feature-highlights {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
}

.feature-highlights .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 0;
}

.feature p {
  font-size: 16px;
  color: #666;
}

/* Flash Sale Section */
.flash-sale {
  background-color: #2c2c2c;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.countdown-timer {
  font-size: 24px;
  margin: 20px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #fff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
}

.product-card button {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Categories Section */
.categories {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.category-card img {
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay:hover {
  opacity: 1;
}

.overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 0;
}

.overlay a {
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #e74c3c;
  border-radius: 5px;
}

/* Testimonials Section */
.testimonials {
  background-color: #f9f9f9;
  padding: 50px 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-size: 16px;
  color: #666;
}

/* Newsletter Section */
.newsletter {
  background-color: #2c2c2c;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 300px;
}

.newsletter button {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sticky-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .feature-highlights .container,
  .product-grid,
  .category-grid,
  .testimonial-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .newsletter form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter input {
    width: 100%;
  }
}