/* Hero Carousel Styles */
.hero-carousel-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition:
    opacity 1.5s ease-in-out,
    transform 1.5s ease-in-out;
  transform: scale(1.1);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-slide.prev {
  opacity: 0.3;
  transform: scale(1.05) translateX(-5%);
  z-index: 1;
}

.carousel-slide.next {
  opacity: 0.3;
  transform: scale(1.05) translateX(5%);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 3;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 1200px;
  padding: 0 20px;
}

.carousel-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 8px 16px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out 0.5s both;
  letter-spacing: 1px;
}

.carousel-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.carousel-cta {
  animation: fadeInUp 1s ease-out 1.1s both;
}

.carousel-btn {
  display: inline-block;
  padding: 16px 48px;
  background: rgba(45, 95, 63, 0.9);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background: rgba(45, 95, 63, 1);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.carousel-btn i {
  margin-right: 10px;
  animation: bounce 2s infinite;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

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

.carousel-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: rgba(45, 95, 63, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 30px;
}

.carousel-arrow.next {
  right: 30px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* Image Caption */
.carousel-caption-tag {
  position: absolute;
  bottom: 100px;
  right: 40px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInRight 1s ease-out 1.2s both;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  100% {
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .carousel-arrow.prev {
    left: 15px;
  }

  .carousel-arrow.next {
    right: 15px;
  }

  .carousel-nav {
    bottom: 25px;
    gap: 8px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-btn {
    padding: 12px 32px;
    font-size: 1rem;
  }

  .carousel-caption-tag {
    bottom: 70px;
    right: 15px;
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .scroll-indicator {
    bottom: 60px;
    font-size: 0.75rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Content section that appears after carousel */
.content-after-carousel {
  position: relative;
  z-index: 10;
  background: white;
}
