
/* =========================================================
   REFERANSLAR SAYFASI
   ========================================================= */
.sr-only {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.nav a.nav-current { color: var(--accent-deep); }
.references-hero {
  padding: 170px 0 92px;
  background:
    radial-gradient(circle at 82% 16%, rgba(34,185,228,.12), transparent 33%),
    linear-gradient(180deg,#f7fbfc 0%,#eef7f9 100%);
  border-bottom: 1px solid var(--line);
}
.references-hero-inner { max-width: 920px; }
.references-hero .eyebrow { color: var(--accent-deep); }
.references-hero h1 {
  max-width: 820px;
  margin: 10px 0 22px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px,6vw,72px);
  line-height: 1.03;
  font-weight: 600;
}
.references-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.reference-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:48px;
}
.reference-stat {
  min-height:132px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(36,50,58,.12);
  box-shadow:0 12px 30px rgba(36,50,58,.04);
}
.reference-stat strong {
  display:block;
  color:var(--accent-deep);
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(25px,3vw,38px);
  line-height:1.05;
  font-weight:600;
}
.reference-stat span {
  display:block;
  margin-top:9px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}

.section-lead {
  max-width:700px;
  margin-top:14px;
  color:var(--muted);
  line-height:1.7;
}
.documents-section { padding-top:92px; padding-bottom:100px; }
.documents-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:42px;
}
.document-card {
  display:flex;
  flex-direction:column;
  text-align:left;
  padding:0;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  font:inherit;
}
.document-card:hover,
.document-card:focus-visible {
  transform:translateY(-4px);
  border-color:rgba(34,185,228,.55);
  box-shadow:0 18px 40px rgba(36,50,58,.10);
}
.document-image-wrap {
  display:block;
  aspect-ratio: 4 / 5;
  background:#eef2f3;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.document-image-wrap img {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#f4f5f5;
}
.document-caption {
  display:block;
  padding:18px 18px 6px;
  color:var(--ink);
  font-weight:600;
  line-height:1.45;
}
.document-action {
  display:block;
  padding:0 18px 18px;
  color:var(--accent-deep);
  font-size:12px;
  font-weight:600;
}
.reference-directory { padding-top:96px; padding-bottom:110px; }
.directory-heading { margin-bottom:34px; }
.reference-toolbar {
  position:sticky;
  top:86px;
  z-index:5;
  margin:0 0 48px;
  padding:18px;
  background:rgba(247,251,252,.96);
  backdrop-filter:blur(10px);
  border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(36,50,58,.05);
}
.reference-search input {
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  padding:15px 18px;
  color:var(--ink);
  font:inherit;
  outline:none;
}
.reference-search input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(34,185,228,.10); }
.reference-filters {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:14px;
}
.reference-filter {
  border:1px solid rgba(103,117,124,.24);
  background:#fff;
  color:var(--muted);
  padding:10px 14px;
  cursor:pointer;
  border-radius:999px;
  font:600 12px/1 "DM Sans",Arial,sans-serif;
  transition:.2s ease;
}
.reference-filter span { opacity:.65; margin-left:4px; }
.reference-filter:hover { border-color:var(--accent); color:var(--accent-deep); }
.reference-filter.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.reference-result-status {
  min-height:22px;
  margin:-26px 0 22px;
  color:var(--muted);
  font-size:13px;
}
.reference-groups { display:grid; gap:54px; }
.reference-group {
  padding-top:12px;
  border-top:1px solid var(--line);
}
.reference-group-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:22px;
}
.reference-group-head .eyebrow { margin-bottom:6px; }
.reference-group-head h2 {
  font-family:"Playfair Display",Georgia,serif;
  color:var(--ink);
  font-size:28px;
}
.reference-list-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.reference-item {
  min-height:84px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:17px 16px;
  border:1px solid var(--line);
  background:#fff;
}
.reference-item[hidden], .reference-group[hidden] { display:none!important; }
.reference-dot {
  width:7px;height:7px;border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
  margin-top:7px;
}
.reference-item h3 {
  margin:0;
  color:var(--ink);
  font:600 14px/1.45 "DM Sans",Arial,sans-serif;
}
.reference-city {
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:12px;
}
.references-cta {
  background:linear-gradient(180deg,#5b98aa 0%,#79b1c0 100%);
  color:#fff;
  padding:72px 0;
}
.references-cta-inner {
  display:flex; align-items:center; justify-content:space-between; gap:36px;
}
.references-cta h2 {
  max-width:720px;
  color:#fff;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(30px,4vw,48px);
  line-height:1.1;
}
.references-cta .eyebrow { color:#fff; }
.references-cta-copy {
  max-width:650px;
  margin:16px 0 0;
  color:rgba(255,255,255,.94);
  font-size:15px;
  line-height:1.7;
}
.document-lightbox {
  position:fixed; inset:0; z-index:9999;
  display:none;
  align-items:center; justify-content:center;
  padding:34px 80px;
  background:rgba(12,20,24,.88);
}
.document-lightbox.open { display:flex; }
body.lightbox-open { overflow:hidden; }
.document-lightbox figure {
  margin:0;
  max-width:min(92vw,1100px);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.document-lightbox img {
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  background:#fff;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
}
.document-lightbox figcaption { color:#fff; font-size:13px; text-align:center; }
.document-lightbox-close,
.document-lightbox-nav {
  position:absolute;
  border:0;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.document-lightbox-close { top:20px; right:22px; width:46px; height:46px; border-radius:50%; font-size:30px; }
.document-lightbox-nav { top:50%; transform:translateY(-50%); width:52px; height:74px; font-size:48px; }
.document-lightbox-nav.prev { left:18px; }
.document-lightbox-nav.next { right:18px; }

@media (max-width:900px) {
  .references-hero { padding-top:135px; }
  .documents-grid, .reference-list-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reference-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reference-toolbar { top:72px; }
  .references-cta-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:620px) {
  .references-hero { padding:110px 0 64px; }
  .references-hero h1 { font-size:40px; }
  .references-hero p:not(.eyebrow) { font-size:16px; }
  .documents-section, .reference-directory { padding-top:70px; padding-bottom:76px; }
  .documents-grid, .reference-list-grid { grid-template-columns:1fr; }
  .reference-stats { grid-template-columns:1fr 1fr; gap:10px; margin-top:32px; }
  .reference-stat { min-height:112px; padding:17px; }
  .reference-stat strong { font-size:27px; }
  .documents-grid { gap:16px; }
  .document-image-wrap { aspect-ratio: 5 / 4; }
  .reference-toolbar { position:static; }
  .reference-filter { padding:10px 12px; }
  .reference-item { min-height:auto; }
  .document-lightbox { padding:58px 14px 70px; }
  .document-lightbox-nav { top:auto; bottom:12px; width:48px; height:44px; }
  .document-lightbox-nav.prev { left:calc(50% - 58px); }
  .document-lightbox-nav.next { right:calc(50% - 58px); }
}
