/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #111;
  color: #fff;
  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: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.cart-icon {
  font-size: 20px;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #111;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

/* Hero Section */
.hero-section {
  background-image: url('https://via.placeholder.com/1200x600');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #111;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
}

/* Feature Highlights */
.feature-highlights {
  padding: 40px 20px;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.grid-item span {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Flash Sale */
.flash-sale {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.countdown-timer {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-card img {
  max-width: 100%;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.product-card button {
  background-color: #111;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Product Categories */
.product-categories {
  padding: 40px 20px;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  position: relative;
  overflow: hidden;
}

.category-item img {
  max-width: 100%;
  transition: transform 0.3s ease;
}

.category-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter {
  padding: 40px 20px;
  text-align: center;
  background-color: #111;
  color: #fff;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 250px;
}

.newsletter button {
  background-color: #fff;
  color: #111;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons a {
  font-size: 24px;
  color: #333;
}