/* Kavalcıoğlu Enerji — yenilikçi ana sayfa (forest / neon / glass) */

.home-page {
  --home-forest: #0a1f14;
  --home-forest-mid: #0d2818;
  --home-neon: #34f5c5;
  --home-neon-dim: rgba(52, 245, 197, 0.35);
  --home-ink: #0f1419;
  --home-glass: rgba(15, 20, 25, 0.55);
  --font-display: "Syne", "Space Grotesk", system-ui, sans-serif;
}

.page-main--home {
  padding-top: 0;
}

/* Header — ana sayfada daha şeffaf cam */
body.home-page .site-header--brand {
  background: rgba(10, 31, 20, 0.45);
  border-bottom-color: rgba(52, 245, 197, 0.12);
}

.site-header__brand--logo-only {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-header__logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #fff;
}

body.home-page .site-nav a.is-active {
  color: var(--home-neon);
}

/* --- Hero --- */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--home-forest);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__media video,
.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero görsel slider */
.home-hero__media--slider {
  background: #07120c;
}

.home-hero__slides {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.home-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.home-hero__slide.is-active img {
  transform: scale(1);
}

.home-hero__slider-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-hero__slider-ui button {
  pointer-events: auto;
  cursor: pointer;
}

.home-hero__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(4.5rem, 12vh, 6.5rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  background: rgba(5, 10, 8, 0.45);
  border: 1px solid rgba(52, 245, 197, 0.2);
  backdrop-filter: blur(8px);
}

.home-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.home-hero__dot.is-active {
  width: 1.35rem;
  background: var(--home-neon);
  box-shadow: 0 0 12px rgba(52, 245, 197, 0.45);
}

.home-hero__dot:focus-visible {
  outline: 2px solid var(--home-neon);
  outline-offset: 2px;
}

.home-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 10, 8, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-hero__nav:hover {
  background: rgba(52, 245, 197, 0.15);
  border-color: rgba(52, 245, 197, 0.35);
}

.home-hero__nav--prev {
  left: clamp(0.5rem, 2.5vw, 1rem);
}

.home-hero__nav--next {
  right: clamp(0.5rem, 2.5vw, 1rem);
}

.home-hero__nav::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid rgba(248, 250, 252, 0.95);
  border-right: 2px solid rgba(248, 250, 252, 0.95);
}

.home-hero__nav--prev::before {
  transform: rotate(-135deg);
  margin-left: 0.15rem;
}

.home-hero__nav--next::before {
  transform: rotate(45deg);
  margin-right: 0.15rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    165deg,
    rgba(10, 31, 20, 0.88) 0%,
    rgba(8, 22, 16, 0.72) 40%,
    rgba(15, 20, 25, 0.85) 100%
  );
  pointer-events: none;
}

/* Hero — alt bölümde hat direği / türbin çizgileri (neon tonları) */
.home-hero__deco {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(32vh, 260px);
  min-height: 150px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.home-hero__deco svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(145%, 1700px);
  height: auto;
  max-height: 100%;
  opacity: 0.42;
}

.home-hero__content {
  position: relative;
  z-index: 4;
  max-width: 58rem;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.home-hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 5.8vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
  color: #f8fafc;
  margin: 0 0 0.85rem;
  max-width: min(26em, 96vw);
  margin-left: auto;
  margin-right: auto;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.45),
    0 12px 48px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(52, 245, 197, 0.08);
}

.home-hero__headline .hero-headline-char {
  display: inline-block;
  opacity: 0;
}

.home-hero__headline .hero-headline-space {
  width: 0.28em;
}

/* Tek sözcük (örn. İçin) satır ortasında bölünmesin */
.home-hero__headline-nowrap {
  white-space: nowrap;
  display: inline-block;
}

.home-hero__headline-accent {
  display: inline-block;
  white-space: nowrap;
}

.home-hero__headline-accent .hero-headline-char {
  background: linear-gradient(135deg, #f0fffa 0%, #7bf5dd 40%, #34f5c5 70%, #22d3a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(52, 245, 197, 0.35));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-hero__headline-accent .hero-headline-char {
    color: #7bf5dd;
    background: none;
    filter: none;
  }
}

.home-hero__headline-rule {
  width: min(12rem, 55vw);
  height: 4px;
  margin: 0 auto 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 245, 197, 0.15),
    rgba(52, 245, 197, 0.75),
    rgba(52, 245, 197, 0.15),
    transparent
  );
  box-shadow: 0 0 24px rgba(52, 245, 197, 0.25);
}

.home-hero__sub-wrap {
  opacity: 0;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(52, 245, 197, 0.22);
  background: linear-gradient(
    155deg,
    rgba(8, 22, 16, 0.72) 0%,
    rgba(12, 30, 22, 0.55) 50%,
    rgba(15, 23, 42, 0.45) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-hero__sub-wrap--single .home-hero__sub {
  margin: 0;
}

.home-hero__sub {
  font-family: "Inter", system-ui, sans-serif;
  margin: 0;
  line-height: 1.62;
  opacity: 1;
}

.home-hero__sub--lead {
  font-size: clamp(1.08rem, 2.35vw, 1.3rem);
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.015em;
}

.home-hero__sub--rest {
  margin-top: 0.65rem !important;
  font-size: clamp(0.98rem, 2.05vw, 1.12rem);
  font-weight: 400;
  color: #cbd5e1;
}

.home-hero__sub--single {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: #e2e8f0;
  font-weight: 500;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #042018;
  background: linear-gradient(135deg, var(--home-neon) 0%, #22d3a8 100%);
  box-shadow:
    0 0 0 1px rgba(52, 245, 197, 0.4),
    0 12px 40px rgba(52, 245, 197, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
}

.home-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(52, 245, 197, 0.55),
    0 18px 48px rgba(52, 245, 197, 0.28);
}

.home-hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  opacity: 0;
}

/* --- Journey --- */
.home-journey {
  position: relative;
  padding: 5rem 1.25rem 6rem;
  background: linear-gradient(180deg, var(--home-forest) 0%, #07120c 50%, var(--home-forest-mid) 100%);
}

.home-journey__head-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.home-journey__head-ico {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 0.88;
  filter: drop-shadow(0 2px 14px rgba(52, 245, 197, 0.25));
}

.home-journey__head-rule {
  width: 4.5rem;
  height: 3px;
  margin: 0 auto 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(52, 245, 197, 0.55), transparent);
  opacity: 0.65;
}

.home-journey__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.home-journey__lead {
  text-align: center;
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

.home-journey__grid {
  display: grid;
  grid-template-columns: minmax(80px, 120px) 1fr;
  gap: 1.5rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 767px) {
  .home-journey__grid {
    grid-template-columns: 1fr;
  }
  .home-journey__svg-wrap {
    display: none;
  }
}

.home-journey__svg-wrap {
  position: sticky;
  top: 6rem;
  height: min(70vh, 520px);
}

.home-journey__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-journey__path-bg {
  fill: none;
  stroke: rgba(52, 245, 197, 0.12);
  stroke-width: 3;
  stroke-linecap: round;
}

.home-journey__path-main {
  fill: none;
  stroke: url(#home-journey-gradient);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-journey__steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.home-journey__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: var(--home-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0.38;
  filter: grayscale(0.4);
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.home-journey__step.is-active {
  opacity: 1;
  filter: none;
  border-color: rgba(52, 245, 197, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.home-journey__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 245, 197, 0.1);
  color: var(--home-neon);
  flex-shrink: 0;
}

.home-journey__icon svg {
  width: 26px;
  height: 26px;
}

.home-journey__step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.home-journey__step-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94a3b8;
}

/* --- Stats (Etki ve Performans) --- */
.home-stats {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 7vw, 5.5rem);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(52, 245, 197, 0.08), transparent 55%),
    #050a08;
}

.home-stats__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.home-stats__deco svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(55vw, 420px);
  height: auto;
}

.home-stats__head {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.home-stats__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-stats__intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
}

.home-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  max-width: 76rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .home-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem 1.15rem;
  }
}

.home-stats__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 9.5rem;
  padding: 1.35rem 1rem 1.25rem;
  border-radius: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(52, 245, 197, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.home-stats__value-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0 0.15rem;
  margin-bottom: 0.85rem;
}

.home-stats__num-inner {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--home-neon);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.12;
  /* Uzun rakamlar (ör. milyar) dar sütunda taşmasın */
  font-size: clamp(0.88rem, 2vw + 0.5rem, 1.85rem);
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (min-width: 520px) {
  .home-stats__num-inner {
    font-size: clamp(1.05rem, 1.35vw + 0.72rem, 1.95rem);
  }
}

.home-stats__suffix {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw + 0.55rem, 1rem);
  line-height: 1;
  color: rgba(52, 245, 197, 0.88);
  padding-bottom: 0.12em;
}

.home-stats__label {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #a8b7c9;
  hyphens: auto;
  overflow-wrap: break-word;
  padding: 0 0.2rem;
}

/* --- Featured --- */
.home-featured {
  padding: 5rem 1.25rem 5.5rem;
  background: var(--home-forest);
}

.home-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  text-align: center;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
}

.home-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.home-featured__card {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
  display: block;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.home-featured__card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-featured__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.home-featured__card:hover .home-featured__card-media img {
  transform: scale(1.07);
}

.home-featured__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 10, 8, 0.92) 100%);
  pointer-events: none;
}

.home-featured__card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.35rem 1.5rem;
}

.home-featured__card-city {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--home-neon);
  margin-bottom: 0.35rem;
}

.home-featured__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.25;
}

.home-featured__cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #042018;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-featured__card:hover .home-featured__cta {
  opacity: 1;
  transform: translateY(0);
}

.home-featured__card-deco {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.home-featured__card-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Newsletter strip --- */
.home-newsletter {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem;
  background: #050a08;
  border-top: 1px solid rgba(52, 245, 197, 0.1);
}

.home-newsletter__deco-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.home-newsletter__deco-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-newsletter__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.home-newsletter__icon-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.home-newsletter__icon-row svg {
  width: 2.4rem;
  height: 2.4rem;
  opacity: 0.88;
  filter: drop-shadow(0 2px 12px rgba(52, 245, 197, 0.2));
}

.home-newsletter__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.home-newsletter__text {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.home-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-newsletter__form input[type="email"] {
  flex: 1 1 220px;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.6);
  color: #f1f5f9;
  font-size: 0.9rem;
}

.home-newsletter__form button {
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--home-neon), #22d3a8);
  color: #042018;
}

.home-newsletter__msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.25em;
}

.home-newsletter__msg.is-ok {
  color: var(--home-neon);
}

.home-newsletter__msg.is-err {
  color: #fca5a5;
}
