:root {
  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-muted: #f4f6f9;

  /* Marka sarısı / turuncusu — belirgin; CTA’larda ortak gradyan */
  --accent-rgb: 255 175 0;
  --orange-rgb: 255 122 0;
  --accent: rgb(var(--accent-rgb));
  --accent-soft: rgb(var(--accent-rgb) / 0.38);
  --accent-mid: #ffcf40;
  --accent-rich: #ffc228;
  --accent-strong: #a87100;
  --accent-contrast: #141820;

  --navy: #0a2540;
  --orange: rgb(var(--orange-rgb));

  --btn-grad-fill: linear-gradient(
    145deg,
    var(--accent) 0%,
    var(--accent-mid) 40%,
    var(--accent-rich) 72%,
    var(--accent-strong) 100%
  );

  /* CTA butonları: aynı lacivert halka; ghost/menü ayrı */
  --btn-border-primary: 2px solid rgb(10 37 64 / 0.26);
  --btn-border-ghost: 1px solid rgb(var(--accent-rgb) / 0.62);
  --logo-shell-bg: linear-gradient(145deg, #ffffff 0%, #f5f8ff 100%);
  --logo-shell-border: rgba(10, 37, 64, 0.26);
  --logo-shell-shadow:
    0 0 0 3px rgb(var(--accent-rgb) / 0.16),
    0 18px 42px rgba(10, 37, 64, 0.26);
  --logo-core-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgb(var(--accent-rgb) / 0.2);

  --surface-1: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #eef1f6;

  /* Mini board parıltı/tile efektleri (SSS, iş akışı, kartlar) */
  --board-border: rgba(10, 37, 64, 0.1);
  --board-bg: rgba(255, 175, 0, 0.15);
  --board-shine-gradient: conic-gradient(
    from 205deg at 50% 50%,
    rgba(0, 0, 0, 0) 0deg,
    rgb(var(--accent-rgb)) 25deg,
    rgba(255, 175, 0, 0.38) 295deg,
    rgba(0, 0, 0, 0) 360deg
  );
  --board-tile: rgba(255, 175, 0, 0.2);
  --board-line: rgba(255, 175, 0, 0.44);

  --text: #141820;
  --text-soft: rgba(20, 24, 32, 0.68);
  --card-bg: var(--surface-1);
  --border-subtle: rgba(10, 37, 64, 0.12);
  --shadow-soft: 0 14px 44px rgba(10, 37, 64, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

/* Koyu tema: mevcut sarı/lacivert palete uyumlu, sade kontrast */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] :root,
html[data-theme="dark"] {
  --bg: #070b12;
  --bg-soft: #0a1020;
  --bg-muted: #0c1426;

  --surface-1: #0b1426;
  --surface-2: #0e1a2f;
  --surface-3: #12213a;

  --text: #f2f5ff;
  --text-soft: rgba(242, 245, 255, 0.72);
  --accent-strong: #ffd166;
  --accent-contrast: #f2f5ff;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.35);

  /* Board sarıları koyu zeminde daha sakin */
  --board-border: rgba(255, 255, 255, 0.12);
  --board-bg: rgb(var(--accent-rgb) / 0.12);
  --board-tile: rgb(var(--accent-rgb) / 0.16);
  --board-line: rgb(var(--accent-rgb) / 0.34);
  --logo-shell-bg: linear-gradient(145deg, #0f1c33 0%, #142542 100%);
  --logo-shell-border: rgba(255, 255, 255, 0.32);
  --logo-shell-shadow:
    0 0 0 3px rgb(var(--accent-rgb) / 0.24),
    0 18px 40px rgba(0, 0, 0, 0.46),
    0 0 24px rgb(var(--accent-rgb) / 0.3);
  --logo-core-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 24px rgb(var(--accent-rgb) / 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #ffffff;
  background-image:
    radial-gradient(135% 92% at 4% -18%, rgb(var(--accent-rgb) / 0.26) 0%, transparent 48%),
    radial-gradient(118% 82% at 95% 2%, rgba(10, 37, 64, 0.06) 0%, transparent 50%),
    radial-gradient(125% 105% at 78% 108%, rgb(var(--orange-rgb) / 0.11) 0%, transparent 46%),
    radial-gradient(100% 88% at -10% 82%, rgb(var(--accent-rgb) / 0.13) 0%, transparent 44%),
    radial-gradient(70% 55% at 102% 40%, rgb(var(--orange-rgb) / 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 45%, #ffffff 100%);
  /* fixed, özellikle masaüstünde kaydırırken ciddi kasma yapar */
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: auto;
}

html[data-theme="dark"] {
  background-color: var(--bg);
  background-image:
    radial-gradient(140% 92% at 4% -18%, rgb(var(--accent-rgb) / 0.22) 0%, transparent 52%),
    radial-gradient(118% 82% at 95% 2%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    radial-gradient(125% 105% at 78% 108%, rgb(var(--orange-rgb) / 0.12) 0%, transparent 52%),
    radial-gradient(100% 88% at -10% 82%, rgb(var(--accent-rgb) / 0.14) 0%, transparent 52%),
    linear-gradient(180deg, #070b12 0%, #0a1020 55%, #070b12 100%);
}

html[data-theme="dark"] .topbar {
  background: linear-gradient(
    to bottom,
    rgb(10 16 32 / 0.98),
    rgb(10 16 32 / 0.94),
    rgb(10 16 32 / 0.72),
    rgb(10 16 32 / 0)
  );
  border-bottom-color: rgb(var(--accent-rgb) / 0.34);
}

html[data-theme="dark"] .brand-name {
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 1) 0%, rgb(var(--orange-rgb) / 0.95) 45%, rgb(242 245 255 / 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="dark"] .brand-subtitle {
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.95) 0%, rgb(var(--orange-rgb) / 0.82) 45%, rgb(242 245 255 / 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="dark"] .brand-text {
  background: linear-gradient(145deg, rgb(10 18 34 / 0.78), rgb(12 24 46 / 0.52));
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
}

html[data-theme="dark"] .brand-name::after,
html[data-theme="dark"] .brand-subtitle::after {
  color: rgb(242 245 255 / 0.8);
  mix-blend-mode: screen;
  opacity: 0.2;
}

/* Koyu tema okunurluk düzeltmeleri */
html[data-theme="dark"] .nav-wrap {
  background-color: rgb(11 20 38 / 0.96);
  border-color: rgb(var(--accent-rgb) / 0.26);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .nav-wrap .nav-links .btn {
  color: var(--text-soft);
}

html[data-theme="dark"] .nav-wrap .nav-links .btn:hover,
html[data-theme="dark"] .nav-wrap .nav-links .btn.active {
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / 0.3);
}

html[data-theme="dark"] .menu-label {
  color: rgb(242 245 255 / 0.78);
}

html[data-theme="dark"] .section-header h2::before {
  background: linear-gradient(90deg, rgb(242 245 255 / 0.1), var(--accent));
}

html[data-theme="dark"] .section-header h2::after {
  background: linear-gradient(90deg, var(--accent), rgb(242 245 255 / 0.1));
}

html[data-theme="dark"] .services-list li::before {
  background: radial-gradient(circle at center, var(--accent), rgb(242 245 255 / 0.8));
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.16);
}

/* Koyu temada bölüm geçişlerinde sert bant/çizgi oluşmasını engeller */
html[data-theme="dark"] .hero,
html[data-theme="dark"] .section {
  background: transparent;
}

html[data-theme="dark"] .section-muted {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.02), rgb(255 255 255 / 0.01));
}

/* Koyu tema genel tipografi okunurluğu */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .contact-value,
html[data-theme="dark"] .meta-value,
html[data-theme="dark"] .hero-image-pill,
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .flow-step h3,
html[data-theme="dark"] .featured-card h3,
html[data-theme="dark"] .faq-item summary,
html[data-theme="dark"] .details-card summary,
html[data-theme="dark"] .card h3 {
  color: var(--text) !important;
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] .section-header p,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .project-card p,
html[data-theme="dark"] .flow-step p,
html[data-theme="dark"] .featured-card p,
html[data-theme="dark"] .faq-item p,
html[data-theme="dark"] .details-body,
html[data-theme="dark"] .comment-text,
html[data-theme="dark"] .comment-meta,
html[data-theme="dark"] .contact-label,
html[data-theme="dark"] .meta-label {
  color: var(--text-soft) !important;
}

/* Koyu tema kart yüzeyleri: aynı ailede, daha yumuşak kontrast */
html[data-theme="dark"] .flow-step,
html[data-theme="dark"] .featured-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .details-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .meta-item,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .project-photo,
html[data-theme="dark"] .hero-image {
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.14), rgb(14 26 48 / 0.92) 58%);
  border-color: rgb(var(--accent-rgb) / 0.26);
}

/* Son katman: koyu modda kalan çakışmaları kesin kapat */
html[data-theme="dark"] {
  background-image: linear-gradient(180deg, #070b12 0%, #0b1324 52%, #070b12 100%) !important;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .section,
html[data-theme="dark"] .section-muted {
  background: transparent !important;
}

html[data-theme="dark"] .nav-wrap .nav-links .btn {
  color: var(--text) !important;
}

html[data-theme="dark"] .nav-wrap .nav-links .btn:hover,
html[data-theme="dark"] .nav-wrap .nav-links .btn.active {
  background: rgb(255 255 255 / 0.08) !important;
  color: var(--text) !important;
}

html[data-theme="dark"] .faq-item summary::after {
  background: linear-gradient(152deg, #1a2334 0%, #121b2a 50%, #0b111a 100%);
  box-shadow:
    0 0 0 2px rgb(0 0 0 / 0.55),
    0 0 0 3px rgb(var(--accent-rgb) / 0.24),
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    inset 0 -1px 0 rgb(0 0 0 / 0.42);
}

html[data-theme="dark"] .faq-item summary:hover::after {
  box-shadow:
    0 0 0 2px rgb(0 0 0 / 0.6),
    0 0 0 3px rgb(var(--accent-rgb) / 0.34),
    0 0 18px rgb(var(--accent-rgb) / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    inset 0 -1px 0 rgb(0 0 0 / 0.42);
}

html[data-theme="dark"] .details-card .details-hint {
  color: rgb(255 200 95);
  background: linear-gradient(152deg, #1a2334 0%, #121b2a 50%, #0b111a 100%);
  border-color: rgb(var(--accent-rgb) / 0.52);
  box-shadow:
    0 0 0 2px rgb(0 0 0 / 0.5),
    0 0 0 3px rgb(var(--accent-rgb) / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    inset 0 -1px 0 rgb(0 0 0 / 0.42);
}

html[data-theme="dark"] .details-card summary:hover .details-hint {
  box-shadow:
    0 0 0 2px rgb(0 0 0 / 0.58),
    0 0 0 3px rgb(var(--accent-rgb) / 0.34),
    0 0 18px rgb(var(--accent-rgb) / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    inset 0 -1px 0 rgb(0 0 0 / 0.42);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  background: transparent;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgb(var(--accent-rgb) / 0.35);
  color: var(--accent-contrast);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb) / 0.8);
  outline-offset: 3px;
}

/* Mobilde buton/tap anlık mavi highlight çıkmasını engeller */
button,
a,
.btn,
.menu-toggle,
summary,
.faq-item summary,
.details-card summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* SSS (summary) tıklanınca tarayıcının varsayılan mavi outline'ı çıkarmasın */
summary:focus {
  outline: none;
}

summary:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb) / 0.8);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 92px;
}

@media (max-width: 880px) {
  html {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    /* Mobilde fixed background ciddi kasma yapabilir */
    background-attachment: scroll;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobilde blur (backdrop-filter) performansı düşürür */
  .topbar {
    backdrop-filter: none;
  }

  /* Mobilde logo elektrik animasyonlarını hafiflet */
  .brand-logo::before,
  .brand-logo::after {
    animation: none;
  }
}

/* Masaüstü: yalnızca hafif optimizasyon; board / SSS hover parıltıları korunur (::after açık). */
@media (min-width: 881px) {
  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(
      to bottom,
      rgb(255 255 255 / 0.98),
      rgb(255 255 255 / 0.94),
      rgb(255 255 255 / 0.72),
      rgb(255 255 255 / 0)
    );
  }

  html[data-theme="dark"] .topbar {
    background: linear-gradient(
      to bottom,
      rgb(10 16 32 / 0.98),
      rgb(10 16 32 / 0.94),
      rgb(10 16 32 / 0.72),
      rgb(10 16 32 / 0)
    );
  }

  .brand-logo::before,
  .brand-logo::after {
    animation: none;
  }

  .hero-image img,
  .project-photo img {
    filter: none;
  }

  /* Sadece blur’lu conic ::before kapatılır; fayans ::after ve isolation aynı kalır */
  .flow-step::before,
  .featured-card::before,
  .faq-item::before,
  .details-card::before,
  .card::before,
  .contact-item::before,
  .contact-form::before,
  .meta-item::before {
    display: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 0.97),
    rgb(255 255 255 / 0.93),
    rgb(255 255 255 / 0.6),
    rgb(255 255 255 / 0)
  );
  border-bottom: 1px solid rgb(var(--accent-rgb) / 0.3);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  position: relative;
}

@media (min-width: 881px) {
  .topbar-inner {
    display: grid;
    /* Sol/sağ içeriğe göre sütun: marka 1fr ile sıkışıp menünün üstüne taşmasın */
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 14px;
  }

  .topbar-left {
    justify-self: start;
    /* min-width:0 üst barda markanın min içeriğini yok sayıp taşmayı artırırdı */
    min-width: auto;
  }

  .topbar-center {
    justify-self: center;
    min-width: 0;
    width: 100%;
  }

  .topbar-right {
    justify-self: end;
  }

  .brand {
    gap: 14px;
  }

  .brand-text {
    max-width: min(22rem, 100%);
  }
}

@media (min-width: 1040px) {
  .brand-name,
  .brand-subtitle {
    white-space: nowrap;
  }
}

/* EN: çok dar masaüstünde ek sıkıştırma (temel boşluklar yukarıda kısaltıldı) */
@media (min-width: 881px) and (max-width: 1020px) {
  html[lang="en"] .nav-wrap .nav-links .btn {
    padding: 9px 5px;
    font-size: 12px;
  }

  html[lang="en"] .nav-wrap .nav-links a {
    margin: 0 1px;
  }
}

@media (min-width: 1040px) and (max-width: 1180px) {
  html[lang="en"] .brand-subtitle {
    white-space: normal;
  }
}

.topbar-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .topbar-center {
    display: contents;
  }

  .topbar-left {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbar-right {
    order: 2;
  }

  .topbar-inner > .nav-wrap {
    order: 5;
    width: 100%;
  }

  /* Mobilde bazı cihazlarda logo 1-2px yukarı kayabiliyor: sadece logoyu hizala */
  .brand-logo {
    position: relative;
    top: 1px;
  }

  /* Mobilde marka bloğunu az sağa al (diğer düzeni bozmadan) */
  .brand {
    margin-left: 4px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 5px;
  background: var(--logo-shell-bg);
  border: 1px solid var(--logo-shell-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--logo-shell-shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgb(var(--accent-rgb) / 0.95) 0%,
    rgb(var(--orange-rgb) / 0.72) 56%,
    rgb(10 37 64 / 0.92) 100%
  );
  opacity: 0.96;
  pointer-events: none;
  z-index: 0;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.54);
  box-shadow:
    0 0 0 1px rgb(var(--accent-rgb) / 0.34),
    0 0 16px rgb(var(--accent-rgb) / 0.34),
    0 0 28px rgb(var(--orange-rgb) / 0.2);
  pointer-events: none;
  z-index: 2;
  animation: logoPulseGlow 2.2s ease-in-out infinite;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 999px;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--logo-core-shadow);
  filter: saturate(1.08) contrast(1.05);
}

@keyframes logoElectricSweep {
  0% {
    transform: translate3d(-26%, -24%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(26%, 24%, 0) rotate(360deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .brand-logo:hover {
    transform: translateY(-1px) scale(1.04);
    filter: saturate(1.14);
    box-shadow:
      0 0 0 4px rgb(var(--accent-rgb) / 0.24),
      0 22px 50px rgba(10, 37, 64, 0.3),
      0 0 26px rgb(var(--accent-rgb) / 0.34);
  }
}

@keyframes logoPulseGlow {
  0%,
  100% {
    opacity: 0.78;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo::before,
  .brand-logo::after {
    animation: none;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center;
  gap: 2px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: min(19rem, 100%);
  padding: 6px 12px 7px;
  border-radius: 12px;
  text-align: left;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.9), rgb(246 249 255 / 0.62));
  border: 1px solid rgb(10 37 64 / 0.12);
  box-shadow:
    0 6px 16px rgb(10 37 64 / 0.09),
    inset 0 1px 0 rgb(255 255 255 / 0.78);
  position: relative;
  isolation: isolate;
}

.brand-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.015em;
  position: relative;
  display: inline-block;
  max-width: 100%;
  background: linear-gradient(
    135deg,
    rgb(var(--accent-rgb) / 1) 0%,
    rgb(var(--orange-rgb) / 1) 45%,
    var(--navy) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  position: relative;
  display: inline-block;
  max-width: 100%;
  background: linear-gradient(
    135deg,
    rgb(var(--accent-rgb) / 0.95) 0%,
    rgb(var(--orange-rgb) / 0.8) 45%,
    var(--navy) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name::before,
.brand-subtitle::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, transparent 28%) 0 0 / 32% 32%,
    radial-gradient(circle, rgb(var(--accent-rgb) / 0.85) 0%, transparent 26%) 50% 50% / 16% 16%;
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: overlay;
  opacity: 0.72;
  animation: brandElectricSpotlight 6.2s infinite linear;
}

.brand-name::after,
.brand-subtitle::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--navy);
  filter: blur(0.2rem);
  mix-blend-mode: multiply;
  opacity: 0.2;
}

@keyframes brandElectricSpotlight {
  0% {
    transform: translate3d(-35%, -35%, 0);
  }
  100% {
    transform: translate3d(35%, 35%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-name::before,
  .brand-subtitle::before {
    animation: none;
  }
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* index.html: üst bar sağ küme */
.topbar-right {
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-wrap {
  display: flex;
}

/* Menü (desktop + mobil panel) görünümü */
@media (min-width: 881px) {
  .nav-wrap {
    background-color: var(--surface-2);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 12px;
    border: 1px solid rgb(var(--accent-rgb) / 0.22);
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  }

  .topbar-center .nav-links {
    justify-content: center;
  }

  .nav-links {
    gap: 0;
    flex-wrap: nowrap;
  }

  .nav-links a {
    margin: 0 2px;
    padding: 4px 1px;
  }
}

.nav-wrap .nav-links {
  gap: 0;
}

.nav-wrap .nav-links .btn {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 !important;
  border: none !important;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav-wrap .nav-links .btn:hover {
  background: var(--surface-3);
  color: var(--accent-contrast);
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / 0.35);
}

.nav-wrap .nav-links .btn.active {
  background: var(--surface-3);
  color: var(--accent-contrast);
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / 0.45);
}

@media (min-width: 881px) {
  .nav-wrap .nav-links .btn {
    white-space: nowrap;
    padding: 10px 7px;
    font-size: 13px;
  }
}

/* Tema: dikey anahtar (aydınlık / koyu) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}

.theme-toggle-vertical {
  width: 40px;
  height: 64px;
  padding: 0;
}

.theme-switch-track {
  position: relative;
  width: 34px;
  height: 60px;
  border-radius: 999px;
  border: 2px solid rgb(255 255 255 / 0.92);
  background: linear-gradient(180deg, rgb(10 24 48 / 0.92) 0%, rgb(6 12 26 / 0.96) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}

html[data-theme="dark"] .theme-switch-track {
  border-color: rgb(255 255 255 / 0.55);
  background: linear-gradient(180deg, rgb(18 32 58 / 0.95) 0%, rgb(8 14 28 / 0.98) 100%);
}

/* Sabit yan tema: aydınlık modda koyu “siyah” gövde yerine krem / altın çerçeve */
html[data-theme="light"] .side-theme-toggle .theme-switch-track {
  border: 2px solid rgb(var(--accent-rgb) / 0.44);
  background: linear-gradient(180deg, rgb(255 252 248) 0%, rgb(247 242 234) 50%, rgb(238 231 220) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.92),
    inset 0 -1px 0 rgb(10 37 64 / 0.05),
    0 6px 18px rgb(10 37 64 / 0.08);
}

html[data-theme="light"] .side-theme-toggle .theme-switch-dim {
  opacity: 0.52;
}

html[data-theme="light"] .side-theme-toggle .theme-switch-thumb {
  background: linear-gradient(160deg, #ffffff 0%, #faf8f4 100%);
  box-shadow:
    0 2px 10px rgb(10 37 64 / 0.12),
    0 0 0 1px rgb(var(--accent-rgb) / 0.22);
}

.theme-switch-dim {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  line-height: 1;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.theme-switch-dim-top {
  top: 10px;
}

.theme-switch-dim-bottom {
  bottom: 10px;
}

.theme-switch-thumb {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  top: 5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  z-index: 2;
  transition: top 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .theme-switch-thumb {
  top: 29px;
}

html[data-theme="dark"] .theme-switch-thumb {
  top: 5px;
}

.theme-switch-thumb-icon {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: inset -4px 0 0 0 #e6b800;
  transform: rotate(-18deg);
}

html[data-theme="light"] .theme-switch-thumb-icon {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff6a8 0%, #ffc228 42%, #ff9a1a 88%);
  box-shadow: none;
  transform: none;
}

/* Sabit yan şerit: yalnızca dikey tema anahtarı (dil üst bardadır) */
.side-floating-tools {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.side-theme-toggle {
  margin: 0;
}

/* Üst bar: modern dil anahtarı (.md — Radore tarzı koyu yuvarlak) */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.language-switcher .lang-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  border: 2px solid #2d3748;
  cursor: pointer;
  line-height: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.language-switcher .lang-btn-img {
  display: block;
  width: 28px;
  height: auto;
  max-height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.language-switcher .lang-btn:hover {
  border-color: #f59e0b;
  transform: scale(1.08);
}

.language-switcher .lang-btn.active {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.45);
}

html[data-theme="dark"] .language-switcher .lang-btn {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .language-switcher .lang-btn.active {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5);
}

/* projeler.html vb. eski üst bar dil butonu */
.lang-toggle-flag {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgb(var(--orange-rgb));
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lang-toggle-flag:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.14);
  border-color: rgb(var(--accent-rgb));
}

html[data-theme="dark"] .lang-toggle-flag {
  background: #ffffff;
  border-color: rgb(var(--orange-rgb));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.lang-flag {
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 880px) {
  .menu-control {
    order: unset;
  }

  /* Görünür sayfa (viewport) dikey ortası — sağda, güvenli alan */
  .side-floating-tools {
    right: max(8px, env(safe-area-inset-right, 0px));
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    gap: 10px;
    z-index: 21;
  }

  .language-switcher {
    gap: 6px;
  }

  .language-switcher .lang-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .language-switcher .lang-btn-img {
    width: 24px;
    max-height: 17px;
  }

  .lang-toggle-flag {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 20px;
  }

  .theme-toggle-vertical.side-theme-toggle {
    transform: scale(0.92);
  }
}

.menu-control {
  display: none;
  align-items: center;
  gap: 10px;
}

.menu-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.menu-toggle {
  display: inline-flex;
  width: auto;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  background: var(--surface-2);
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.1);
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  z-index: 30;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  align-items: center;
  gap: 0;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, rgb(var(--accent-rgb) / 0.85), rgb(var(--orange-rgb) / 0.45), rgba(10, 37, 64, 0.55), rgb(var(--accent-rgb) / 0.85));
  filter: blur(8px);
  opacity: 0.35;
  pointer-events: none;
}

.menu-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: var(--text);
  filter: drop-shadow(0 10px 18px rgb(var(--accent-rgb) / 0.18));
}

.brand {
  transform-origin: top left;
}

.topbar-inner {
  transition: padding 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (max-width: 880px) {
  .topbar-inner {
    transition: padding 440ms cubic-bezier(0.22, 1.08, 0.36, 1);
  }

  /* Yukarı kaydırınca logo + yazı alttan yumuşakça oturur (scroll yönüyle uyumlu) */
  .brand-logo,
  .brand-text {
    transition:
      opacity 360ms cubic-bezier(0.4, 0, 0.2, 1),
      transform 560ms cubic-bezier(0.22, 1.14, 0.34, 1),
      filter 420ms ease;
    transform-origin: left center;
  }

  .brand-text {
    transition-delay: 70ms;
  }

  .topbar-hide-brand .brand-logo,
  .topbar-hide-brand .brand-text {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    filter: blur(3px);
    pointer-events: none;
  }

  /*
   * Marka gizliyken flex satırında yer kaplamasın (min-content bazı cihazlarda
   * menüyü itiyordu). Akıştan çıkar: yalnızca .topbar-contact (MENÜ) kalır.
   */
  .topbar-hide-brand .brand {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    flex: none;
    min-width: 0;
    max-width: 1px;
    max-height: 1px;
    gap: 0;
  }

  .topbar-hide-brand .topbar-contact,
  .topbar-hide-brand .topbar-right {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Daraltılmış üst barda MENÜ + hamburger her zaman görünür ve tıklanabilir olsun */
  .topbar-hide-brand .menu-control {
    display: inline-flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.topbar-hide-brand .brand {
  pointer-events: none;
}

.topbar-hide-brand .brand-logo {
  box-shadow: none;
}

.topbar-hide-brand .topbar-inner {
  justify-content: flex-end;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (min-width: 881px) {
  .brand {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .topbar-inner {
    transition: none;
  }

  .topbar-hide-brand .brand {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    transform: none;
    max-height: none;
    max-width: none;
    flex: unset;
    min-width: 0;
    overflow: visible;
    padding: 0;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: none;
    pointer-events: auto;
  }

  .topbar-hide-brand .topbar-contact,
  .topbar-hide-brand .topbar-right {
    z-index: auto;
    margin-left: unset;
  }

  .topbar-hide-brand .brand-logo,
  .topbar-hide-brand .brand-text {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

  .topbar-hide-brand .topbar-inner {
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand-text {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .topbar-inner {
    transition-duration: 0.01ms !important;
  }

  .topbar-hide-brand .brand-logo,
  .topbar-hide-brand .brand-text {
    filter: none;
  }
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgb(var(--accent-rgb) / 0.55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
}

.menu-toggle.is-buzz .menu-icon {
  animation: menuBuzz 420ms ease;
}

@keyframes menuBuzz {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-1px) rotate(-12deg) scale(1.05); }
  55% { transform: translateY(0) rotate(10deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

.nav-links .btn {
  padding: 7px 12px;
  font-size: 13px;
}

.nav-links .btn.active {
  border-color: rgb(var(--accent-rgb) / 0.6);
  background: rgb(var(--accent-rgb) / 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* Ortak sarı tonları; görünüm: primary dolu | secondary açık dolgu | outline gradyan çerçeve */
.btn-primary {
  background: var(--btn-grad-fill);
  border: var(--btn-border-primary);
  color: var(--accent-contrast);
  box-shadow: 0 18px 55px rgb(var(--accent-rgb) / 0.36);
}

.btn-primary:hover {
  transform: translateY(-1px);
  border-color: rgb(10 37 64 / 0.36);
  box-shadow: 0 22px 70px rgb(var(--accent-rgb) / 0.45);
}

.btn-secondary {
  background: linear-gradient(
    180deg,
    rgb(var(--accent-rgb) / 0.32) 0%,
    rgb(255 207 64 / 0.18) 28%,
    var(--surface-1) 52%,
    var(--surface-2) 100%
  );
  border: var(--btn-border-primary);
  color: var(--accent-contrast);
  box-shadow:
    0 12px 42px rgb(var(--accent-rgb) / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.88);
}

.btn-secondary:hover {
  background: linear-gradient(
    180deg,
    rgb(var(--accent-rgb) / 0.4) 0%,
    rgb(var(--orange-rgb) / 0.12) 35%,
    var(--surface-2) 100%
  );
  border-color: rgb(10 37 64 / 0.34);
  box-shadow: 0 16px 50px rgb(var(--accent-rgb) / 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: var(--btn-border-ghost);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgb(var(--accent-rgb) / 0.08);
  border-color: rgb(var(--accent-rgb) / 0.62);
}

.btn-outline {
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(145deg, var(--surface-1) 0%, var(--surface-2) 100%) padding-box,
    var(--btn-grad-fill) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  color: var(--accent-contrast);
  box-shadow: 0 12px 42px rgb(var(--accent-rgb) / 0.24);
}

.btn-outline:hover {
  background:
    linear-gradient(145deg, var(--surface-2) 0%, rgb(var(--accent-rgb) / 0.1) 100%) padding-box,
    var(--btn-grad-fill) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  border-color: transparent;
  box-shadow: 0 16px 50px rgb(var(--accent-rgb) / 0.32);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

main {
  padding-bottom: 64px;
}

.hero {
  padding: 32px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Kaynak sıra: önce saatler, sonra projeler (mobil). Geniş ekranda sağ sütunda üstte proje görseli için ters çevir. */
@media (min-width: 901px) {
  .hero-right {
    flex-direction: column-reverse;
  }
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.34);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.2), var(--surface-2));
  box-shadow: 0 20px 56px rgba(10, 37, 64, 0.12);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: clamp(220px, 34vw, 320px);
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.hero-projects {
  display: block;
  cursor: pointer;
}

.hero-carousel-image {
  transition: opacity 0.35s ease, transform 0.5s ease;
  opacity: 0.72;
  transform: translateX(10px) scale(1.01);
}

.hero-carousel-image.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1.02);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.98;
  pointer-events: none;
}

.hero-image-pill {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.14);
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-image-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.hero-image-project {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-projects:hover .hero-image-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-projects:hover .hero-carousel-image {
  transform: translateX(0) scale(1.05);
}

.hero-text h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.1;
  margin: 12px 0 14px;
  background: linear-gradient(
    120deg,
    var(--navy) 0%,
    rgb(10 37 64 / 0.88) 42%,
    rgb(var(--accent-rgb) / 0.95) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  margin: 0 0 18px;
  color: var(--text-soft);
  max-width: 36rem;
}

.hero-text .hero-lead {
  font-size: 15px;
  line-height: 1.55;
  max-width: min(46rem, 100%);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-text .btn-hero-call {
  color: #0a0f18;
  font-weight: 700;
}

.services-card .btn-offer-call {
  color: #0a0f18;
  font-weight: 700;
}

.hero-map-block {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.38);
  box-shadow: var(--shadow-soft);
  background: var(--surface-2);
}

.hero-map-block iframe {
  width: 100%;
  min-height: 280px;
  height: clamp(260px, 32vw, 380px);
  border: 0;
  display: block;
}

@media (min-width: 901px) {
  .hero-map-block {
    margin: 0;
    max-width: none;
  }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.meta-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgb(var(--accent-rgb) / 0.2), var(--surface-2) 55%);
  border: 1px solid rgb(var(--accent-rgb) / 0.34);
}

a.meta-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.meta-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 14px;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px 12px;
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.14), var(--surface-1) 48%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  width: 100%;
}

.hero-card .hours-list.glowing-code-block {
  margin-bottom: 10px;
}

.hero-card .btn-full {
  margin-top: 0;
}

.hero-card h2 {
  font-size: 18px;
  margin: 2px 0 10px;
}

.hero-card h2 .title-accent {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent), rgb(var(--orange-rgb) / 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card .btn-outline {
  color: var(--accent-contrast);
  font-weight: 600;
}

/* Çalışma saatleri — site paleti (sarı / turuncu / lacivert) ile uyumlu */
.hours-list.glowing-code-block {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-radius: 10px;
  background: linear-gradient(
    155deg,
    var(--surface-1) 0%,
    rgb(10 37 64 / 0.06) 38%,
    var(--surface-2) 100%
  );
  color: var(--text);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 22px rgb(var(--accent-rgb) / 0.12),
    0 0 48px rgb(var(--orange-rgb) / 0.06),
    inset 0 1px 0 rgb(var(--accent-rgb) / 0.2),
    var(--shadow-soft);
}

/* Her satır: görünen güne göre farklı palet rengiyle yatay parlama */
.hours-list.glowing-code-block li {
  --hours-glow-a: rgb(var(--accent-rgb) / 0.28);
  --hours-glow-b: rgb(var(--orange-rgb) / 0.2);
  --hours-delay: 0s;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  background: transparent;
  border-bottom: 1px solid rgb(var(--accent-rgb) / 0.1);
  overflow: hidden;
}

.hours-list.glowing-code-block li[data-day="pazartesi"] {
  --hours-glow-a: rgb(var(--accent-rgb) / 0.34);
  --hours-glow-b: rgb(var(--accent-rgb) / 0.14);
}

.hours-list.glowing-code-block li[data-day="sali"] {
  --hours-glow-a: rgb(var(--orange-rgb) / 0.3);
  --hours-glow-b: rgb(var(--accent-rgb) / 0.18);
}

.hours-list.glowing-code-block li[data-day="carsamba"] {
  --hours-glow-a: rgb(10 37 64 / 0.22);
  --hours-glow-b: rgb(var(--accent-rgb) / 0.2);
}

.hours-list.glowing-code-block li[data-day="persembe"] {
  --hours-glow-a: rgb(var(--accent-rgb) / 0.26);
  --hours-glow-b: rgb(var(--orange-rgb) / 0.26);
}

.hours-list.glowing-code-block li[data-day="cuma"] {
  --hours-glow-a: rgb(var(--orange-rgb) / 0.28);
  --hours-glow-b: rgb(10 37 64 / 0.18);
}

.hours-list.glowing-code-block li[data-day="cumartesi"] {
  --hours-glow-a: rgb(var(--accent-rgb) / 0.3);
  --hours-glow-b: rgb(var(--orange-rgb) / 0.24);
}

.hours-list.glowing-code-block li[data-day="pazar"] {
  --hours-glow-a: rgb(var(--orange-rgb) / 0.24);
  --hours-glow-b: rgb(10 37 64 / 0.2);
}

.hours-list.glowing-code-block li:nth-child(1) {
  --hours-delay: 0s;
}
.hours-list.glowing-code-block li:nth-child(2) {
  --hours-delay: 0.35s;
}
.hours-list.glowing-code-block li:nth-child(3) {
  --hours-delay: 0.7s;
}
.hours-list.glowing-code-block li:nth-child(4) {
  --hours-delay: 1.05s;
}
.hours-list.glowing-code-block li:nth-child(5) {
  --hours-delay: 1.4s;
}
.hours-list.glowing-code-block li:nth-child(6) {
  --hours-delay: 1.75s;
}
.hours-list.glowing-code-block li:nth-child(7) {
  --hours-delay: 2.1s;
}

.hours-list.glowing-code-block li::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 58%;
  left: -22%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 26%,
    var(--hours-glow-a) 40%,
    var(--hours-glow-b) 50%,
    var(--hours-glow-a) 60%,
    transparent 74%,
    transparent 100%
  );
  animation: hours-row-sweep 4.2s ease-in-out infinite;
  animation-delay: var(--hours-delay);
  pointer-events: none;
  z-index: 0;
}

@keyframes hours-row-sweep {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.45;
  }
  50% {
    transform: translateX(185%);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hours-list.glowing-code-block li::before {
    animation: none;
    opacity: 0;
  }
}

.hours-list.glowing-code-block li > span {
  position: relative;
  z-index: 1;
}

.hours-list.glowing-code-block li:last-child {
  border-bottom: none;
}

.hours-list.glowing-code-block li span:first-child {
  color: var(--text-soft);
  font-weight: 500;
}

.hours-list.glowing-code-block li span:last-child {
  color: var(--accent-strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.85),
    0 0 12px var(--hours-glow-a),
    0 0 20px var(--hours-glow-b);
}

/* Mini board shine (SSS, iş akışı, öne çıkan kartlar) */
.flow-step,
.featured-card,
.faq-item,
.details-card,
.card,
.contact-item,
.contact-form,
.meta-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.flow-step > *,
.featured-card > *,
.faq-item > *,
.details-card > *,
.card > *,
.contact-item > *,
.contact-form > *,
.meta-item > * {
  position: relative;
  z-index: 1;
}

.flow-step::before,
.featured-card::before,
.faq-item::before,
.details-card::before,
.card::before,
.contact-item::before,
.contact-form::before,
.meta-item::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: inherit;
  background: var(--board-shine-gradient);
  filter: blur(28px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.flow-step::after,
.featured-card::after,
.faq-item::after,
.details-card::after,
.card::after,
.contact-item::after,
.contact-form::after,
.meta-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 60% 5%,
      rgb(var(--accent-rgb) / 0.22) 0%,
      rgb(var(--accent-rgb) / 0) 35%
    ),
    repeating-linear-gradient(
      45deg,
      rgb(var(--accent-rgb) / 0.12) 0 2px,
      rgba(0, 0, 0, 0) 2px 14px
    ),
    repeating-linear-gradient(
      -45deg,
      rgb(var(--accent-rgb) / 0.1) 0 2px,
      rgba(0, 0, 0, 0) 2px 14px
    );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 18%, transparent 60%);
  mask-image: radial-gradient(circle at 60% 5%, black 0%, black 18%, transparent 60%);
}

@media (hover: hover) and (pointer: fine) {
  .flow-step:hover::before,
  .featured-card:hover::before,
  .faq-item:hover::before,
  .details-card:hover::before,
  .card:hover::before,
  .contact-item:hover::before,
  .contact-form:hover::before,
  .meta-item:hover::before {
    opacity: 1;
  }

  .flow-step:hover::after,
  .featured-card:hover::after,
  .faq-item:hover::after,
  .details-card:hover::after,
  .card:hover::after,
  .contact-item:hover::after,
  .contact-form:hover::after,
  .meta-item:hover::after {
    opacity: 1;
  }
}

.section {
  padding: 24px 0 32px;
}
.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.32);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.18), var(--surface-2));
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 12px;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.24);
  border: 1px solid rgb(var(--accent-rgb) / 0.52);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.flow-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.flow-step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.32);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.18), var(--surface-2));
  box-shadow: var(--shadow-soft);
  padding: 14px;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.featured-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--accent-rgb) / 0.2);
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  margin-bottom: 10px;
  font-size: 20px;
}

.featured-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.featured-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.faq-item {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  background: linear-gradient(160deg, rgb(var(--accent-rgb) / 0.1), var(--surface-2));
  overflow: hidden;
  position: relative;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 12px 14px 14px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "▼";
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  color: rgb(255 196 72);
  text-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.4);
  background: linear-gradient(152deg, #232c3f 0%, #181f2e 45%, #111722 100%);
  border: 1.5px solid rgb(var(--accent-rgb) / 0.58);
  border-radius: 11px;
  box-shadow:
    0 0 0 2px rgb(8 16 32 / 0.88),
    0 0 0 3px rgb(var(--accent-rgb) / 0.3),
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 -1px 0 rgb(0 0 0 / 0.38);
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.faq-item summary:hover::after {
  color: rgb(var(--accent-mid));
  border-color: rgb(var(--accent-mid) / 0.78);
  box-shadow:
    0 0 0 2px rgb(8 16 32 / 0.92),
    0 0 0 3px rgb(var(--accent-rgb) / 0.42),
    0 0 16px rgb(var(--accent-rgb) / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.09),
    inset 0 -1px 0 rgb(0 0 0 / 0.38);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.projects-cta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.section-cta {
  display: flex;
  justify-content: center;
}

.transport-cta {
  margin-top: 4px;
}

.details-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.32);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.16), var(--surface-1));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.details-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 600;
}

.details-card summary::-webkit-details-marker {
  display: none;
}

.details-title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.details-hint {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  color: rgb(255 196 72);
  text-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.4);
  background: linear-gradient(152deg, #232c3f 0%, #181f2e 45%, #111722 100%);
  border: 1.5px solid rgb(var(--accent-rgb) / 0.58);
  border-radius: 11px;
  box-shadow:
    0 0 0 2px rgb(8 16 32 / 0.88),
    0 0 0 3px rgb(var(--accent-rgb) / 0.3),
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 -1px 0 rgb(0 0 0 / 0.38);
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.details-hint::before {
  content: "▼";
  display: block;
}

.details-card summary:hover .details-hint {
  color: rgb(var(--accent-mid));
  border-color: rgb(var(--accent-mid) / 0.78);
  box-shadow:
    0 0 0 2px rgb(8 16 32 / 0.92),
    0 0 0 3px rgb(var(--accent-rgb) / 0.42),
    0 0 16px rgb(var(--accent-rgb) / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.09),
    inset 0 -1px 0 rgb(0 0 0 / 0.38);
}

.details-card[open] .details-hint {
  transform: rotate(180deg);
}

.details-body {
  padding: 0 16px 14px;
  color: var(--text-soft);
}

.details-body p {
  margin: 0 0 12px;
}

.project-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.34);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.18), var(--surface-2));
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.12);
  display: block;
  position: relative;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.project-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.project-photo img {
  width: 100%;
  height: clamp(170px, 24vw, 230px);
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.section-muted {
  background: var(--bg-soft);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* İletişim: ortalanmış geniş kart; TR/EN giriş metni hizası */
#iletisim .contact-section-inner {
  max-width: min(960px, 100%);
  margin-inline: auto;
  width: 100%;
}

#iletisim .contact-section-heading {
  text-align: center;
}

#iletisim .contact-section-heading > p {
  line-height: 1.55;
  min-height: calc(1.55em * 3);
  max-width: 42rem;
  margin-inline: auto;
}

#iletisim .contact-form-centered {
  width: 100%;
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 4.5vw, 40px);
}

#iletisim .contact-form-phones {
  margin: 0 0 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

#iletisim .contact-form-phones .contact-item-phones {
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  background: linear-gradient(
    165deg,
    rgb(var(--accent-rgb) / 0.12) 0%,
    var(--surface-1) 55%,
    var(--surface-2) 100%
  );
}

#iletisim .contact-form-phones .contact-label {
  margin-bottom: 8px;
}

#iletisim .contact-form-phones .contact-phone-list {
  justify-content: center;
  margin-top: 2px;
}

#iletisim .contact-form-phones .contact-phone-list .contact-value {
  font-size: 14px;
  padding: 8px 12px;
}

#iletisim .contact-form-phones + h3 {
  margin-top: 6px;
}

#iletisim .contact-form-centered .quick-contact-table {
  border-radius: 16px;
}

#iletisim .contact-form-centered .quick-contact-row {
  padding: 12px 16px;
}

html[data-theme="dark"] #iletisim .contact-form-phones .contact-item-phones {
  background: linear-gradient(
    165deg,
    rgb(var(--accent-rgb) / 0.16) 0%,
    rgb(14 26 48 / 0.96) 100%
  );
  border-color: rgb(var(--accent-rgb) / 0.38);
}

.align-start {
  align-items: flex-start;
}

.section h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 10px;
}

.section h2 span {
  color: var(--accent);
}

.section h2,
.section-header h2 {
  background: linear-gradient(
    125deg,
    var(--navy) 0%,
    rgb(10 37 64 / 0.78) 45%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-hakkimizda {
  color: var(--accent);
}

.section p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at center, var(--accent), #ffffff);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
}

.card {
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.12), var(--surface-2) 52%);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 18px;
}

.services-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

#hizmetler .services-card {
  justify-self: center;
  width: min(100%, 380px);
  margin-top: clamp(28px, 5vw, 52px);
  padding: 14px 16px 12px;
}

#hizmetler .services-card h3 {
  margin: 0 0 6px;
}

#hizmetler .services-card .form-note {
  margin-bottom: 8px;
}

#hizmetler .services-card .hero-actions {
  margin-bottom: 0;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.services-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.14);
}

.services-list li:nth-child(even)::before {
  background: linear-gradient(135deg, rgb(var(--orange-rgb) / 0.92), var(--accent));
}

.section-header {
  text-align: center;
  margin-bottom: 18px;
}

.section-header h2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 6px;
  flex-wrap: wrap;
  text-align: center;
}

.section-header h2::before,
.section-header h2::after {
  content: "";
  flex: 1 1 36px;
  height: 3px;
  border-radius: 999px;
  min-width: 24px;
  max-width: 120px;
}

.section-header h2::before {
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.08), var(--accent));
}

.section-header h2::after {
  background: linear-gradient(90deg, var(--accent), rgba(10, 37, 64, 0.08));
}

.section-header p {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-bottom: 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: transparent;
}

.map-wrapper iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
}

.contact-phone-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.contact-item-phones {
  padding: 8px 10px;
}

.contact-phone-list .contact-value {
  display: inline-flex;
  width: fit-content;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  font-size: 13px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.contact-phone-list .contact-value:hover {
  transform: translateY(-1px);
  border-color: rgb(var(--accent-rgb) / 0.65);
  background: rgb(var(--accent-rgb) / 0.08);
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.12), var(--surface-2) 52%);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 18px;
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

#iletisim .contact-form h3 {
  margin-bottom: 10px;
}

.form-note {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.contact-submit-status {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  min-height: 1.2em;
}

.contact-emergency-title {
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.quick-contact-table {
  margin-top: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgb(var(--accent-rgb) / 0.08), var(--surface-2));
}

.quick-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.quick-contact-row:last-child {
  border-bottom: none;
}

.quick-contact-label {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.quick-contact-value {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
  text-align: right;
}

.quick-contact-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quick-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.5);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--accent-rgb) / 0.08);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.quick-contact-icon svg {
  width: 20px;
  height: 20px;
}

.quick-contact-icon:hover {
  transform: translateY(-1px);
  color: var(--accent-contrast);
  background: var(--accent);
  box-shadow: 0 8px 16px rgb(var(--accent-rgb) / 0.28);
}

.quick-contact-icon-static {
  pointer-events: none;
  cursor: default;
}

.quick-contact-icon-static:hover {
  transform: none;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08);
  box-shadow: none;
}

.quick-contact-value:hover {
  color: var(--accent);
}

html[data-theme="dark"] .quick-contact-icon {
  border-color: rgb(var(--accent-rgb) / 0.65);
  background: rgb(var(--accent-rgb) / 0.14);
}

html[data-theme="dark"] .quick-contact-icon:hover {
  color: #111827;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 13px;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  color: var(--text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / 0.35);
  background: var(--surface-1);
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0 22px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-brand .brand-name {
  font-weight: 500;
  color: var(--text);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a:hover {
  color: var(--accent);
}

.dot-separator {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  #iletisim .contact-section-heading > p {
    min-height: 0;
    max-width: none;
  }

  .hero {
    padding-top: 24px;
  }

  /* Mobilde: üstte projeler görseli, altta çalışma saatleri */
  .hero-right {
    flex-direction: column-reverse;
  }
}

@media (max-width: 900px) {
  .projects-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 720px) {
  .topbar-inner {
    gap: 10px;
  }

  .brand-subtitle {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.9;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
    word-break: break-word;
  }

  .brand-text {
    gap: 2px;
    padding: 5px 9px 6px;
    max-width: none;
  }

  .brand-name {
    font-size: 16px;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .projects-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 880px) {
  .menu-control {
    display: inline-flex;
  }

  .nav-wrap {
    display: none;
  }

  .nav-wrap.open {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: var(--surface-1);
    box-shadow: 0 20px 56px rgba(10, 37, 64, 0.14);
    z-index: 25;
    overflow: hidden;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0;
  }

  /* Hamburger (CodePen esintili X animasyonu) */
  .menu-toggle {
    width: 65px;
    height: 50px;
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu-toggle::before {
    opacity: 0;
    background: none !important;
    filter: none !important;
  }

  .menu-toggle .hamburger {
    position: relative;
    width: 55px;
    height: 3px;
    border-radius: 999px;
    background: rgb(var(--accent-rgb) / 1);
    transition: 0.5s ease;
  }

  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 55px;
    height: 3px;
    border-radius: 999px;
    background: rgb(var(--accent-rgb) / 1);
    transition: 0.5s ease;
    transition-delay: 0.2s;
  }

  .menu-toggle .hamburger::before {
    top: -10px;
  }

  .menu-toggle .hamburger::after {
    top: 10px;
  }

  .menu-toggle.is-open .hamburger {
    animation: menuMove 0.5s ease forwards 1;
    box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.55);
    filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.65));
  }

  .menu-toggle.is-open .hamburger::after {
    animation: menuBottomOut 0.5s ease forwards 1;
    box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.55);
    filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.65));
  }

  .menu-toggle.is-open .hamburger::before {
    animation: menuTopToCross 0.5s ease forwards 1;
    box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.55);
    filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.65));
  }

  @keyframes menuMove {
    100% {
      transform: rotate(45deg);
    }
  }

  @keyframes menuBottomOut {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    100% {
      transform: translateY(10px);
      opacity: 0;
    }
  }

  @keyframes menuTopToCross {
    0% {
      transform: translateY(-10px);
      opacity: 1;
    }
    100% {
      transform: rotate(90deg) translateY(2px) translateX(-8px);
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .menu-toggle.is-open .hamburger,
    .menu-toggle.is-open .hamburger::before,
    .menu-toggle.is-open .hamburger::after {
      animation: none;
    }
  }
}

@media (max-width: 520px) {
  .topbar-inner {
    padding: 10px 0;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    aspect-ratio: 1;
    padding: 3px;
  }

  .brand-text {
    min-width: 0;
    justify-content: center;
    padding: 4px 7px 5px;
    max-width: none;
  }

  .brand-name {
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
  }

  .brand-subtitle {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .language-switcher {
    gap: 4px;
  }

  .language-switcher .lang-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-width: 1.5px;
  }

  .language-switcher .lang-btn-img {
    width: 22px;
    max-height: 15px;
  }

  .menu-control {
    gap: 4px;
  }

  .menu-toggle {
    width: 65px;
    height: 50px;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .menu-icon {
    width: 18px;
    height: 18px;
  }

  .menu-label {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .topbar-contact,
  .topbar-right {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .nav-wrap {
    left: auto;
    right: 0;
    width: min(320px, calc(100% - 12px));
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: var(--surface-1);
    box-shadow: 0 20px 56px rgba(10, 37, 64, 0.14);
    overflow: hidden;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 14px;
    border-radius: 0;
    border: none !important;
  }

  .nav-links .btn.active {
    background: var(--surface-3);
  }
}

/* Kartlar — sarı çerçeve; PC’de hover’da büyüme + parlak sarı (fine pointer) */
.hero-card,
.card,
.contact-item,
.contact-form,
.meta-item {
  border-radius: 14px;
  border: 1px solid rgb(var(--accent-rgb) / 0.52);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.16), var(--surface-2));
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .flow-step:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.9);
    box-shadow: 0 22px 56px rgba(10, 37, 64, 0.14);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.2),
      var(--surface-1)
    );
  }

  .featured-card:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.9);
    box-shadow: 0 22px 56px rgba(10, 37, 64, 0.14);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.22),
      var(--surface-1)
    );
  }

  .faq-item:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.9);
    box-shadow: 0 22px 56px rgba(10, 37, 64, 0.14);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.18),
      var(--surface-1)
    );
  }

  .details-card:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.9);
    box-shadow: 0 22px 56px rgba(10, 37, 64, 0.14);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.22),
      var(--surface-1)
    );
  }

  .project-photo:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.88);
    box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16);
  }

  .card:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.92);
    box-shadow: 0 22px 56px rgba(10, 37, 64, 0.14);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.24),
      var(--surface-1)
    );
  }

  .hero-card:hover,
  .contact-item:hover,
  .contact-form:hover,
  .meta-item:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent-rgb) / 0.95);
    box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16);
    background: linear-gradient(
      135deg,
      rgb(var(--accent-rgb) / 0.22),
      var(--surface-1)
    );
  }
}

