/* Hero zone — site paleti ile uyumlu (site.css :root değişkenleri) */
.hero-zone {
  position: relative;
  background: var(--hero-bg-from, #0f2438);
}

.hero-slider {
  --hero-bg-from: #0f2438;
  --hero-bg-mid: #123d4a;
  --hero-bg-to: #0d4a42;
  --hero-eyebrow: #99f6e4;
  --hero-headline: #f8fafc;
  --hero-highlight: var(--primary-500, #14b8a6);
  --hero-desc: #cbd5e1;
  --hero-btn-bg: var(--brand-800, #0d4a32);
  --hero-progress: var(--primary-500, #14b8a6);
  position: relative;
  z-index: 1;
  min-height: clamp(460px, 68vh, 590px);
  overflow: hidden;
  color: var(--hero-headline);
  background: linear-gradient(132deg, var(--hero-bg-from) 0%, var(--hero-bg-mid) 46%, var(--hero-bg-to) 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset;
}

.hero-slider-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1.25rem clamp(2rem, 4vw, 3rem);
  min-height: clamp(460px, 68vh, 590px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Arka plan — sade, kurumsal */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgb(8 20 32 / 0.08) 0%, rgb(8 20 32 / 0.28) 100%);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 54% at 12% 18%, rgb(20 184 166 / 0.18) 0%, transparent 58%),
    linear-gradient(115deg, rgb(15 23 42 / 0.24) 0%, transparent 52%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 20%, transparent 75%);
  opacity: 0.85;
}

.hero-orb {
  display: none;
}

.hero-orb--1 {
  width: 320px;
  height: 320px;
  background: var(--primary-600, #0d9488);
  top: -10%;
  left: -6%;
}

.hero-orb--2 {
  width: 260px;
  height: 260px;
  background: var(--brand-700, #126b45);
  bottom: 8%;
  right: -4%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3.5rem;
  background: linear-gradient(to bottom, transparent, rgb(15 36 48 / 0.45));
  pointer-events: none;
}

/* Dalga köprüsü */
.hero-bridge {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * clamp(44px, 6vw, 64px) + 2px);
  background: transparent;
}

.hero-bridge__wave {
  display: block;
  width: 100%;
  height: clamp(44px, 6vw, 64px);
  line-height: 0;
}

.hero-bridge__wave path {
  fill: var(--surface-0, #f1f5f9);
}

.hero-bridge__body {
  background: var(--surface-0, #f1f5f9);
  padding: 0.35rem 1rem 2rem;
}

/* İçerik */
.hero-slide-grid {
  display: grid;
  width: 100%;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  grid-template-columns: 1fr;
  perspective: 1200px;
  animation: heroTextIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 960px) {
  .hero-slide-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 2.5rem 3.75rem;
  }
}

.hero-slide-text {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.38rem 0.9rem;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--hero-eyebrow, #99f6e4);
  background: rgb(20 184 166 / 0.12);
  border: 1px solid rgb(20 184 166 / 0.22);
  border-radius: 999px;
  animation: heroContentRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide-headline {
  margin: 0 0 0.35rem;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--hero-headline, #f8fafc);
  animation: heroContentRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-slide-headline__primary {
  display: block;
}

.hero-slide-subheadline {
  display: block;
  margin: 0 0 1.1rem;
  max-width: 34rem;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--hero-highlight, #5eead4);
  animation: heroContentRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-headline-part {
  display: inline;
}

.hero-headline-part + .hero-headline-part.hero-accent::before {
  content: ' ';
}

.hero-headline-part.hero-accent:not([style*='color']) {
  color: var(--hero-highlight, #5eead4);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-slide-desc {
  margin: 0 0 1rem;
  max-width: 32rem;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  line-height: 1.7;
  color: var(--hero-desc, #cbd5e1);
  animation: heroContentRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  animation: heroContentRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero-slide-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  color: rgb(226 232 240 / 0.94);
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.hero-slide-meta__item i {
  color: var(--hero-highlight, #5eead4);
  font-size: 0.75rem;
}

.hero-slide-desc-link {
  color: var(--primary-500, #14b8a6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: heroContentRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 0.5rem;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-slide-btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.hero-slide-btn:hover {
  transform: translateY(-1px);
}

.hero-slide-btn--primary:hover i {
  transform: translateX(3px);
}

.hero-slide-btn--primary {
  background: linear-gradient(135deg, var(--primary-600, #0d9488) 0%, var(--hero-btn-bg, #0d4a32) 100%);
  color: #fff;
  border: 1px solid rgb(94 234 212 / 0.18);
  box-shadow: 0 6px 20px rgb(13 74 50 / 0.35);
}

.hero-slide-btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-500, #14b8a6) 0%, var(--primary-600, #0d9488) 100%);
  box-shadow: 0 10px 28px rgb(13 74 50 / 0.42);
}

.hero-slide-btn--secondary {
  border: 1px solid rgb(148 163 184 / 0.4);
  color: #e2e8f0;
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(6px);
}

.hero-slide-btn--secondary:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(94 234 212 / 0.45);
  color: #fff;
}

/* Görsel — düz, kurumsal çerçeve */
.hero-slide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: heroVisualIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-slide-media {
  position: relative;
  width: 100%;
  max-width: 520px;
  transform-style: preserve-3d;
}

.hero-slide-media__frame {
  position: relative;
  border-radius: 1.05rem;
  overflow: hidden;
  background: rgb(15 23 42 / 0.4);
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow:
    0 22px 52px rgb(0 0 0 / 0.34),
    0 0 0 1px rgb(20 184 166 / 0.12);
  transform: rotateY(-5deg) rotateX(2deg) translateZ(0);
  transform-origin: center;
  transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}

.hero-slide-visual.is-hover .hero-slide-media__frame {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px) translateZ(22px);
  border-color: rgb(94 234 212 / 0.28);
  box-shadow:
    0 32px 68px rgb(0 0 0 / 0.42),
    0 0 0 1px rgb(20 184 166 / 0.24),
    -18px 18px 50px rgb(20 184 166 / 0.13);
}

.hero-slide-visual--flat .hero-slide-media__frame,
.hero-slide-visual--flat.is-hover .hero-slide-media__frame {
  transform: none;
}

.hero-slide-visual--flat.is-hover .hero-slide-media__frame {
  box-shadow:
    0 28px 56px rgb(0 0 0 / 0.38),
    0 0 0 1px rgb(20 184 166 / 0.22);
}

.hero-slide-media__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgb(255 255 255 / 0.22) 0%, transparent 28%),
    linear-gradient(180deg, transparent 62%, rgb(15 23 42 / 0.18) 100%);
  pointer-events: none;
  opacity: 0.8;
}

.hero-slide-media__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, transparent 0%, rgb(255 255 255 / 0.18) 46%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.hero-slide-visual.is-hover .hero-slide-media__frame::before {
  transform: translateX(130%);
}

.hero-slide-media__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  transform: scale(1.012);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-slide-visual.is-hover .hero-slide-media__frame img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.hero-slide-media__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.75rem;
  background: rgb(8 20 32 / 0.68);
  color: #fff;
  backdrop-filter: blur(10px);
  transform: translateZ(28px);
}

.hero-slide-media__caption span,
.hero-slide-media__caption strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-slide-media__caption span {
  color: rgb(203 213 225 / 0.9);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-slide-media__caption strong {
  color: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 800;
}

.hero-slide-media__glow {
  position: absolute;
  inset: 8% -6% -8%;
  z-index: -1;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 50% 50%, rgb(20 184 166 / 0.28) 0%, transparent 68%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.hero-slide-visual.is-hover .hero-slide-media__glow {
  opacity: 1;
}

/* Slayt kontrolleri — alt şerit */
.hero-slide-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: clamp(1.15rem, 2.5vw, 1.8rem);
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  max-width: 100%;
}

.hero-slide-controls__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  min-width: 3.5rem;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.hero-slide-counter {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-slide-counter-sep,
.hero-slide-counter-total {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(148 163 184 / 0.85);
}

.hero-slider-progress-track {
  flex: 1 1 120px;
  min-width: 80px;
  max-width: 280px;
  height: 3px;
  background: rgb(255 255 255 / 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.hero-slider-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-600, #0d9488), var(--hero-progress, #14b8a6));
  border-radius: 999px;
  transition: width 0.05s linear;
}

.hero-slider-dots {
  display: flex;
  gap: 0.35rem;
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.32);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-slider-dot.is-active {
  width: 22px;
  background: var(--hero-progress, #14b8a6);
}

.hero-slider-arrows {
  display: flex;
  gap: 0.45rem;
  margin-left: auto;
}

.hero-slider-arrow {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
  background: rgb(15 23 42 / 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-slider-arrow:hover {
  background: rgb(20 184 166 / 0.22);
  border-color: rgb(94 234 212 / 0.4);
  transform: scale(1.04);
}

/* Hızlı linkler */
.hero-quicklinks {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.hero-quicklinks__panel {
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--card-bg, #fff);
  border-radius: 1rem;
  border: 1px solid var(--border-subtle, #e2e8f0);
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.08);
}

.hero-quicklinks__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero-quicklinks__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.45rem;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-700, #0f766e);
  background: var(--brand-50, #ecfdf3);
  border: 1px solid rgb(20 184 166 / 0.2);
  border-radius: 999px;
}

.hero-quicklinks__eyebrow i {
  font-size: 0.75rem;
  color: var(--primary-500, #14b8a6);
}

.hero-quicklinks__sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #64748b);
}

.hero-quicklinks__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .hero-quicklinks__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .hero-quicklinks__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .hero-quicklinks__card {
    padding: 0.75rem 0.55rem;
  }
}

.hero-quicklinks__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.85rem 0.75rem;
  text-decoration: none;
  background: var(--surface-0, #f8fafc);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 0.65rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-quicklinks__card:hover {
  background: var(--card-bg, #fff);
  border-color: rgb(20 184 166 / 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.hero-quicklinks__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.85rem;
  color: var(--primary-700, #0f766e);
  background: linear-gradient(135deg, var(--brand-50, #ecfdf5), #d1fae5);
  border-radius: 0.5rem;
}

.hero-quicklinks__text {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-heading, #0f172a);
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-quicklinks__text {
    font-size: 0.8125rem;
  }
}

@media (min-width: 992px) {
  .hero-quicklinks__text {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

.hero-quicklinks__arrow {
  margin-top: auto;
  font-size: 0.7rem;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-quicklinks__card:hover .hero-quicklinks__arrow {
  color: var(--primary-600, #0d9488);
  transform: translateX(3px);
}

/* Animasyonlar */
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateX(22px) translateY(12px) rotateY(-10deg) scale(0.97); }
  to { opacity: 1; transform: translateX(0) translateY(0) rotateY(0) scale(1); }
}

@keyframes heroContentRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -12px) scale(1.04); }
}

@media (max-width: 959px) {
  .hero-slider {
    min-height: auto;
  }

  .hero-slider-inner {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero-slide-visual {
    order: -1;
  }

  .hero-slide-media__frame,
  .hero-slide-visual.is-hover .hero-slide-media__frame {
    transform: none;
  }

  .hero-slide-media {
    max-width: min(480px, 100%);
    margin: 0 auto;
  }

  .hero-slide-text {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .hero-slide-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide-actions {
    justify-content: center;
  }

  .hero-slide-meta {
    justify-content: center;
  }

  .hero-slide-controls {
    justify-content: center;
  }

  .hero-slider-arrows {
    margin-left: 0;
  }

  .hero-bridge__wave {
    height: 42px;
  }
}

@media (max-width: 520px) {
  .hero-slide-media__caption {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .hero-slide-meta__item {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-slide-grid,
  .hero-slide-visual,
  .hero-slide-media__frame {
    animation: none;
  }

  .hero-slider-progress-fill {
    transition: none;
  }
}
