/* General Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.announcement-bar a {
  color: #f1c40f;
  font-weight: 500;
}

/* Sticky Header */
.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 500;
}

.cart-icon {
  position: relative;
}

.cart-icon i {
  font-size: 24px;
}

.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-section {
  background-image: url('https://via.placeholder.com/1500');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #e74c3c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #c0392b;
}

/* Features Section */
.features-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.features-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.feature-card i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #e74c3c;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 16px;
}

/* Flash Sale Section */
.flash-sale-section {
  padding: 50px 20px;
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
}

.flash-sale-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.countdown-timer {
  font-size: 24px;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #333;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.product-card p {
  font-size: 18px;
  color: #e74c3c;
}

.original-price {
  text-decoration: line-through;
  color: #888;
}

/* Categories Section */
.categories-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.categories-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.category-card .overlay h3 {
  font-size: 24px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.testimonial-card p {
  font-size: 16px;
  margin-bottom: 20px;
}

.author {
  font-weight: 500;
  color: #e74c3c;
}

/* Newsletter Section */
.newsletter-section {
  padding: 50px 20px;
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.newsletter-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px;
  border-radius: 25px;
  border: none;
  width: 300px;
}

.newsletter-form button {
  background-color: #e74c3c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  font-weight: 500;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #c0392b;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a i {
  font-size: 24px;
  color: #2c3e50;
}

.footer-copyright {
  font-size: 14px;
  color: #888;
}