/* Lock body from scrolling */
body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
}

/* Full-screen container */
.carousel-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Flex horizontally to slide between items */
.carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

/* Each item scrolls vertically if needed */
.carousel-item {
  flex: 0 0 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

/* =================== */
/* Dots styling */
/* =================== */
.carousel-dots {
  position: absolute;
  z-index: 10;
}

/* Desktop: Vertical dots */
@media (min-width: 769px) {
  .carousel-dots {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

/* Mobile: Horizontal dots */
@media (max-width: 768px) {
  .carousel-dots {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #000;
}

/* Optional dark mode */
.dark .carousel-item {
  background-color: #2c2c2c;
  color: #e6e6e6;
}
.dark .carousel-dot {
  background-color: rgba(255, 255, 255, 0.3);
}
.dark .carousel-dot.active {
  background-color: #e6e6e6;
}
