/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #ff6b6b;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Sticky Header */
.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
}

.cart-icon {
  font-size: 18px;
}

.cart-count {
  background-color: #ff6b6b;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
}

/* Hero Section */
.hero {
  background-image: url('https://via.placeholder.com/1200x600');
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 48px;
  margin: 0;
}

.hero-content p {
  font-size: 18px;
  margin: 10px 0 20px;
}

.cta-button {
  background-color: #4ecdc4;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* Feature Highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background-color: white;
}

.feature-card {
  text-align: center;
}

.feature-card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.feature-card p {
  color: #777;
}

/* Flash Sale Section */
.flash-sale {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

.flash-sale h2 {
  font-size: 32px;
}

.countdown-timer {
  font-size: 24px;
  margin: 20px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

.product-card img {
  width: 100%;
  height: auto;
}

.product-card h4 {
  font-size: 18px;
  margin: 10px 0;
}

.product-card p {
  color: #ff6b6b;
  font-weight: bold;
}

/* Product Categories */
.product-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
}

.category-card {
  position: relative;
}

.category-card img {
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
}

/* Testimonials */
.testimonials {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.testimonial-card {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
}

.testimonial-card p {
  font-style: italic;
}

/* Newsletter */
.newsletter {
  background-color: #4ecdc4;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.newsletter h2 {
  font-size: 32px;
}

.newsletter p {
  margin: 10px 0;
}

.newsletter input {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 5px;
}

.newsletter button {
  padding: 10px 20px;
  background-color: #ff6b6b;
  color: white;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

.social-icons a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

footer p {
  margin-top: 20px;
  font-size: 12px;
}