/* ============================================================
   SOVO ENERJİ — Ana Stil Dosyası
   Accent rengi: --orange (#f98e00)
   ============================================================ */

/* ── Değişkenler ── */
:root {
  --ink: #3d3d3d;
  --muted: #999;
  --line: rgba(61, 61, 61, 0.12);
  --bg: #f7f7f7;
  --white: #ffffff;
  --orange: #f98e00;
}

/* ── Reset & Temel ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 40px;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo img {
  height: 22px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Dil Seçici ── */

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lang-btn svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.lang-switcher.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(61, 61, 61, 0.10);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: rgba(249, 142, 0, 0.06);
  color: var(--orange);
}

.lang-option.active {
  color: var(--orange);
  font-weight: 500;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 40px 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  position: relative;
}

.hero-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--ink);
  position: relative;
  max-width: 700px;
}

.hero-title span {
  color: var(--orange);
}

.hero-sub {
  margin-top: 28px;
  max-width: 420px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  position: relative;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  position: relative;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.hero-stat-num span {
  color: var(--orange);
}

.hero-stat-label {
  margin-top: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* ============================================================
   PAYLAŞILAN BÖLÜM ELEMANLARı
   ============================================================ */

section {
  scroll-margin-top: 60px;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
}

.section-tag::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  margin-bottom: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.about-text {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

/* ============================================================
   HAKKIMIZDA
   ============================================================ */

#hakkimizda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.about-left {
  padding: 80px 40px;
  border-right: 1px solid var(--line);
}

.about-right {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-kwp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}

.about-kwp {
  padding: 24px;
  background: var(--bg);
}

.about-kwp-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.about-kwp-num span {
  color: var(--orange);
}

.about-kwp-label {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

/* ============================================================
   HİZMETLER
   ============================================================ */

#hizmetler {
  border-bottom: 1px solid var(--line);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 40px 40px;
  border-bottom: 1px solid var(--line);
}

.services-header-left {
  max-width: 480px;
}

.services-header-desc {
  max-width: 360px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.service-card:last-child {
  border-right: none;
}

/* Üst çizgi — hover'da açılır */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  letter-spacing: 2px;
  line-height: 1;
  color: rgba(61, 61, 61, 0.05);
  margin-bottom: -16px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-name {
  margin-bottom: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
}

.service-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   REFERANSLAR
   ============================================================ */

#referanslar {
  border-bottom: 1px solid var(--line);
}

.ref-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 64px 40px 0;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.ref-card {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  overflow: hidden;
}

.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.ref-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.ref-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(61, 61, 61, 0.65) 0%, transparent 100%);
}

.ref-label-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--white);
}

.ref-label-kwp {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   İLETİŞİM
   ============================================================ */

#iletisim {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 80px 40px;
  border-right: 1px solid var(--line);
}

.contact-right {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-label {
  margin-bottom: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
}

.contact-info-val {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
}

.contact-info-val a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.contact-info-val a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.contact-divider {
  height: 1px;
  background: var(--line);
}

.contact-map {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 4px;
  filter: grayscale(30%);
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
}

.footer-logo img {
  height: 18px;
  display: block;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* ============================================================
   ANİMASYONLAR
   ============================================================ */

/* Sayfa açılış animasyonu */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.7s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fi-1 {
  animation-delay: 0.10s;
}

.fi-2 {
  animation-delay: 0.25s;
}

.fi-3 {
  animation-delay: 0.40s;
}

.fi-4 {
  animation-delay: 0.60s;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  #hero {
    padding: 100px 20px 48px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  #hakkimizda {
    grid-template-columns: 1fr;
  }

  .about-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 48px 20px;
  }

  .about-right {
    padding: 48px 20px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 20px 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 20px;
  }

  .ref-header {
    flex-direction: column;
    gap: 16px;
    padding: 48px 20px 0;
  }

  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #iletisim {
    grid-template-columns: 1fr;
  }

  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 48px 20px;
  }

  .contact-right {
    padding: 48px 20px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}