/* =====================================================
   HERO SLIDER - PREMIUM DESIGN
   Polished, modern design with perfect spacing
   ===================================================== */

/* Hero Slider Container */
.hero.hero-slider {
  position: relative;
  padding: 0 !important; /* Tüm padding'leri kaldır */
  margin: 0 !important; /* Tüm margin'leri kaldır */
  background: none;
  overflow: hidden;
  height: 100vh;
  max-height: 100vh;
}

/* Slider Wrapper */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: hidden;
}

/* Individual Slide */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide Background Image */
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 10s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.06);
}

/* Premium Gradient Overlay */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 15, 20, 0.97) 0%,
    rgba(10, 15, 20, 0.85) 35%,
    rgba(10, 15, 20, 0.65) 60%,
    rgba(10, 15, 20, 0.3) 85%,
    rgba(10, 15, 20, 0.1) 100%
  );
  box-shadow: inset 0 0 250px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Slide Content Container */
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0; /* Padding kaldırıldı, container'dan gelecek */
}

/* Content Animation - Daha smooth */
.hero-slide .hero-slide-content > * {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-slide-content > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .hero-slide-content > *:nth-child(1) {
  transition-delay: 0.4s;
}

.hero-slide.active .hero-slide-content > *:nth-child(2) {
  transition-delay: 0.6s;
}

.hero-slide.active .hero-slide-content > *:nth-child(3) {
  transition-delay: 0.8s;
}

/* Premium Counter Design */
.hero-slider-counter {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 15px 8px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider-counter-item {
  width: 4px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero-slider-counter-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-slider-counter-item:hover::before {
  transform: scaleY(1);
}

.hero-slider-counter-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    to top,
    var(--accent-color),
    rgba(204, 0, 0, 0.7)
  );
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.5);
}

.hero-slider-counter-item.active::after {
  height: 100%;
}

.hero-slider-counter-item:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scaleX(2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Text Styling with Premium Effects */
.hero-slide .section-title h1,
.hero-slide .section-title h3,
.hero-slide .section-title p {
  text-shadow:
    0 2px 25px rgba(0, 0, 0, 0.6),
    0 4px 50px rgba(0, 0, 0, 0.4);
}

/* Excellence List Premium Styling */
.hero-slide .excellence-innovating-list {
  margin-top: 50px;
  padding: 25px 30px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slide .excellence-innovating-list ul li {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media only screen and (max-width: 1366px) {
  .hero-slider-counter {
    right: 35px;
    padding: 12px 6px;
  }

  .hero-slider-counter-item {
    height: 55px;
  }
}

@media only screen and (max-width: 991px) {
  .hero.hero-slider {
    height: 100vh;
  }

  .hero-slider-wrapper {
    height: 100%;
  }

  /* Counter MOBİLDE DAHA KOMPAKT */
  .hero-slider-counter {
    right: 20px;
    gap: 15px;
    padding: 12px 5px;
    border-radius: 25px;
  }

  .hero-slider-counter-item {
    width: 3px;
    height: 45px;
  }

  .hero-slide .excellence-innovating-list {
    margin-top: 40px;
    padding: 20px 25px;
  }
}

@media only screen and (max-width: 767px) {
  .hero.hero-slider {
    height: 100vh;
  }

  .hero-slide::before {
    background: linear-gradient(
      105deg,
      rgba(10, 15, 20, 0.95) 0%,
      rgba(10, 15, 20, 0.88) 40%,
      rgba(10, 15, 20, 0.75) 65%,
      rgba(10, 15, 20, 0.5) 90%
    );
  }

  /* Counter MOBİLDE GÖRÜNÜR VE ŞIK */
  .hero-slider-counter {
    right: 12px;
    gap: 12px;
    padding: 10px 4px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.25);
  }

  .hero-slider-counter-item {
    width: 3px;
    height: 38px;
  }

  .hero-slide .excellence-innovating-list {
    margin-top: 35px;
    padding: 18px 20px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 480px) {
  .hero-slider-counter {
    right: 10px;
    gap: 10px;
    padding: 8px 3px;
    border-radius: 18px;
  }

  .hero-slider-counter-item {
    width: 2.5px;
    height: 32px;
  }

  .hero-slide .excellence-innovating-list {
    margin-top: 30px;
    padding: 15px 18px;
  }

  .hero-slide .excellence-innovating-list ul {
    gap: 15px 20px;
  }

  .hero-slide .excellence-innovating-list ul li {
    font-size: 13px;
  }
}

/* Loading Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth Transitions */
.hero-slide * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Performance Optimization */
.hero-slide-bg,
.hero-slider-counter-item {
  will-change: transform;
}

.hero-slide {
  will-change: opacity, visibility;
}

/* Remove any extra spacing below hero */
.hero.hero-slider + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Hero'dan sonra gelen about-us'a özel kural */
.hero.hero-slider + .about-us {
  padding-top: 120px !important;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
  .hero.hero-slider + .about-us {
    padding-top: 80px !important; /* Tablet */
  }
}

@media (max-width: 767px) {
  .hero.hero-slider + .about-us {
    padding-top: 60px !important; /* Mobil */
  }
}
