.hero-carousel {
  height: 500px;
  overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel img {
  height: 500px;
  object-fit: cover;
}
.carousel-wrapper {
  width: 100vw;
  height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.carousel-3d {
  display: flex;
  transition: transform 0.6s ease;
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-box {
  position: absolute;
  width: 400px;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  opacity: 0;
  transform: scale(0.8) rotateY(30deg);
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 1;
}

.carousel-box.active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  z-index: 3;
}

.carousel-box.left {
  opacity: 0.8;
  transform: translateX(-320px) scale(0.8) rotateY(20deg);
  z-index: 2;
}

.carousel-box.right {
  opacity: 0.8;
  transform: translateX(320px) scale(0.8) rotateY(-20deg);
  z-index: 2;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 4;
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 4;
}

.carousel-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #333;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
}


/* Category Cards */
.card-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
}

.category-title img {
  width: 45px;
  height: 45px;
}

/* Inspiration Cards */
.inspiration-card {
  overflow: hidden;
  border-radius: 15px;
}

.inspiration-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.inspiration-card:hover img {
  transform: scale(1.05);
}
.hero-overlay {
    background: none !important; /* Remove grey background */
    position: absolute; /* Keep the overlay on top */
    top: 50%; /* Center the text vertically */
    left: 50%; /* Center the text horizontally */
    transform: translate(-50%, -50%); /* Perfect centering */
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 500px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* semi-transparent dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
html {
  scroll-behavior: smooth;
}
