@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Bodoni Moda', serif;
  background-color: #0e0e0e;
  color: #fff;
}

/* Promo Bar */
.promo-bar {
  background-color: #c41e3a;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Header */
.header {
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 1.6em;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #c41e3a;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.cart-icon {
  width: 24px;
  height: 24px;
}

/* Search Bar */
.search-bar {
  display: none;
  background-color: #1a1a1a;
  padding: 10px 20px;
}
.search-bar.active {
  display: block;
}
.search-bar input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: none;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}
.slide {
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  width: 100%;
}
.slide.active {
  opacity: 1;
  position: relative;
}
.slide img {
  width: 100%;
  display: block;
}
.dots {
  text-align: center;
  position: absolute;
  bottom: 12px;
  width: 100%;
}
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 4px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}
.dots .active {
  background-color: #c41e3a;
}

/* Products */
.products {
  text-align: center;
  padding: 50px 20px;
}
.products h2 {
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}
.product-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s;
}
.product-card:hover {
  transform: scale(1.05);
}
.product-card img {
  width: 100%;
  border-radius: 8px;
}
.product-card h3 {
  margin: 10px 0 5px;
  font-size: 16px;
}
.product-card p {
  color: #c41e3a;
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: #111;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}
.footer nav {
  margin-bottom: 15px;
}
.footer nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}
.footer p {
  color: #bbb;
  max-width: 600px;
  margin: 10px auto;
}
.footer .payments img {
  width: 50px;
  margin: 10px;
}

/* Fade Animation */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background-color: #111;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #222;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}