/* =============================================================
   Kasaplar Yükseköğrenim Öğrenci Yurdu — Ana Stil Dosyası
   Tema: Petrol Yeşili + Bej — Modern / Lüks / Mobil Öncelikli
   ============================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
html, body { overflow-x: hidden; width: 100%; }

/* ---------- 2. Tasarım Tokenleri ---------- */
:root {
  /* Petrol Yeşili + Bej paleti */
  --color-primary: #0b5d52;
  --color-primary-dark: #073f38;
  --color-primary-light: #1f8a76;
  --color-accent: #c9a15a;
  --color-accent-light: #e4c98a;

  --color-bg: #faf7f0;
  --color-bg-alt: #f3ede1;
  --color-surface: #ffffff;
  --color-border: #e7e0cf;

  --color-text: #1f2b28;
  --color-text-soft: #55645f;
  --color-text-invert: #f7f4ea;

  --color-whatsapp: #25d366;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 42, 37, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 42, 37, 0.10);
  --shadow-lg: 0 25px 60px rgba(11, 42, 37, 0.18);

  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --header-h: 76px;
  --container-w: 1220px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 3. Temel Tipografi ---------- */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--color-text-soft); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

section { padding-block: clamp(3.2rem, 7vw, 6.5rem); position: relative; }
.section-alt { background: var(--color-bg-alt); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(11, 93, 82, .08);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.eyebrow .icon { width: 15px; height: 15px; }

.section-head p { margin-top: .8rem; font-size: 1.05rem; }

/* ---------- 4. Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-invert);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--color-primary-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .32);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .4); }

.btn-block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 240, .7);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 240, .92);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--color-primary), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-light);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark .icon { width: 24px; height: 24px; }
.brand-mark-img { background: #fff; padding: 3px; overflow: hidden; }
.brand-mark-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-primary-dark); letter-spacing: .01em; }
.brand-text span { display: block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-soft); font-weight: 600; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: .3rem 0;
  white-space: nowrap;
}
.main-nav a.btn-whatsapp {
  color: #fff;
  min-height: 0;
  padding: .55rem 1.15rem;
  font-size: .88rem;
  background: linear-gradient(135deg, #31e07c, #1fb959);
  box-shadow: 0 6px 16px rgba(31, 185, 89, .32);
}
.main-nav a.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(31, 185, 89, .42);
}
.main-nav a.btn-whatsapp .icon { width: 16px; height: 16px; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 2px; background: var(--color-accent);
  transition: right .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.header-phone {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .92rem; color: var(--color-primary-dark);
  white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* ---------- 6. Hero ---------- */
/* Hero + istatistik şeridi ikisi birlikte tek ekrana (100svh) sığar;
   hero esnek alanı doldurur, istatistik kartı altta sabit yükseklikte kalır. */
.hero-viewport {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + .75rem);
  padding-bottom: 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,63,56,.82) 0%, rgba(7,63,56,.72) 45%, rgba(7,63,56,.9) 100%);
}
.hero-content { max-width: 700px; margin-inline: auto; color: var(--color-text-invert); text-align: center; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.hero-badge .icon { width: 15px; height: 15px; color: var(--color-accent-light); }

.hero h1 { color: #fff; margin-bottom: .9rem; }
.hero-subtitle { color: rgba(247,244,234,.88); font-size: 1.08rem; max-width: 560px; margin-inline: auto; margin-bottom: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- 7. İstatistik Şeridi ---------- */
.stats-strip {
  position: relative;
  flex: 0 0 auto;
  margin-top: -32px;
  z-index: 5;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
}
.stats-card {
  /* Bu kart data-reveal ile transform: translateY(...) -> translateY(0)
     animasyonuyla beliriyor (bkz. bölüm 15). border-radius + overflow:hidden
     + border ile birlikte bu animasyon Safari'de üst kenarı bazen eksik/kesik
     çiziyor, bir dokunuş/hover yeniden çizimi tetikleyince düzeliyordu.
     will-change öğeyi baştan kendi katmanında tutup bunu önlüyor — bu site
     genelinde her zaman var olan, yeni eklenmemiş bir sorundu. */
  will-change: transform, opacity;
  max-width: var(--container-w);
  margin-inline: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(11, 42, 37, .16), 0 2px 8px rgba(11, 42, 37, .07);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.stat-item {
  text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  border-right: 1px solid var(--color-border);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.stat-item:last-child { border-right: none; }
/* Dokunmatik ekranlarda :hover, dokunuş sonrası "takılı" kalabiliyor
   (iOS Safari) ve kartın rengi beklenmedik şekilde bej'e dönüyordu.
   Sadece gerçek imleci olan cihazlarda (masaüstü fare) uygulanıyor. */
@media (hover: hover) and (pointer: fine) {
  .stat-item:hover { background: var(--color-bg-alt); transform: translateY(-3px); }
}
/* Sayının üstünde marka renklerinde (petrol yeşili / altın) gradyanlı
   ikon rozeti — "Neden Biz" / "Hizmetlerimiz" kartlarındaki .feature-icon
   motifiyle aynı dil, istatistik şeridini sitenin geneliyle tutarlı kılar. */
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin: 0 auto .8rem;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
}
.stat-item:nth-child(even) .stat-icon { background: linear-gradient(155deg, var(--color-accent), #a97f38); }
.stat-icon .icon { width: 21px; height: 21px; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--color-primary);
  display: block;
}
.stat-label { font-size: .82rem; color: var(--color-text-soft); font-weight: 600; margin-top: .3rem; }

/* ---------- 8. Hakkımızda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
}
.about-uni-badge {
  position: absolute;
  bottom: -1.2rem; right: -0.6rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  max-width: 240px;
  border: 1px solid var(--color-border);
}
.about-uni-badge img { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.about-uni-badge span { font-size: .72rem; font-weight: 600; color: var(--color-text-soft); line-height: 1.3; }

.about-text p { margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }

.nearby-list {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.nearby-item {
  display: flex; align-items: center; gap: .6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.nearby-item .icon { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

/* ---------- 9. Kart Gridleri (Neden Biz / Hizmetler) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(155deg, var(--color-primary), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 1.1rem;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { font-size: .93rem; margin: 0; }

.services-grid .feature-icon { background: linear-gradient(155deg, var(--color-accent), #a97f38); }

/* ---------- 10. Galeri ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.filter-btn {
  padding: .6rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600; font-size: .88rem;
  color: var(--color-text-soft);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.gallery-slider { position: relative; }
.gallery-grid {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .2rem .2rem 1rem;
  margin: -.2rem -.2rem -1rem;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  width: 72%;
  scroll-snap-align: start;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.gallery-nav:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav .icon { width: 18px; height: 18px; }
.gallery-nav-prev { left: -4px; }
.gallery-nav-next { right: -4px; }
@media (max-width: 640px) { .gallery-nav { display: none; } }
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,42,37,.82) 0%, rgba(7,42,37,0) 55%);
  display: flex; align-items: flex-end;
  padding: .9rem;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff; font-weight: 600; font-size: .84rem;
  display: flex; align-items: center; gap: .4rem;
}
.gallery-item-overlay .icon { width: 16px; height: 16px; }

.gallery-empty { text-align: center; padding: 2rem; color: var(--color-text-soft); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 26, 23, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 90vw; max-height: 82vh; text-align: center; }
.lightbox-figure img { max-width: 90vw; max-height: 76vh; border-radius: var(--radius-sm); margin-inline: auto; box-shadow: var(--shadow-lg); }
.lightbox-caption { color: #fff; margin-top: 1rem; font-weight: 600; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-close .icon { width: 22px; height: 22px; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev .icon, .lightbox-next .icon { width: 24px; height: 24px; }

/* Tanıtım Videosu Modal */
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 26, 23, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease);
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-inner { width: 100%; max-width: 960px; }
.video-modal-inner video { width: 100%; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: block; background: #000; }
.video-modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-close .icon { width: 22px; height: 22px; }

/* ---------- 11. Yorumlar ---------- */
.testi-track-wrap { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(340px, 84vw);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex; flex-direction: column; gap: .9rem;
  box-shadow: var(--shadow-sm);
}
.testi-quote { color: var(--color-accent); }
.testi-quote .icon { width: 30px; height: 30px; }
.testi-stars { display: flex; gap: .15rem; }
.star .icon { width: 16px; height: 16px; color: var(--color-border); }
.star.is-filled .icon { color: var(--color-accent); }
.testi-comment { font-size: .93rem; color: var(--color-text); flex-grow: 1; }
.testi-person { display: flex; align-items: center; gap: .7rem; padding-top: .5rem; border-top: 1px solid var(--color-border); }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(155deg, var(--color-primary), var(--color-primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading); flex-shrink: 0;
}
.testi-person strong { display: block; font-size: .9rem; color: var(--color-primary-dark); }
.testi-person span { display: block; font-size: .76rem; color: var(--color-text-soft); }

.testi-nav { display: flex; gap: .6rem; margin-top: 1.6rem; justify-content: center; }
.testi-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-dark);
}
.testi-nav button:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.testi-nav .icon { width: 18px; height: 18px; }

/* ---------- 12. İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
}
.contact-info-item .feature-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; margin: 0; }
.contact-info-item .feature-icon .icon { width: 21px; height: 21px; }
.contact-info-item h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-soft); margin-bottom: .25rem; }
.contact-info-item a, .contact-info-item p { font-weight: 600; color: var(--color-primary-dark); font-size: .98rem; }
.contact-info-item p { margin: 0; }

.social-row { display: flex; gap: .7rem; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.social-btn:hover { background: var(--color-primary); color: #fff; }
.social-btn .icon { width: 19px; height: 19px; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  aspect-ratio: 4/3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: .4rem; color: var(--color-primary-dark); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(11,93,82,.12);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--color-text-soft); margin-top: .8rem; text-align: center; }
.form-feedback { display: none; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; margin-bottom: 1.1rem; }
.form-feedback.is-success { display: block; background: rgba(11,93,82,.1); color: var(--color-primary-dark); }
.form-feedback.is-error { display: block; background: rgba(196,64,64,.1); color: #a63a3a; }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(247,244,234,.85);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247,244,234,.12);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(247,244,234,.6); }
.footer-about { margin-top: 1rem; font-size: .9rem; max-width: 320px; color: rgba(247,244,234,.7); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-col p { font-size: .89rem; color: rgba(247,244,234,.7); margin: 0; }
.footer-col a:hover { color: var(--color-accent-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem;
  padding-block: 1.4rem;
  font-size: .8rem;
  color: rgba(247,244,234,.55);
}
.footer-bottom a { color: rgba(247,244,234,.75); font-weight: 600; transition: color .2s ease; }
.footer-bottom a:hover { color: var(--color-accent-light); }

/* ---------- 14. Yüzen Butonlar ---------- */
.float-stack {
  position: fixed;
  right: clamp(1rem, 4vw, 1.8rem);
  bottom: clamp(1rem, 4vw, 1.8rem);
  z-index: 800;
  display: flex; flex-direction: column; gap: .8rem; align-items: flex-end;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: var(--color-whatsapp); color: #fff; }
.fab-whatsapp .icon { width: 30px; height: 30px; }
.fab-top {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  width: 46px; height: 46px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top .icon { width: 20px; height: 20px; }

/* ---------- 15. Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 16. Mobil Menü ---------- */
/* 981-1079px aralığında (ör. 1024px tablet yatay çözünürlüğü) masaüstü
   navigasyon linkleri + telefon numarası header genişliğine sığmıyor ve
   taşma/kırpılma oluşuyordu. Eşik 1100px'e çekilerek bu aralık da
   hamburger menüye alındı. */
@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    /* .site-header'daki backdrop-filter, fixed elemanlar için yeni bir
       containing block oluşturduğundan "bottom: 0" header'ın kendi
       yüksekliğine göre hesaplanıyor ve menü neredeyse görünmez
       kalıyordu. Yükseklik burada açıkça viewport'a göre veriliyor. */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem);
    gap: 0;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 1rem 0; border-bottom: 1px solid var(--color-border); font-size: 1.05rem; }
  .main-nav .btn { margin-top: 1.2rem; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- 17. Responsive: Tablet ve üzeri ---------- */
@media (min-width: 640px) {
  .gallery-item { width: 44%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 780px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item { width: 29%; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr .8fr .8fr 1fr; }
  .stat-item { padding: 1.5rem 1rem; }
}

@media (max-width: 460px) {
  .nearby-list { grid-template-columns: 1fr; }
}

/* ---------- 18. iOS güvenli alan desteği ---------- */
.float-stack {
  padding-bottom: env(safe-area-inset-bottom);
}
.site-header {
  padding-top: env(safe-area-inset-top);
  height: calc(var(--header-h) + env(safe-area-inset-top));
}
.hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 2rem); }

/* ---------- 19. Responsive: Mobil Hero İnce Ayar ---------- */
/* Rozetler, dikey boşluklar ve başlık/alt yazı boyutu bilinçli olarak
   orijinal (sıkıştırılmamış) hâlinde bırakıldı — istatistik şeridi
   mobilde gerekirse daha aşağıda kalsın, hero alanı zorlanmasın.
   Sadece buton hiyerarşisi (WhatsApp üstte tam genişlik, diğer iki
   buton altta yan yana) korunuyor. */
@media (max-width: 640px) {
  /* İstatistik kartları (4'lü tek sıra) dar/orta ekranlarda sıkışıyordu;
     640px altında 2x2 ızgaraya geçiliyor, kenarlıklar buna göre
     yeniden düzenleniyor (sağ kenarlıklar yerine 1-2 / 3-4 arası alt
     kenarlık). */
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--color-border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  /* Rozetler farklı genişlikte olduğu için flex-wrap ile dağınık/asimetrik
     duruyordu; eşit genişlikte 2x2 grid ile kenarlar hizalanıyor. */
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
  }
  .hero-badge { width: 100%; justify-content: center; }

  .hero-subtitle { font-size: .98rem; }

  /* .stats-strip kartı -32px margin-top ile hero'nun üstüne biniyor
     (bkz. bölüm 7); butonların altında bunu karşılayacak + gözle görülür
     bir boşluk bırakacak kadar alt padding gerekiyor. */
  .hero { padding-bottom: 3rem; }

  .hero-cta { gap: .7rem; }
  .hero-cta .btn-whatsapp { flex: 1 1 100%; }
  /* .btn temel sınıfı white-space:nowrap kullanıyor; dar telefonlarda
     (~360px altı) "Galeriyi İncele" / "Tanıtım Videosu" metni iki yarım
     genişlikteki butona sığmayıp taşabilirdi. Burada sarmaya izin
     verilerek metin gerekirse 2 satıra düşüyor, buton taşmıyor. */
  .hero-cta .btn-outline {
    flex: 1 1 calc(50% - .35rem);
    font-size: .88rem;
    padding-inline: .75rem;
    white-space: normal;
    text-align: center;
  }

  /* Yüzen WhatsApp balonu sayfa açılışında istatistik kartının üzerine
     biniyordu; hero'da zaten aynı işlevi gören büyük bir buton var.
     main.js scroll > 500px'de .is-visible ekliyor — fab-top ile aynı an. */
  .fab-whatsapp {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .fab-whatsapp.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
}
