/* ==========================================================================
   Sothis Mobility — tema token'ları
   Renkler Tailwind v4 varsayılan paletinden birebir alınmıştır (oklch).
   ========================================================================== */
:root {
  --slate-50: oklch(98.4% 0.003 247.858);
  --slate-100: oklch(96.8% 0.007 247.896);
  --slate-200: oklch(92.9% 0.013 255.508);
  --slate-300: oklch(86.9% 0.022 252.894);
  --slate-400: oklch(70.4% 0.04 256.788);
  --slate-500: oklch(55.4% 0.046 257.417);
  --slate-600: oklch(44.6% 0.043 257.281);
  --slate-700: oklch(37.2% 0.044 257.287);
  --slate-800: oklch(27.9% 0.041 260.031);
  --slate-900: oklch(20.8% 0.042 265.755);

  --blue-100: oklch(93.2% 0.032 255.585);
  --blue-400: oklch(70.7% 0.165 254.624);
  --blue-500: oklch(62.3% 0.214 259.815);
  --blue-600: oklch(54.6% 0.245 262.881);
  --blue-700: oklch(48.8% 0.243 264.376);

  --white: #fff;

  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: calc(infinity * 1px);

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* Hareket
     Kritik sönümlü yay hissi: hızlı çıkış, taşmasız oturma.
     Taşma (bounce) yalnızca ivme taşıyan jestlere ayrılır — burada jest yok,
     o yüzden her yerde taşmasız eğri kullanılır. */
  --ease-standard: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 100ms; /* basma geri bildirimi: anlık hissedilmeli */
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 320ms;

  /* Sabit navbar yüksekliği — çapa kaydırmalarında başlık altında kalmasın */
  --nav-height: 5rem;

  /* En küçük dokunma hedefi (Apple HIG: 44pt) */
  --tap-min: 2.75rem;
}

/* ==========================================================================
   Reset (Tailwind preflight eşdeğeri — sadece kullanılan kısımlar)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  /* Çapa hedefleri sabit navbar'ın altında kalmasın */
  scroll-padding-top: var(--nav-height);
}

body {
  line-height: inherit;
  min-height: 100vh;
  min-height: 100svh; /* mobilde adres çubuğu yüksekliği hesaba katılır */
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

ul {
  list-style: none;
}

img,
svg,
video {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

::placeholder {
  color: color-mix(in oklab, currentColor 50%, transparent);
}

/* ==========================================================================
   Odak görünürlüğü
   Klavye kullanıcısı her etkileşimli öğede nerede olduğunu görmeli.
   :focus-visible kullanılır — fare tıklamasında halka çıkmaz.
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* Koyu zeminlerde mavi halka kaybolur; beyaza çevrilir. */
.hero :focus-visible,
.footer :focus-visible,
.navbar:not(.is-scrolled) :focus-visible {
  outline-color: var(--white);
}

/* ==========================================================================
   İçeriğe atla bağlantısı
   Klavyeyle gelen kullanıcı 4 menü bağlantısını her seferinde geçmesin.
   ========================================================================== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--white);
  color: var(--blue-700);
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-150%);
  transition: transform var(--dur-base) var(--ease-standard);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   Yardımcılar
   ========================================================================== */
.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--5 {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--6 {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--8 {
  width: 2rem;
  height: 2rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 50;
  background-color: transparent;
  padding-block: 1rem;
  /* "all" yerine adı geçen özellikler: her karede tüm özellikleri
     yeniden hesaplamak kaydırma sırasında gereksiz iş çıkarıyordu. */
  transition:
    background-color var(--dur-slow) var(--ease-standard),
    box-shadow var(--dur-slow) var(--ease-standard),
    padding-block var(--dur-slow) var(--ease-standard),
    -webkit-backdrop-filter var(--dur-slow) var(--ease-standard),
    backdrop-filter var(--dur-slow) var(--ease-standard);
}

/* Kaydırıldığında opak bir şerit yerine saydam materyal katmanı:
   içerik altından akmaya devam eder, hiyerarşi korunur. */
.navbar.is-scrolled {
  background-color: color-mix(in oklab, var(--white) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-md);
  padding-block: 0.5rem;
}

/* backdrop-filter desteklenmiyorsa saydamlık okunabilirliği bozar,
   opak zemine düşülür. */
@supports not ((backdrop-filter: blur(1px)) or
  (-webkit-backdrop-filter: blur(1px))) {
  .navbar.is-scrolled {
    background-color: var(--white);
  }
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__brand {
  display: flex;
  align-items: center;
}

.navbar__logo-icon {
  color: var(--white);
}

.navbar.is-scrolled .navbar__logo-icon {
  color: var(--blue-600);
}

.navbar__brand-text {
  margin-left: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  /* 20px'te -0.05em harfleri birbirine yapıştırıyordu. Tracking boyuta
     bağlıdır: yalnızca büyük başlıklar bu kadar sıkı olabilir. */
  letter-spacing: -0.015em;
  color: var(--white);
}

.navbar.is-scrolled .navbar__brand-text {
  color: var(--slate-900);
}

.navbar__links {
  display: none;
  margin-left: 2.5rem;
  align-items: baseline;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4285714;
  font-weight: 500;
  color: color-mix(in oklab, var(--white) 90%, transparent);
  transition: color 200ms;
}

.navbar__link:hover {
  color: var(--white);
}

/* Saydam zemin üstünde düz gri metin okunurluğu düşürür:
   bir ton koyultulup ağırlık artırılır. */
.navbar.is-scrolled .navbar__link {
  color: var(--slate-700);
  font-weight: 600;
}

.navbar.is-scrolled .navbar__link:hover {
  color: var(--blue-600);
}

/* Bulunulan bölüm işaretlenir — "şu an neredeyim?" sorusu cevapsız kalmasın.
   Alt çizgi transform ile ölçeklenir, düzen yeniden hesaplanmaz. */
.navbar__link {
  position: relative;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.125rem;
  height: 2px;
  border-radius: var(--radius-full);
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-standard);
}

.navbar__link.is-current::after {
  transform: scaleX(1);
}

.navbar__link.is-current {
  color: var(--white);
}

.navbar.is-scrolled .navbar__link.is-current {
  color: var(--blue-600);
}

.mobile-menu__link.is-current {
  color: var(--blue-600);
  background-color: var(--slate-50);
}

.navbar__lang {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .navbar__lang {
    display: flex;
  }
}

.navbar__lang-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  color: color-mix(in oklab, var(--white) 70%, transparent);
  transition: color 200ms, background-color 200ms;
}

.navbar__lang-link:hover {
  color: var(--white);
}

.navbar__lang-link.is-active {
  color: var(--white);
  background-color: color-mix(in oklab, var(--white) 20%, transparent);
}

.navbar.is-scrolled .navbar__lang-link {
  color: var(--slate-600);
}

.navbar.is-scrolled .navbar__lang-link:hover {
  color: var(--blue-600);
}

.navbar.is-scrolled .navbar__lang-link.is-active {
  color: var(--blue-600);
  background-color: var(--slate-100);
}

.navbar__lang-sep {
  color: color-mix(in oklab, var(--white) 40%, transparent);
  font-size: 0.8125rem;
}

.navbar.is-scrolled .navbar__lang-sep {
  color: var(--slate-300);
}

.navbar__toggle-wrap {
  display: block;
}

@media (min-width: 768px) {
  .navbar__toggle-wrap {
    display: none;
  }
}

.navbar__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--white);
  /* Geri bildirim basma anında verilir, bırakmada değil. */
  transition: transform var(--dur-press) ease-out;
}

.navbar__toggle:active {
  transform: scale(0.92);
}

.navbar.is-scrolled .navbar__toggle {
  color: var(--slate-900);
}

.navbar__icon-close {
  display: none;
}

.navbar.is-menu-open .navbar__icon-menu {
  display: none;
}

.navbar.is-menu-open .navbar__icon-close {
  display: block;
}

/* Menü açılırken aşağı doğru büyür, kapanırken aynı yoldan geri toplanır.
   grid-template-rows 0fr -> 1fr, sabit bir yükseklik varsaymadan animasyon
   yapmayı sağlar. Kapalıyken visibility: hidden hem ekran okuyucudan hem
   sekme sırasından çıkarır. */
.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  transition:
    grid-template-rows var(--dur-slow) var(--ease-standard),
    opacity var(--dur-base) var(--ease-standard),
    visibility 0s linear var(--dur-slow);
}

.navbar.is-menu-open .mobile-menu {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition:
    grid-template-rows var(--dur-slow) var(--ease-standard),
    opacity var(--dur-fast) var(--ease-standard),
    visibility 0s;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.5rem 0.75rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .mobile-menu__inner {
    padding-inline: 0.75rem;
  }
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--slate-700);
  transition:
    color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-press) ease-out;
}

.mobile-menu__link:hover {
  color: var(--blue-600);
  background-color: var(--slate-50);
}

.mobile-menu__link:active {
  transform: scale(0.98);
  background-color: var(--slate-100);
}

.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--slate-100);
}

.mobile-menu__lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  /* Küçük punto biraz açık tracking ister — büyük başlığın tersi yönde. */
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  color: var(--slate-600);
  transition: transform var(--dur-press) ease-out;
}

.mobile-menu__lang-link:active {
  transform: scale(0.94);
}

.mobile-menu__lang-link.is-active {
  color: var(--blue-600);
  background-color: var(--slate-100);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  /* Mobil tarayıcıda adres çubuğu 100vh'yi ekrandan taşırıyordu;
     svh görünür alanı esas alır. */
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: oklch(20.8% 0.042 265.755 / 0.6);
}

.hero__content {
  position: relative;
  z-index: 10;
  color: var(--white);
}

.hero__text {
  max-width: 48rem;
}

.hero__title {
  font-size: 2.25rem;
  line-height: 1.1111111;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
    line-height: 1;
    /* Punto büyüdükçe harf araları optik olarak açılır; tracking daha da
       sıkılır. Tek bir letter-spacing değeri iki boyutta birden doğru olamaz. */
    letter-spacing: -0.035em;
  }
}

.hero__title-accent {
  color: var(--blue-400);
}

.hero__desc {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--slate-200);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero__desc {
    font-size: 1.25rem;
  }
}

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

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  border-radius: var(--radius-md);
  color: var(--white);
  /* Dokunmada ~10px'lik pay: parmak tam kenara gelse de hedef ıskalanmasın */
  min-height: var(--tap-min);
  transition:
    color var(--dur-base) var(--ease-standard),
    background-color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-press) ease-out;
}

/* Geri bildirim basma anında görünür; bırakmayı beklemek ölü hissettirir. */
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--blue-600);
}

.btn--primary:hover {
  background-color: var(--blue-700);
}

.btn--outline {
  border-color: var(--white);
}

.btn--outline:hover {
  background-color: var(--white);
  color: var(--slate-900);
}

.btn__icon-right {
  margin-left: 0.5rem;
}

.btn__icon-left {
  margin-right: 0.5rem;
}

/* ==========================================================================
   Bölüm başlıkları (Services / Gallery / Contact ortak)
   ========================================================================== */
.section {
  padding-block: 6rem;
}

.section--slate {
  background-color: var(--slate-50);
}

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

.section__head {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em; /* 30px+ başlık: negatif tracking */
  color: var(--slate-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2.25rem;
    line-height: 1.1111111;
  }
}

.section__rule {
  height: 0.25rem;
  width: 5rem;
  background-color: var(--blue-600);
  margin-inline: auto;
}

.section__lead {
  margin-top: 1rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin-inline: auto;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

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

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: box-shadow 300ms;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--blue-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue-600);
}

.service-card__title {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.4285714;
  color: var(--slate-500);
}

.dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--blue-400);
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--slate-100);
  aspect-ratio: 16 / 9;
}

@media (min-width: 1024px) {
  .gallery__item {
    aspect-ratio: 1 / 1;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to top in oklab,
    oklch(20.8% 0.042 265.755 / 0.8) 0%,
    transparent 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 300ms;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-within .gallery__overlay {
  opacity: 1;
}

/* Dokunmatik cihazda hover yok: başlıklar hiç görünmüyordu.
   İşaretçisi olmayan cihazlarda katman kalıcı gösterilir. */
@media (hover: none) {
  .gallery__overlay {
    opacity: 1;
  }

  .gallery__item:hover img {
    transform: none;
  }
}

.gallery__category {
  color: var(--blue-400);
  font-size: 0.875rem;
  line-height: 1.4285714;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.gallery__title {
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.5555556;
  font-weight: 700;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact__info {
    grid-column: span 1 / span 1;
  }

  .contact__form-wrap {
    grid-column: span 2 / span 2;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact__icon {
  background-color: var(--blue-100);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  margin-right: 1rem;
  color: var(--blue-600);
  flex-shrink: 0;
}

.contact__label {
  font-size: 1.125rem;
  line-height: 1.5555556;
  font-weight: 700;
  color: var(--slate-900);
}

.contact__value {
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.form {
  background-color: var(--slate-50);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form__field {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4285714;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-300);
  outline: none;
  transition: all 150ms;
}

.form__input:focus-visible {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--blue-500) 30%, transparent);
  outline: none;
}

.form__select {
  background-color: var(--white);
}

.form__submit {
  width: 100%;
  background-color: var(--blue-600);
  color: var(--white);
  font-weight: 700;
  padding-block: 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  transition:
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-press) ease-out;
}

.form__submit:hover {
  background-color: var(--blue-700);
}

.form__submit:active:not(:disabled) {
  transform: scale(0.99);
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.4285714;
  text-align: center;
}

.form__status--pending {
  color: var(--slate-600);
  background-color: var(--slate-100);
}

.form__status--ok {
  color: oklch(45% 0.12 155);
  background-color: oklch(96% 0.04 155);
}

.form__status--error {
  color: oklch(50% 0.17 25);
  background-color: oklch(96% 0.03 25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--slate-900);
  color: var(--slate-400);
  padding-block: 3rem;
  border-top: 1px solid var(--slate-800);
}

.footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer__brand {
    margin-bottom: 0;
  }
}

.footer__logo-icon {
  color: var(--blue-500);
  margin-right: 0.5rem;
}

.footer__brand-text {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em; /* navbar markasıyla aynı optik değer */
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

/* İkonlar 20px'ti; tıklanabilir alan simge boyutuyla sınırlı kalmasın. */
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  border-radius: var(--radius-md);
}

.footer__social a,
.footer__legal a {
  transition:
    color var(--dur-fast) var(--ease-standard),
    transform var(--dur-press) ease-out;
}

.footer__social a:hover,
.footer__legal a:hover {
  color: var(--white);
}

.footer__social a:active {
  transform: scale(0.92);
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
}

.footer__bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.4285714;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__legal {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__legal {
    margin-top: 0;
  }
}

/* ==========================================================================
   Kullanıcı tercihleri
   ========================================================================== */

/* Azaltılmış hareket, "geri bildirim yok" demek değildir: yer değiştiren ve
   ölçeklenen hareketler kalkar, anlamayı kolaylaştıran renk/opaklık
   geçişleri korunur. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:active,
  .form__submit:active:not(:disabled),
  .navbar__toggle:active,
  .mobile-menu__link:active,
  .mobile-menu__lang-link:active,
  .footer__social a:active {
    transform: none;
  }

  .gallery__item img,
  .gallery__item:hover img {
    transition: none;
    transform: none;
  }

  .navbar__link::after {
    transition: none;
  }

  .skip-link {
    transition: none;
  }

  /* Menü açılıp kapanırken yükseklik animasyonu yerine kısa bir çapraz
     geçiş kullanılır; görünürlük mantığı temel kuralda zaten duruyor. */
  .mobile-menu {
    grid-template-rows: 1fr;
    transition:
      opacity var(--dur-base) ease,
      visibility 0s linear var(--dur-base);
  }

  .navbar.is-menu-open .mobile-menu {
    grid-template-rows: 1fr;
    transition:
      opacity var(--dur-base) ease,
      visibility 0s;
  }
}

/* Saydamlık azaltıldığında materyal katman donuklaşır: bulanıklık kalkar,
   zemin opak olur. */
@media (prefers-reduced-transparency: reduce) {
  .navbar.is-scrolled {
    background-color: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Yüksek kontrast: neredeyse opak zemin + belirgin kenar. */
@media (prefers-contrast: more) {
  .navbar.is-scrolled {
    background-color: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--slate-400);
  }

  .form__input {
    border-color: var(--slate-500);
  }

  .form__input:focus-visible {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px var(--blue-500);
  }

  :focus-visible {
    outline-width: 3px;
  }
}
