/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #e0e0e0;
  background-color: #0a0a0a;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #ff6f61;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Sticky Header */
.sticky-header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.cart-icon {
  font-size: 20px;
}

.cart-count {
  background-color: #ff6f61;
  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;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
}

/* Feature Highlights */
.feature-highlights {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.feature-highlights h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.grid {
  display: flex;
  justify-content: space-between;
}

.feature {
  flex: 1;
  margin: 0 20px;
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
}

/* Flash Sale Section */
.flash-sale {
  padding: 60px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.flash-sale h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.countdown-timer {
  font-size: 24px;
  margin-bottom: 40px;
}

.product-grid {
  display: flex;
  justify-content: space-between;
}

.product-card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.product-card img {
  max-width: 100%;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.product-card p {
  font-size: 18px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
}

.buy-button {
  background-color: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
}

/* Product Categories */
.product-categories {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.product-categories h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.category-grid {
  display: flex;
  justify-content: space-between;
}

.category-card {
  position: relative;
  flex: 1;
  margin: 0 20px;
}

.category-card img {
  max-width: 100%;
  border-radius: 10px;
}

.category-card h3 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #fff;
}

/* Testimonials */
.testimonials {
  padding: 60px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: flex;
  justify-content: space-between;
}

.testimonial-card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  margin: 0 20px;
}

.testimonial-card p {
  font-size: 16px;
  margin-bottom: 10px;
}

.testimonial-card span {
  font-size: 14px;
  color: #999;
}

/* Newsletter */
.newsletter {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.newsletter h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.newsletter p {
  font-size: 18px;
  margin-bottom: 30px;
}

.newsletter input {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 5px;
}

.newsletter button {
  background-color: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin-left: 10px;
}

/* Footer */
.footer {
  padding: 40px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid, .product-grid, .category-grid, .testimonial-grid {
    flex-direction: column;
  }

  .feature, .product-card, .category-card, .testimonial-card {
    margin: 20px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .newsletter input {
    width: 100%;
    margin-bottom: 10px;
  }

  .newsletter button {
    width: 100%;
    margin-left: 0;
  }
}