/* Body background */
body {
  background-color: #e6ccf2; /* Light purple */
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Header styling */
header {
  background-color: #d1b3e0;
  padding: 30px 0 20px;
}

/* Title */
h1 {
  margin: 0 0 15px;
  color: #4b0082;
}

/* Navigation buttons */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.nav-button {
  padding: 10px 18px;
  background-color: #a64ca6;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #9932cc;
}

/* Shop Now button in main */
.shop-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #a64ca6;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.shop-button:hover {
  background-color: #9932cc;
}

/* Sections */
section {
  margin: 40px 0;
}

/* Carousel wrapper */
.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Carousel container */
.carousel-container {
  display: flex;
  animation: scrollCarousel 15s linear infinite;
}

/* Carousel images */
.carousel-image {
  width: 800px;        /* Set exact width */
  height: 500px;       /* Set exact height */
  object-fit: cover;   /* Crop to fill while keeping aspect ratio */
  flex-shrink: 0;
  border-right: 2px solid #fff; /* Optional spacing between images */
}

/* Animation for auto-scrolling */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1600px); /* Adjust: (image width * number of images - one) */
  }
}
