/* Hero Banner Animations - Scoped */
@keyframes heroSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#banner-carousel .carousel-item .hero-text-content,
#banner-carousel .carousel-item .hero-image-content {
  opacity: 0;
}

#banner-carousel .carousel-item.active .hero-text-content {
  animation: heroSlideInLeft var(--anim-speed, 1s)
    cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#banner-carousel .carousel-item.active .hero-image-content {
  animation: heroSlideInRight var(--anim-speed, 1s)
    cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Workaround for loading screen: initial delay for the first slide */
#banner-carousel
  .carousel-item:first-child:not(.delay-removed)
  .hero-text-content,
#banner-carousel
  .carousel-item:first-child:not(.delay-removed)
  .hero-image-content {
  animation-delay: var(--initial-delay, 1.5s);
}

/* Hero Breadcrumb Özel Stilleri - Modern Ajans Tasarımı */
.hero-static-breadcrumb {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  z-index: 20;
}

.hero-breadcrumb-wrapper {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.hero-breadcrumb-wrapper:hover {
  background: transparent;
  box-shadow: none;
}

.hero-breadcrumb-container .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.hero-breadcrumb-container .breadcrumb-item,
.hero-breadcrumb-container .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.hero-breadcrumb-container .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-breadcrumb-container .breadcrumb-item a:hover {
  color: #ffffff !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
}

.hero-breadcrumb-container .breadcrumb-item a i {
  display: none !important;
}

.hero-breadcrumb-container .breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin: 0 24px;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-breadcrumb-container .breadcrumb-item + .breadcrumb-item::before {
  display: none !important;
}

/* Mobil Uyum (Responsive) Ayarları */
@media (max-width: 768px) {
  .hero-static-breadcrumb {
    bottom: 25px;
  }

  .hero-breadcrumb-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 15px;
  }

  .hero-breadcrumb-container .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 8px;
  }

  .hero-breadcrumb-container .breadcrumb-item,
  .hero-breadcrumb-container .breadcrumb-item a {
    font-size: 2rem !important;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.4;
  }

  .hero-breadcrumb-container .breadcrumb-item:not(:last-child)::after {
    margin: 0 12px;
    font-size: 1.2rem;
  }
}
