/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Sticky Header */
.sticky-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 600;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff0000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
}

/* Hero Section */
.hero-section {
  background: url("https://via.placeholder.com/1920x600") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-btn {
  background: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #e68a00;
}

/* Feature Highlights */
.feature-highlights {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 40px;
  color: #ff9900;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Flash Sale */
.flash-sale {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.countdown-timer {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.sale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sale-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.sale-item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.price {
  font-size: 20px;
  font-weight: 600;
  color: #ff9900;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
}

.sale-btn {
  background: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s;
}

.sale-btn:hover {
  background: #e68a00;
}

/* Product Categories */
.product-categories {
  padding: 50px 20px;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.category-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.category-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.overlay a {
  background: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
}

/* Testimonials */
.testimonials {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
  font-size: 16px;
  margin-bottom: 10px;
}

.author {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

/* Newsletter */
.newsletter {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  padding: 10px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.newsletter-form button {
  background: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #e68a00;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  padding: 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .feature-grid, .sale-grid, .category-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
}