/* General Styles */
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #333;
  background-color: #f9f9f9;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c2c2c;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 500;
}

.cart-icon {
  font-size: 20px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1200x400');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin: 0;
}

.hero-content p {
  font-size: 18px;
  margin: 10px 0 20px;
}

.cta-button {
  background-color: #2c2c2c;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* Feature Highlights */
.features {
  padding: 40px 20px;
  text-align: center;
}

.features h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Flash Sale */
.flash-sale {
  padding: 40px 20px;
  text-align: center;
}

.flash-sale h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.countdown-timer {
  font-size: 24px;
  margin: 20px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-card img {
  max-width: 100%;
  border-radius: 8px;
}

.price {
  font-size: 20px;
  font-weight: bold;
}

.original-price {
  text-decoration: line-through;
  color: #777;
}

/* Product Categories */
.categories {
  padding: 40px 20px;
  text-align: center;
}

.categories h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.category-card img {
  max-width: 100%;
  border-radius: 8px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover .overlay {
  opacity: 1;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter {
  padding: 40px 20px;
  text-align: center;
  background-color: #2c2c2c;
  color: #fff;
}

.newsletter h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  width: 250px;
}

.newsletter button {
  background-color: #fff;
  color: #2c2c2c;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background-color: #2c2c2c;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #fff;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
}