/* =========================================================
   BioNative Next-Gen Editorial Hero Showcase Slider
   Luxury Layout: Balanced Top/Bottom Typography + Clear Product Stage
   Palette: PANTONE 562 C (#006F62), Mint (#5EDBB7), Deep Forest (#0B1E1A)
   ========================================================= */

.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 78px);
  min-height: 640px;
  max-height: 940px;
  background-color: #0B1E1A;
  overflow: hidden;
  font-family: 'Futura PT', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

.hero-slider-section .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide.slide-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 1. Full-Bleed Background Visual with Ken Burns Scale */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: block;
  transform: scale(1.08);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  pointer-events: none;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  pointer-events: none;
}

.swiper-slide-active .slide-bg {
  transform: scale(1);
}

/* Desktop Cinematic Lighting Overlay: Soft shadow on text side, bright on product */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 30, 26, 0.90) 0%,
    rgba(11, 30, 26, 0.65) 45%,
    rgba(11, 30, 26, 0.15) 75%,
    rgba(11, 30, 26, 0.02) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 2. Slide Content Wrapper (Desktop Single-Column Hero) */
.slide-content-wrapper {
  position: relative;
  z-index: 5;
  max-width: var(--container-wide, 1260px);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.slide-hero-content {
  max-width: 620px;
  color: #ffffff;
}

.slide-header-block {
  margin-bottom: 24px;
}

.slide-footer-block {
  display: flex;
  flex-direction: column;
}

/* 3. Staggered Motion Typography & Micro-animations */
.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 111, 98, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(94, 219, 183, 0.45);
  color: #5EDBB7;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 111, 98, 0.2);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s 0.1s ease, transform 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .slide-kicker {
  opacity: 1;
  transform: translateY(0);
}

.kicker-pulse {
  width: 6px;
  height: 6px;
  background-color: #5EDBB7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(94, 219, 183, 0.95);
  animation: kickerPulse 2.4s infinite ease-in-out;
}

@keyframes kickerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Masked Headline Reveal */
.title-mask {
  overflow: hidden;
  margin-bottom: 0;
}

.slide-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(115%);
  transition: transform 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-title-is-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.slide-logo-img {
  display: block;
  max-height: clamp(52px, 7vw, 92px);
  max-width: clamp(230px, 32vw, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.55));
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.swiper-slide-active .slide-title {
  transform: translateY(0);
}

.slide-desc {
  font-size: clamp(15.5px, 1.8vw, 17.5px);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.012em;
  color: rgba(255, 255, 255, 0.94);
  max-width: 520px;
  margin-bottom: 26px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s 0.28s ease, transform 0.7s 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Horizontal Feature Chips (Desktop Only) */
.slide-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.38s ease, transform 0.7s 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .slide-chips {
  opacity: 1;
  transform: translateY(0);
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.chip-label {
  color: #5EDBB7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chip-val {
  font-weight: 600;
}

/* Call to Action Buttons */
.slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s 0.48s ease, transform 0.7s 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #008A7A 0%, #006F62 100%);
  color: #ffffff !important;
  padding: 14px 34px;
  border-radius: 980px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 26px rgba(0, 111, 98, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 111, 98, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 4. Desktop Luxury Product Tabs Navigation */
.slider-tabs-nav {
  position: absolute;
  top: 36px;
  left: 48px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 30, 26, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 980px;
  padding: 5px 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.slider-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.slider-tab-btn .tab-index {
  font-size: 11px;
  font-weight: 700;
  color: #5EDBB7;
  opacity: 0.8;
}

.slider-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.slider-tab-btn.active {
  background: #006F62;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 111, 98, 0.4);
}

.slider-tab-btn.active .tab-index {
  color: #ffffff;
  opacity: 1;
}

/* 5. Modern Bottom Control Bar (Story Timeline Progress + Arrows) */
.slider-control-bar {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(11, 30, 26, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  border-radius: 980px;
  padding: 10px 14px 10px 22px;
}

.slider-timeline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-num {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.timeline-total {
  color: rgba(255, 255, 255, 0.5);
}

.timeline-track {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.timeline-fill {
  height: 100%;
  width: 0%;
  background: #5EDBB7;
  box-shadow: 0 0 12px rgba(94, 219, 183, 0.9);
  border-radius: 99px;
  transition: width 0.1s linear;
}

.slider-bar-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.slider-arrow-btn:hover {
  background: #006F62;
  border-color: #006F62;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 111, 98, 0.5);
}

.slider-arrow-btn:active {
  transform: scale(0.92);
}

/* 6. Mobile Optimization: Balanced Top/Bottom Typography + Clear Product Stage */
/* 6. Mobile Optimization: Balanced Top/Bottom Typography + Clear Product Stage */
@media (max-width: 860px) {
  .hero-slider-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    height: calc(100vh - 122px);
    height: calc(100dvh - 122px);
    height: calc(100svh - 122px);
    min-height: 480px;
    max-height: 620px;
    background-color: #0B1E1A;
  }

  /* Hide desktop tabs in mobile */
  .slider-tabs-nav {
    display: none !important;
  }

  /* Center the product photo perfectly in view */
  .slide-bg {
    transform: scale(1.03);
  }

  .slide-bg-img {
    object-position: center center;
  }

  /* Balanced vignette: Soft darkening at top for title, bright in center for product, soft dark at bottom for actions */
  .slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 30, 26, 0.78) 0%,
      rgba(11, 30, 26, 0.35) 20%,
      rgba(11, 30, 26, 0.04) 48%,
      rgba(11, 30, 26, 0.52) 68%,
      rgba(11, 30, 26, 0.94) 95%
    ) !important;
  }

  /* Space-between layout: Header at top, buttons & controls at bottom */
  .slide-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 14px 16px 58px !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .slide-hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* TOP ZONE: Kicker + Title fills the top with luxury typography */
  .slide-header-block {
    padding-top: 4px !important;
    margin-bottom: 0 !important;
  }

  .slide-kicker {
    font-size: 10px !important;
    padding: 4px 11px !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.12em !important;
  }

  .title-mask {
    margin-bottom: 0 !important;
  }

  .slide-title {
    font-size: clamp(26px, 7.8vw, 36px) !important;
    margin: 0 !important;
    line-height: 1.06 !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6) !important;
  }

  .slide-title-is-logo {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .slide-logo-img {
    max-height: clamp(38px, 11vw, 56px) !important;
    max-width: clamp(170px, 62vw, 260px) !important;
  }

  /* BOTTOM ZONE: Concise narrative + Actions */
  .slide-footer-block {
    padding-bottom: 2px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  .slide-desc {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 100% !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Remove crowded chips on mobile for clean breathing space */
  .slide-chips {
    display: none !important;
  }

  .slide-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    flex: 1 !important;
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 980px !important;
  }

  .btn-hero-primary {
    background: #006F62 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 111, 98, 0.35) !important;
  }

  /* Centered Modern Control Bar in Mobile (Görünür, ferah, alt menünün üstünde) */
  .slider-control-bar {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 320px !important;
    height: 38px !important;
    padding: 2px 6px 2px 14px !important;
    background: rgba(11, 30, 26, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 980px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .slider-timeline {
    gap: 8px !important;
    align-items: center !important;
  }

  .timeline-num {
    font-size: 11.5px !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .timeline-track {
    width: 76px !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.22) !important;
  }

  .timeline-fill {
    background: #5EDBB7 !important;
  }

  .slider-bar-arrows {
    gap: 4px !important;
  }

  .slider-arrow-btn {
    width: 30px !important;
    height: 30px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 375px) {
  .hero-slider-section {
    min-height: 450px;
  }
  .slide-content-wrapper {
    padding: 12px 14px 54px !important;
  }
  .slide-title {
    font-size: 25px !important;
  }
  .slide-desc {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  .slide-actions {
    gap: 6px !important;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 11.5px !important;
  }
  .slider-control-bar {
    max-width: 290px !important;
    height: 36px !important;
    padding: 2px 4px 2px 10px !important;
    bottom: 6px !important;
  }
  .timeline-track {
    width: 60px !important;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide,
  .slide-bg,
  .slide-bg-img,
  .slide-title,
  .slide-kicker,
  .slide-desc,
  .slide-chips,
  .slide-actions,
  .timeline-fill {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
