/* ================= GENERAL SETTINGS ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
}

/* ================= HEADER ================= */
header {
  background-color: #111;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.2s ease;
}

nav ul li a:hover {
  color: #00c3ff;
}

/* ================= HERO SECTION ================= */
#hero {
  width: 100%;
  padding: 0;
  margin: 0;
}

#hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.25);
}

/* ================= INTRO SECTION ================= */
#intro {
  text-align: center;
  padding: 2rem 1rem;
}

#intro button {
  background-color: #111;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.2s ease;
}

#intro button:hover {
  background-color: #333;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #111;
  color: white;
}

/* ================= PRODUCT CAROUSEL (IMPROVED) ================= */

.carousel-section {
  text-align: center;
  padding: 60px 0;
  background: #fafafa;
}

.carousel-section h2 {
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: bold;
}

.carousel-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 25px;
  transition: transform 0.45s ease-in-out;
  padding: 15px 5px;
}

/* Single product card */
.carousel-item {
  min-width: 260px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  transition: 0.2s ease;
  text-align: center;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-item img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.carousel-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Buttons */
.carousel-btn {
  background: #111;
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: 0.2s ease;
}

.carousel-btn:hover {
  background: #00baff;
}

/* Button positions */
.carousel-btn.prev {
  left: -50px;
}

.carousel-btn.next {
  right: -50px;
}

@media (max-width: 768px) {
  .carousel-btn.prev { left: -20px; }
  .carousel-btn.next { right: -20px; }

  .carousel-item {
    min-width: 75%;
  }
}
