/* ===================================================
   ASIL GRUP İNŞAAT — Ana Stil Dosyası
   Renk Paleti: Lacivert + Beyaz
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ----- CSS Variables ----- */
:root {
  --navy-900: #050e1c;
  --navy-800: #0a1a30;
  --navy-700: #0d2040;
  --navy-600: #112850;
  --navy-500: #163060;
  --navy-400: #1e4080;
  --navy-300: #2a5aa8;
  --navy-200: #4a7ec8;
  --navy-100: #8ab4e8;
  --navy-50:  #e0ecf8;

  --white: #ffffff;
  --off-white: #f5f8fd;
  --gray-50:  #f0f4fa;
  --gray-100: #e2e8f4;
  --gray-200: #c8d5e8;
  --gray-300: #9bb0cc;
  --gray-400: #6b88a8;
  --gray-500: #4a6480;
  --gray-600: #344d66;
  --gray-700: #213348;

  --accent: #1e4f9c;
  --accent-light: #2e6acc;
  --accent-hover: #163d80;

  /* Navbar: menü yazıları + Bize Ulaşın */
  --nav-midnight: #071c3d;
  --nav-midnight-hover: #0d3562;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1280px;
  /* Büyük scale’li logo için daha yüksek çubuk (üst/alt kesilmesin) */
  --nav-h: 92px;
  /* Logo: çubuk boyu değişmeden mümkün olan en büyük görünüm */
  --nav-logo-h: calc(var(--nav-h) - 14px);
  /* Marka PNG (navbar + footer) aynı scale */
  --brand-logo-scale-x: 3.42;
  --brand-logo-scale-y: 2.55;
  --brand-logo-tx: 12px;
  --brand-logo-ty: 3px;
  --brand-logo-scale-x-sm: 2.2;
  --brand-logo-scale-y-sm: 2.08;
  --brand-logo-tx-sm: 8px;
  --brand-logo-ty-sm: 3px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(5, 14, 28, 0.08);
  --shadow-md: 0 6px 24px rgba(5, 14, 28, 0.12);
  --shadow-lg: 0 12px 48px rgba(5, 14, 28, 0.18);
  --shadow-xl: 0 20px 80px rgba(5, 14, 28, 0.24);

  --tr-fast: 0.18s ease;
  --tr: 0.3s ease;
  --tr-slow: 0.55s ease;
}

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

html {
  scroll-behavior: smooth;
  /* Sabit navbar yüksekliği — #anchor ve programatik kaydırmada üst boşluk */
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ----- Utility ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  min-width: 0;
  width: 100%;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  font-weight: 700; /* font-bold */
  letter-spacing: 0.25em; /* tracking-[0.25em] */
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-label--white {
  color: rgba(255,255,255,0.7);
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 600px;
}

.section-subtitle--white {
  color: rgba(255,255,255,0.75);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--tr), box-shadow var(--tr), color var(--tr);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Sağdan + soldan gelen dolum katmanı */
.btn::before,
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%; /* küçük örtüşme: ortada boşluk kalmasın */
  z-index: -1;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn::before {
  left: 0;
  transform-origin: left center;
  transform: scaleX(0);
}
.btn::after {
  right: 0;
  transform-origin: right center;
  transform: scaleX(0);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover::after  { transform: scaleX(1); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30, 79, 156, 0.35);
}
.btn-primary::before,
.btn-primary::after { background: var(--nav-midnight); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(7, 28, 61, 0.45);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-700);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy-700);
  box-shadow: var(--shadow-md);
}
.btn-white::before,
.btn-white::after { background: var(--nav-midnight); }
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}
button.btn-primary,
button.btn-white {
  border: none;
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1020; /* mobil tam ekran menünün üstünde kalır */
  height: var(--nav-h);
  min-height: var(--nav-h);
  max-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(5,14,28,0.08);
  transition: box-shadow var(--tr);
  box-sizing: border-box;
  overflow: visible;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(5,14,28,0.12);
}

.navbar.transparent { background: var(--white); }

/* 3 sütun: logo (sol) | nav linkler (orta) | actions (sağ) */
.navbar .container.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  overflow: visible;
}

.navbar-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
}

/* 3 sütun solundaki logo */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0;
  line-height: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  /* Sağa hafif */
  margin-left: 0.35rem;
}
.navbar-logo img {
  display: block;
  /* Navbar 96px ama PNG'nin çevresinde boş alan var.
     transform: scale ile görsel içerik büyütülür,
     layout alanı (96px) sabit kalır, navbar yüksekliği değişmez. */
  height: var(--nav-logo-h);
  width: auto;
  max-height: none;
  filter: none;
  object-fit: contain;
  transform: scale(var(--brand-logo-scale-x), var(--brand-logo-scale-y))
    translate(var(--brand-logo-tx), var(--brand-logo-ty));
  transform-origin: center center;
  transition: opacity var(--tr);
}
.navbar-logo img:hover { opacity: 0.85; }

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  margin: 0;
  padding: 0 1rem;
}

.navbar-nav a {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  font-weight: 500; /* font-medium */
  color: var(--nav-midnight);
  border-radius: var(--radius-sm);
  transition: var(--tr-fast);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--nav-midnight);
  transition: var(--tr);
  border-radius: var(--radius-full);
}
.navbar-nav a:hover { color: var(--nav-midnight-hover); }
.navbar-nav a:hover::after { left: 0.75rem; right: 0.75rem; }
.navbar-nav a.active { color: var(--nav-midnight); }
.navbar-nav a.active::after { left: 0.75rem; right: 0.75rem; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: 0;
}

.navbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: var(--nav-midnight);
  font-size: 1.05rem;
  transition: var(--tr-fast);
  border: none;
  background: transparent;
  cursor: pointer;
}
/* Hover’da arka plan yok; vurgu yalnızca klavye/odak (focus-visible) */
.navbar-icon-btn:hover {
  background: transparent;
  color: var(--nav-midnight);
}

.navbar-icon-btn:focus {
  outline: none;
}

.navbar-icon-btn:focus-visible {
  background: var(--navy-50);
  color: var(--nav-midnight-hover);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.45rem;
  background: var(--nav-midnight);
  border: 2px solid var(--nav-midnight);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-left: 0;
  box-shadow: 0 2px 12px rgba(7, 28, 61, 0.35);
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.navbar-cta::before,
.navbar-cta::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: var(--accent);
  z-index: -1;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-cta::before { left: 0;  transform-origin: left center;  transform: scaleX(0); }
.navbar-cta::after  { right: 0; transform-origin: right center; transform: scaleX(0); }
.navbar-cta:hover::before,
.navbar-cta:hover::after { transform: scaleX(1); }
.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 79, 156, 0.38);
  color: var(--white);
}
.navbar-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 14px rgba(7, 28, 61, 0.35);
}

/* Mobilde menü dışında da arama (ERN benzeri erişim) */
.navbar-floating-search {
  display: none;
  position: absolute;
  right: 3.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-midnight);
  border-radius: var(--radius-full);
  transition: var(--tr);
}

/* Arama overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5, 14, 28, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}
.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.search-overlay-inner {
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--gray-100);
}
.search-overlay-submit {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--tr-fast), background var(--tr-fast);
}
.search-overlay-submit:hover {
  color: var(--accent);
  background: var(--navy-50);
}
.search-overlay-submit:focus {
  outline: none;
}
.search-overlay-submit:focus-visible {
  color: var(--accent);
  background: var(--navy-50);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-overlay-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font);
  padding: 0.85rem 0;
  color: var(--navy-800);
}
/* type=search yerleşik temizle (×) — sağda zaten overlay kapatma butonu var */
.search-overlay-inner input[type='search']::-webkit-search-cancel-button,
.search-overlay-inner input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-overlay-inner input[type='search']::-moz-search-clear-button {
  display: none;
}
.search-overlay-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--gray-500);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
}
.search-overlay-close:hover {
  background: transparent;
  color: var(--gray-500);
}

.search-overlay-close:focus {
  outline: none;
}

.search-overlay-close:focus-visible {
  background: var(--navy-50);
  color: var(--navy-700);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Kariyer: başvuru modal */
.career-modal {
  position: fixed;
  inset: 0;
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 14, 28, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}
.career-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.career-modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 720px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.25rem 2rem 2rem;
}
.career-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gray-500);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--tr-fast);
}
.career-modal__close:hover {
  background: var(--navy-50);
  color: var(--navy-800);
}
.career-modal__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.career-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-800);
  margin: 0 2.5rem 0.5rem 0;
  letter-spacing: -0.02em;
}
.career-modal__hint {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.career-modal__hint strong {
  color: var(--navy-800);
  font-weight: 700;
}
.career-modal__form .form-group textarea {
  min-height: 100px;
}

.career-modal__file-wrap {
  margin-bottom: 1.25rem;
}
.career-modal__file {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.career-modal__file input[type='file'] {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--tr-fast);
}
.career-modal__file input[type='file']::file-selector-button {
  margin-right: 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--tr-fast);
}
.career-modal__file input[type='file']::file-selector-button:hover {
  background: var(--navy-700);
}
.career-modal__file input[type='file']:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 79, 156, 0.1);
}
.career-modal__file-hint {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.navbar-mobile {
  display: none;
}

/* Mobil: menü sağdan tam ekranı kaplayarak kayar; içerik navbar şeridinin altından başlar */
@media (max-width: 768px) {
  .navbar-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--white);
    padding: calc(var(--nav-h) + 1.25rem) 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
    box-shadow: -12px 0 48px rgba(5, 14, 28, 0.14);
    gap: 0.25rem;
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-mobile.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .navbar-mobile {
      transition: transform 0.01s linear;
    }
  }
}
.navbar-mobile a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--nav-midnight);
  border-radius: var(--radius-sm);
  transition: var(--tr-fast);
  border-bottom: 1px solid var(--gray-100);
}
.navbar-mobile a:hover { background: var(--navy-50); color: var(--nav-midnight-hover); }
/* .navbar-mobile a rengi .btn-primary üzerinde lacivert arka planla çakışıyordu */
.navbar-mobile a.btn-primary {
  color: var(--white);
  border-bottom: none;
  position: relative;
  z-index: 1;
}
.navbar-mobile .btn-primary {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
  background: var(--nav-midnight);
  border-color: var(--nav-midnight);
  box-shadow: 0 2px 12px rgba(7, 28, 61, 0.35);
}
/* a:hover’daki açık gri, butonun üzerine binmesin */
.navbar-mobile a.btn.btn-primary:hover {
  color: var(--white);
  background: var(--nav-midnight-hover);
  border-color: var(--nav-midnight-hover);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--navy-900);
}

.hero > .container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

/* Bize Ulaşın ile aynı renk (--nav-midnight). Önceki gradient+clip metni şeffaf boyayıp “soluk” gösteriyordu. */
.hero-title span {
  color: var(--nav-midnight);
  background: none;
  -webkit-text-fill-color: var(--nav-midnight);
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.45),
    0 2px 14px rgba(0, 0, 0, 0.75);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ----- Section Padding ----- */
.section { padding: 7rem 0; }
.section--sm { padding: 5rem 0; }
.section--lg { padding: 9rem 0; }
.section-dark { background: var(--navy-700); }
.section-navy { background: var(--navy-800); }
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }

/* ----- About Section ----- */
.about-section {
  position: relative;
  overflow-x: hidden;
  /* Tam ekran yüksekliği – navbar çıkarılır */
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  scroll-margin-top: var(--nav-h);
}

.about-section-inner {
  position: relative;
  width: 100%;
}

/* Vinç: section'ın en sağ kenarına yapışık, içerik ile çakışmaz */
.about-decor-img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-55%);
  width: clamp(90px, 8vw, 150px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  animation: about-decor-float 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes about-decor-float {
  0%, 100% { transform: translateY(-55%); }
  50%       { transform: translateY(calc(-55% - 12px)); }
}

@media (prefers-reduced-motion: reduce) {
  .about-decor-img { animation: none; }
}

@media (max-width: 1024px) {
  .about-decor-img { display: none; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-left .section-title { margin-bottom: 1.5rem; }
.about-left p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: var(--tr);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-card:hover::before { transform: scaleY(1); }

.stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-700);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-value span { color: var(--accent); }

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ----- Hakkımızda: dönen kurumsal istatistik halkası ----- */
.stat-orbit {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
}
.stat-orbit__spinner {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(30, 79, 156, 0.22);
  pointer-events: none;
  animation: stat-orbit-spin 55s linear infinite;
}
@keyframes stat-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stat-orbit__spinner {
    animation: none;
  }
}
.stat-orbit__nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.stat-orbit__node {
  pointer-events: auto;
  position: absolute;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.stat-orbit__node:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.stat-orbit__node--accent {
  background: var(--accent);
}
.stat-orbit__node--dark {
  background: var(--navy-800);
}
.stat-orbit__node.is-active {
  box-shadow: 0 0 0 3px var(--white), 0 8px 28px rgba(7, 28, 61, 0.35);
}
.stat-orbit__node-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.stat-orbit__node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.stat-orbit__node:nth-child(2) {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}
.stat-orbit__node:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.stat-orbit__node:nth-child(4) {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}
.stat-orbit__node:nth-child(1):hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.stat-orbit__node:nth-child(2):hover {
  transform: translate(50%, -50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.stat-orbit__node:nth-child(3):hover {
  transform: translate(-50%, 50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.stat-orbit__node:nth-child(4):hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.stat-orbit__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  height: 58%;
  max-width: 230px;
  max-height: 230px;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.stat-orbit__hub-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(224, 236, 248, 0.88) 100%),
    url('../images/hakkimizda.jpeg') center / cover no-repeat;
  filter: saturate(0.85);
}
.stat-orbit__hub-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.85rem;
}
.stat-orbit__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 0 0 0.35rem;
}
.stat-orbit__value {
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
}
.stat-orbit__counter {
  color: var(--navy-800);
}
.stat-orbit__suffix {
  color: var(--accent);
  font-weight: 900;
}
.stat-orbit__static {
  color: var(--navy-800);
}
.stat-orbit__sublabel {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
  line-height: 1.35;
  max-width: 12rem;
}

/* ----- Hakkımızda: Misyon & Vizyon (Yol Haritamız) ----- */
.section-roadmap .roadmap-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.25rem;
}
.section-roadmap .section-title {
  margin-bottom: 0;
}
.section-roadmap .section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 1.25rem auto 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent), var(--navy-300));
}
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.roadmap-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.35rem 2.65rem;
  overflow: hidden;
  background: linear-gradient(152deg, var(--navy-700) 0%, #0c2348 45%, var(--navy-800) 100%);
  box-shadow:
    0 4px 6px rgba(5, 14, 28, 0.06),
    0 22px 48px rgba(5, 14, 28, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.45s ease;
}
.roadmap-card--vision {
  background: linear-gradient(152deg, #123056 0%, var(--navy-600) 48%, #081a32 100%);
}
.roadmap-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy-200) 55%, rgba(138, 180, 232, 0.35) 100%);
  opacity: 0.95;
}
.roadmap-card--vision .roadmap-card__accent {
  background: linear-gradient(90deg, var(--navy-200) 0%, var(--accent) 50%, var(--navy-100) 100%);
}
.roadmap-card::before {
  content: '';
  position: absolute;
  right: -30%;
  top: -40%;
  width: 70%;
  height: 90%;
  background: radial-gradient(circle at center, rgba(74, 126, 200, 0.12) 0%, transparent 68%);
  pointer-events: none;
}
.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 12px rgba(5, 14, 28, 0.08),
    0 32px 56px rgba(5, 14, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .roadmap-card {
    transition: none;
  }
  .roadmap-card:hover {
    transform: none;
  }
}
.roadmap-card__label {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}
.roadmap-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.01em;
}

/* ----- Growth Timeline ----- */
.growth-timeline {
  --growth-pad-left: 2.25rem;
  --growth-dot-offset: 1.68rem; /* .growth-timeline__dot left ile aynı */
  --growth-dot-inner: 14px; /* border-box; merkez = yarıçap 7px */
  position: relative;
  padding: 0.25rem 0 0.25rem var(--growth-pad-left);
}

/* Dikey çizgi — nokta merkeziyle çakışsın (padding − offset + yarıçap, sonra −50%) */
.growth-timeline__track {
  position: absolute;
  left: calc(
    var(--growth-pad-left) - var(--growth-dot-offset) + var(--growth-dot-inner) * 0.5
  );
  transform: translateX(-50%);
  top: 0.62rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    var(--accent-light) 60%,
    var(--gray-100) 100%
  );
  border-radius: var(--radius-full);
}

/* Her satır */
.growth-timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-bottom: 2rem;
}
.growth-timeline__item:last-of-type {
  padding-bottom: 0.25rem;
}

/* Çizgi üzerindeki yuvarlak nokta */
.growth-timeline__dot {
  position: absolute;
  left: calc(-1 * var(--growth-dot-offset));
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--accent-light);
  flex-shrink: 0;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
  z-index: 1;
}
.growth-timeline__item--active .growth-timeline__dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(30, 79, 156, 0.22);
  animation: growth-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes growth-dot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(30, 79, 156, 0.25), 0 0 14px rgba(30, 79, 156, 0.35);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 2px rgba(30, 79, 156, 0.12), 0 0 6px rgba(30, 79, 156, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-timeline__item--active .growth-timeline__dot {
    animation: none;
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(30, 79, 156, 0.15);
  }
}

/* Yıl etiketi */
.growth-timeline__year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  min-width: 3.8rem;
  padding-top: 0.15rem;
}
.growth-timeline__item--active .growth-timeline__year {
  color: var(--accent);
}

/* İçerik */
.growth-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.growth-timeline__body strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}
.growth-timeline__body span {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.65;
}
.growth-timeline__item--active .growth-timeline__body strong {
  color: var(--accent);
}

/* ----- Projects Section ----- */
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.projects-header-left .section-title { margin-top: 0.5rem; }

.view-all-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--tr);
  white-space: nowrap;
  flex-shrink: 0;
}
.view-all-link:hover {
  color: var(--accent-hover);
}

/* ERN-style projects layout */
.projects-ern-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projects-row-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  height: 480px;
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projects-stack .project-card {
  flex: 1;
}

.projects-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  height: 280px;
}

/* keep old grid for other pages */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

a.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.project-card--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.projects-row-top .project-card,
.projects-stack .project-card,
.projects-row-bottom .project-card {
  aspect-ratio: unset;
  height: 100%;
}

.project-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--tr-slow);
}
.project-card:hover .project-card-bg { transform: scale(1.06); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,14,28,0.92) 0%,
    rgba(5,14,28,0.3) 50%,
    transparent 100%
  );
  transition: var(--tr);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(5,14,28,0.97) 0%,
    rgba(5,14,28,0.5) 60%,
    rgba(5,14,28,0.1) 100%
  );
}

.project-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  /* Metin kartın altına yaklaşsın (önceki 1.75rem ile görsel olarak daha “ortada” duruyordu) */
  padding: 1.35rem 1.75rem 0.85rem 1.75rem;
  z-index: 1;
  transform: translateY(4px);
  transition: var(--tr);
}
.project-card:hover .project-card-content { transform: translateY(0); }

.project-card-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.5rem;
}

.project-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.55),
    0 1px 6px rgba(0, 0, 0, 0.75),
    0 0 1px rgba(0, 0, 0, 0.9);
}

.project-card--large .project-card-title {
  font-size: 1.72rem;
}

.project-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--tr);
}
.project-card:hover .project-card-desc { opacity: 1; transform: translateY(0); }

.project-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-100);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--tr);
}
.project-card:hover .project-card-arrow { opacity: 1; transform: translateX(0); }

/* ----- Sustainability Section ----- */
.sustainability-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.sustainability-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/surdurulebilirlik.jpeg');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  filter: saturate(1.2);
}

.sustainability-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgb(6 47 76 / 93%) 0%,
    rgb(7 28 50 / 88%) 45%,
    rgb(4 31 41 / 78%) 100%
  );
  z-index: 1;
}

.sustainability-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.sustainability-content .section-label { color: #6ee87a; }
.sustainability-content .section-title { margin: 0.75rem 0 1.25rem; }
.sustainability-content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.sust-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--tr);
  backdrop-filter: blur(8px);
}
.sust-btn:hover {
  background: #22c55e;
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,197,94,0.4);
}

.sust-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sust-pillar {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.6rem 1.4rem;
  transition: var(--tr);
  cursor: default;
}
.sust-pillar:hover {
  background: transparent;
  border: none;
  transform: none;
}
.sust-pillar:hover .sust-pillar-icon {
  transform: scale(1.06);
}

.sust-pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
  transition: transform var(--tr);
}

.sust-pillar h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.sust-pillar p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  margin-bottom: 0;
}

.sust-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6ee87a;
  letter-spacing: 0.5px;
}

/* ----- Careers Section ----- */
.careers-section {
  background: var(--white);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 7rem 0;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.careers-left .section-label { margin-bottom: 0.75rem; }
.careers-left .section-title {
  color: var(--navy-900);
  margin: 0.75rem 0 1.5rem;
}
.careers-left p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.careers-left .btn { margin-top: 0.5rem; }

.careers-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.careers-photo img {
  width: 100%;
  height: 460px;
  object-position: center top;
  display: block;
  transition: transform var(--tr-slow);
}
.careers-photo:hover img {
  transform: scale(1.02);
}

/* ----- News Section ----- */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  border: 1px solid var(--gray-100);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.news-card-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  transition: transform var(--tr-slow);
  overflow: hidden;
  position: relative;
}
.news-card:hover .news-card-img-inner { transform: scale(1.06); }
.news-card-img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--tr-slow);
}

.news-card-body { padding: 1.75rem; }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--navy-50);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.news-date {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: var(--tr);
}
.news-card:hover .news-card-title { color: var(--accent); }

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----- Partners (Anasayfa) ----- */
.partners-section .partners-header {
  margin-bottom: 2.75rem;
  max-width: 720px;
}

.partners-intro {
  font-size: 1.02rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 0.75rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  min-width: 0; /* grid + flex: logoların sütun genişliğinde küçülmesi için */
  padding: 1rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--tr);
  text-decoration: none;
}

.partner-card:hover {
  transform: translateY(-2px);
}

.partner-card img {
  max-width: min(280px, 100%);
  max-height: 84px;
  width: auto;
  height: auto;
  min-width: 0;
  object-fit: contain;
  transition: transform var(--tr);
}

.partner-card:hover img {
  transform: scale(1.05);
}

/* ----- Contact CTA ----- */
.contact-cta {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.contact-cta .section-title { margin: 0.75rem 0 1.25rem; }
.contact-cta p { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.contact-cta .btn { margin: 0.4rem; }

/* ----- Footer ----- */
.footer {
  background: var(--navy-900);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  overflow: visible;
}
.footer-brand img {
  display: block;
  height: var(--nav-logo-h);
  width: auto;
  max-height: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Navbar ile aynı ölçek — header’daki marka boyutuyla uyumlu */
  transform: scale(var(--brand-logo-scale-x), var(--brand-logo-scale-y))
    translate(var(--brand-logo-tx), var(--brand-logo-ty));
  transform-origin: center center;
  margin-bottom: 2.25rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.55);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: var(--tr);
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--tr-fast);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-address-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-address-item i {
  color: var(--navy-200);
  font-size: 0.875rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-address-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer-phone-link {
  color: inherit;
  text-decoration: none;
}
.footer-phone-link:hover {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.footer-credit a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--tr-fast);
}
.footer-credit a:hover { color: rgba(255,255,255,0.75); }

/* ----- Page Hero (Subpages) ----- */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  background: var(--navy-800);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.25;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-content .section-title { margin: 0.75rem 0 1.25rem; }
.page-hero-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.75; }

/* ----- Project detail page ----- */
.page-hero--project-detail {
  display: flex;
  flex-direction: column;
  min-height: clamp(320px, 48vh, 560px);
  padding: var(--nav-h) 0 3.5rem;
  box-sizing: border-box;
}
.page-hero--project-detail .page-hero-bg--detail {
  opacity: 1;
  filter: brightness(0.55);
}
.page-hero-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(5, 14, 28, 0.82) 0%,
    rgba(5, 14, 28, 0.35) 55%,
    rgba(5, 14, 28, 0.5) 100%
  );
  pointer-events: none;
}
.page-hero--project-detail .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.page-hero-content--detail {
  max-width: 920px;
}
.page-hero-content--detail .detail-hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

/* Hero altı — animasyonlu ilerleme çubuğu */
.detail-progress-section {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-top: 0.65rem;
}
.detail-progress-track {
  height: 10px;
  width: 100%;
  background: var(--gray-200);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(17, 40, 80, 0.08);
}
.detail-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  /* Dolgu boyunca: solda açık → sağda koyu */
  background: linear-gradient(
    90deg,
    var(--navy-50) 0%,
    var(--navy-300) 52%,
    var(--navy-700) 100%
  );
  box-shadow:
    0 0 12px rgba(46, 106, 204, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: width 5s linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .detail-progress-fill {
    transition: none;
  }
}
.detail-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.85rem;
}
.detail-progress-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
}
.detail-progress-pct {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--tr-fast);
}
.detail-back-link:hover {
  color: var(--navy-800);
}
.detail-back-link--section {
  color: var(--navy-600);
}
.detail-back-link--section:hover {
  color: var(--accent);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.detail-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
}
.detail-meta-pill i {
  opacity: 0.85;
}
.detail-meta-pill--status {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: #8a6d1b;
}

.detail-section-title {
  position: relative;
  padding-left: 1rem;
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-800);
  border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.detail-rich {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.detail-rich p {
  margin: 0 0 1rem;
}
.detail-rich p:last-child {
  margin-bottom: 0;
}

/* Proje bilgileri — kart yerine düz özellik listesi */
.detail-info-panel {
  margin-top: 2.5rem;
  max-width: 720px;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-100);
}
.detail-info-heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.detail-info-spec {
  margin: 0;
  padding: 0;
}
.detail-info-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 32%) 1fr;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  line-height: 1.55;
}
.detail-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-info-row dt {
  margin: 0;
  font-weight: 600;
  color: var(--navy-800);
}
.detail-info-row dd {
  margin: 0;
  color: var(--gray-500);
}
@media (max-width: 520px) {
  .detail-info-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.detail-gallery {
  margin-top: 0.5rem;
}
.detail-gallery-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.75rem;
  aspect-ratio: 21 / 9;
  min-height: 200px;
}
.detail-gallery-hero .detail-gallery-zoom {
  height: 100%;
  min-height: 200px;
}
.detail-gallery-hero .detail-gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.detail-gallery-cell {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.detail-gallery-cell .detail-gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  line-height: 0;
  transition: opacity var(--tr-fast);
}
.detail-gallery-zoom:hover {
  opacity: 0.92;
}
.detail-gallery-zoom:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.detail-gallery-zoom img {
  pointer-events: none;
}

/* ----- Galeri lightbox ----- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 5rem);
  box-sizing: border-box;
}
.gallery-lightbox[hidden] {
  display: none !important;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 28, 0.94);
  cursor: pointer;
  z-index: 0;
}
.gallery-lightbox__stage {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1440px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gallery-lightbox__stage img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  pointer-events: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--tr-fast);
}
.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.gallery-lightbox__prev {
  left: 0.75rem;
}
.gallery-lightbox__next {
  right: 0.75rem;
}

@media (max-width: 640px) {
  .gallery-lightbox {
    padding: 3.25rem 0.5rem;
  }
  .gallery-lightbox__nav {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
  .gallery-lightbox__prev {
    left: 0.35rem;
  }
  .gallery-lightbox__next {
    right: 0.35rem;
  }
}

.detail-missing-inner {
  text-align: center;
  padding: 4rem 1rem;
}
.detail-missing-text {
  margin-bottom: 1.5rem;
  color: var(--gray-500);
  font-size: 1.05rem;
}

.project-list-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
}
.project-list-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.project-list-card-link:hover .project-list-card-title {
  color: var(--accent);
}

@media (max-width: 900px) {
  .detail-gallery-hero {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .detail-gallery-thumbs {
    grid-template-columns: 1fr;
  }
}

/* ----- Timeline / History ----- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.timeline-item {
  position: relative;
  padding: 0 0 3rem 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy-50);
}
.timeline-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ----- Values Grid ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--tr);
  border: 1px solid transparent;
}
.value-card:hover {
  background: var(--white);
  border-color: var(--gray-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--white);
}

.sustainability-vision .section-subtitle {
  color: var(--navy-700);
}

.sustainability-goals .value-icon {
  background: transparent;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.6rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ----- Technology Cards ----- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy-200));
  transform: scaleX(0);
  transition: var(--tr);
}
.tech-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tech-card:hover::after { transform: scaleX(1); }

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tech-card-icon {
  width: 50px;
  height: 50px;
  background: var(--navy-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.tech-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy-800); }
.tech-card-sub { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.tech-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }

/* ----- Projects toolbar (arama + filtreler) ----- */
.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;
}

.projects-toolbar {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.projects-toolbar-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.projects-toolbar-search:focus-within {
  border-color: var(--navy-300);
  box-shadow: 0 0 0 3px rgba(30, 79, 156, 0.12);
}
.projects-toolbar-search i {
  color: var(--gray-400);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.projects-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy-800);
  outline: none;
}
.projects-search-input::placeholder {
  color: var(--gray-400);
}

.projects-toolbar-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.projects-toolbar-heading {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.projects-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.projects-filter--inline {
  align-items: center;
}

.projects-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--gray-100);
}

.projects-toolbar-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.projects-toolbar-field .projects-toolbar-heading,
.projects-toolbar-field label.projects-toolbar-heading {
  margin: 0;
}

.projects-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  background: var(--white);
  overflow: hidden;
}
.projects-segment {
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--tr-fast);
}
.projects-segment + .projects-segment {
  border-left: 1px solid var(--gray-200);
}
.projects-segment:hover {
  color: var(--navy-700);
  background: var(--gray-50);
}
.projects-segment.active {
  background: var(--navy-700);
  color: var(--white);
}

.projects-select {
  min-width: 140px;
  max-width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a6480' d='M6 8L1 3h10z'/%3E%3C/svg%3E")
    right 0.65rem center / 12px no-repeat;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--tr-fast);
}
.projects-select:hover,
.projects-select:focus {
  border-color: var(--navy-300);
  outline: none;
}

.projects-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--tr-fast);
}
.projects-reset:hover {
  color: var(--navy-700);
  border-color: var(--navy-300);
  background: var(--gray-50);
}

.projects-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px dashed var(--gray-200);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  color: var(--gray-500);
  background: var(--white);
  transition: var(--tr-fast);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}

@media (max-width: 768px) {
  .projects-toolbar {
    padding: 1.15rem 1rem;
  }
  .projects-toolbar-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .projects-toolbar-field .projects-select {
    width: 100%;
  }
  .projects-reset {
    margin-left: 0;
    justify-content: center;
  }
  .projects-segmented {
    width: 100%;
  }
  .projects-segment {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0.5rem 0.5rem;
    font-size: 0.72rem;
  }
}

.projects-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  background: var(--white);
  border: 1px solid var(--gray-100);
}
.project-list-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-list-card-img {
  flex-shrink: 0;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform var(--tr-slow);
  overflow: hidden;
}
.project-list-card-location {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-700);
  background: none;
  border: none;
}
.project-list-card-location i {
  font-size: 0.85rem;
  color: var(--navy-600);
  opacity: 0.95;
}
.project-list-card-img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--tr-slow);
}
.project-list-card:hover .project-list-card-img-inner { transform: scale(1.06); }

.project-list-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 0;
}
.project-list-card-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.project-list-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.project-list-card-desc {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

/* ----- Sustainability Goals ----- */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.goal-card {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: var(--tr);
}
.goal-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.goal-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.goal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.goal-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ----- Careers Benefits ----- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--tr);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.benefit-icon {
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ----- Open Positions ----- */
.positions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--tr);
  gap: 2rem;
}
.position-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateX(4px); }

.position-info { flex: 1; }
.position-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}
.position-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}
.position-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--navy-50);
  color: var(--accent);
  white-space: nowrap;
}

/* ----- Contact Form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}
.contact-info-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--white);
  transition: var(--tr-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 79, 156, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ----- Animations ----- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .careers-grid { grid-template-columns: 1fr; gap: 3rem; }
  .careers-photo img { height: 380px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--large { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .goals-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .projects-row-top { height: 380px; }
  .projects-row-bottom { height: 240px; }
  .sustainability-inner { grid-template-columns: 1fr; gap: 3rem; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Hakkımızda: kenar ikonları ±50% taşıyor + kesik çember inset — dar sütunda yatay kırpılmasın */
  .stat-orbit {
    width: min(400px, calc(100% - 4.5rem));
  }
}

@media (max-width: 1100px) {
  .navbar .container.navbar-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .navbar-nav { gap: 0.1rem; padding: 0 0.5rem; }
  .navbar-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.125rem;
  }
}

@media (max-width: 900px) {
  .navbar .container.navbar-inner { padding-left: 1rem; padding-right: 1rem; }
  .navbar-nav { gap: 0; padding: 0 0.25rem; }
  .navbar-nav a {
    padding: 0.4rem 0.55rem;
    font-size: 0.8rem;
    line-height: 1.2rem;
  }
  .navbar-actions { gap: 0.75rem; }
}

@media (max-width: 768px) {
  /* Alt sayfalardaki geniş gap + çok sütunlu inline grid’ler mobilde yatay taşma yapıyordu */
  .stack-sm {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .navbar .container.navbar-inner {
    justify-content: flex-start;
    padding-right: 6.5rem;
  }
  .navbar-cluster {
    justify-content: flex-start;
    width: 100%;
  }
  .navbar-logo {
    margin-right: 0;
    margin-left: 0.15rem;
  }
  .navbar-nav { margin-right: 0; }
  .navbar-nav,
  .navbar-actions {
    display: none;
  }
  .navbar-logo img {
    height: 66px;
    width: auto;
    max-height: none;
    /* Masaüstündeki scale burada taşır; mobil için ayrı oran — ikonlara yaklaşan daha büyük marka */
    transform: scale(2.52, 2.38) translate(9px, 3px);
  }
  .navbar-floating-search { display: inline-flex; }
  .navbar-hamburger { display: flex; }

  .footer-brand img {
    height: 66px;
    /* Üst menüdeki mobil marka ile aynı ölçü */
    transform: scale(2.52, 2.38) translate(9px, 3px);
  }

  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .section { padding: 4.5rem 0; }
  .section--lg { padding: 5.5rem 0; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card--large { grid-column: span 1; aspect-ratio: 4/3; }
  .projects-row-top { grid-template-columns: 1fr; height: auto; }
  .projects-row-top .project-card { height: 280px; aspect-ratio: unset; }
  .projects-stack .project-card { height: 180px; }
  .projects-row-bottom { grid-template-columns: 1fr; height: auto; }
  .projects-row-bottom .project-card { height: 220px; }
  .sust-pillars { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .projects-list-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .goals-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .careers-grid { grid-template-columns: 1fr; }
  .careers-photo img { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem; }
  .contact-grid { gap: 2.5rem; }

  .position-card {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }
  .position-meta {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ----- Site-wide search (/arama/) ----- */
.site-search-summary {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.site-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.site-search-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr-fast);
}
.site-search-item:hover {
  box-shadow: var(--shadow-md);
}
.site-search-kind {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.site-search-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}
.site-search-link:hover {
  color: var(--accent);
}
.site-search-snippet {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}
.site-search-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.site-search-empty a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-search-empty a:hover {
  color: var(--nav-midnight-hover);
}

/* ----- Yukarı çık (sağ alt, kaydırma yüzdesi halkası) ----- */
.back-to-top-fab {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.back-to-top-fab.back-to-top-fab--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top-fab__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.back-to-top-fab__track {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 2.5;
}
.back-to-top-fab__progress {
  fill: none;
  stroke: var(--nav-midnight);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s ease-out;
}
.back-to-top-fab__btn {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #0a0a0a;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(5, 14, 28, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.back-to-top-fab__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 26px rgba(5, 14, 28, 0.42);
}
.back-to-top-fab__btn:focus {
  outline: none;
}
.back-to-top-fab__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top-fab {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .back-to-top-fab__progress {
    transition: none;
  }
}
