@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0c2340;
  --navy-2: #13325a;
  --blue: #1f6fb8;
  --sky: #e8f1fa;
  --amber: #e0a526;
  --paper: #faf8f4;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #e3e0d8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(12, 35, 64, .25);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Üst bilgi şeridi */
.topbar { background: var(--navy); color: #c9d6e6; font-size: .875rem; }
.topbar .wrap { display: flex; gap: 20px; justify-content: flex-end; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: var(--amber); }
.topbar .since { margin-right: auto; letter-spacing: .08em; }
@media (max-width: 640px) { .topbar .since, .topbar .mail { display: none; } }

/* Ana başlık */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { width: 190px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--sky); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav .cta { background: var(--navy); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: var(--blue); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); }
  .nav .cta { margin: 8px 0 0; text-align: center; }
  .brand img { width: 160px; }
}

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #f0b83a; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }

/* Kahraman alanı */
.hero { background: var(--navy); color: #dbe5f1; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 72px 88px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--amber); font-weight: 500; }
.hero .lead { font-size: 1.15rem; max-width: 34ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--amber); margin-bottom: 14px; display: block; }
.then-now { position: relative; min-height: 420px; }
.then-now figure { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.then-now img { width: 100%; height: 100%; object-fit: cover; }
.then-now .then { width: 62%; aspect-ratio: 4/3; left: 0; top: 0; transform: rotate(-3deg); border: 8px solid #f4efe4; border-bottom-width: 36px; border-radius: 4px; }
.then-now .now { width: 70%; aspect-ratio: 3/2; right: 0; bottom: 0; }
.then-now figcaption { position: absolute; left: 10px; bottom: -30px; font-family: var(--serif); font-style: italic; color: #4a3f2c; font-size: .95rem; }
.then-now .now figcaption { left: auto; right: 12px; bottom: 12px; background: var(--amber); color: var(--navy); font-style: normal; font-family: var(--sans); font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; }
  .then-now { min-height: 0; aspect-ratio: 5/4; }
}

/* Rakamlar */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Bölümler */
.section { padding-block: 88px; }
.section.alt { background: #fff; }
.section.dark { background: var(--navy); color: #dbe5f1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #b9c8db; }
@media (max-width: 640px) { .section { padding-block: 60px; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.alt .card { background: var(--paper); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.service { position: relative; overflow: hidden; padding: 0; }
.service img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.service .body { padding: 28px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2340' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

blockquote.pull { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--navy); border-left: 4px solid var(--amber); padding-left: 24px; }
.section.dark blockquote.pull { color: #fff; }

/* Sayfa başlığı */
.page-hero { background: var(--navy); color: #c9d6e6; padding-block: 64px 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 60ch; font-size: 1.1rem; margin: 0; }
.page-hero::after { content: "1965"; position: absolute; right: -10px; bottom: -40px; font-family: var(--serif); font-size: 12rem; font-weight: 700; color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; }
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: 14px 14px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.subnav a:hover { color: var(--navy); }
@media (max-width: 860px) { .subnav { top: 76px; } }
[id] { scroll-margin-top: 150px; }

/* Zaman çizelgesi */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { padding-left: 40px; position: relative; margin-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline strong { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); display: block; }

/* Organizasyon şeması */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 10px; padding: 14px 22px; text-align: center; font-weight: 600; color: var(--navy); min-width: 180px; box-shadow: 0 4px 14px -8px rgba(12,35,64,.3); }
.org-node.top { background: var(--navy); color: #fff; border-top-color: var(--amber); }
.org-line { width: 2px; height: 28px; background: #c3ccd8; }
.org-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; padding-top: 28px; width: 100%; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 2px; background: #c3ccd8; }
.org-row > div { position: relative; display: flex; flex-direction: column; align-items: center; }
.org-row > div::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: #c3ccd8; }
.org-row .org-node { min-width: 0; width: 100%; }
.org-sub { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; width: 100%; }
.org-sub .org-node { border-top-color: var(--amber); font-weight: 500; font-size: .95rem; }
@media (max-width: 760px) {
  .org-row { grid-template-columns: 1fr 1fr; }
  .org-row::before, .org-row > div::before { display: none; }
}

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; display: block; width: 100%; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery.sepia img { filter: sepia(.15) contrast(1.02); }

.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.cert button { padding: 0; border: 0; background: var(--paper); cursor: zoom-in; display: block; width: 100%; border-radius: 8px; overflow: hidden; }
.cert img { width: 100%; aspect-ratio: 3/4; object-fit: contain; }
.cert h3 { font-size: 1.05rem; margin: 14px 0 4px; }
.cert p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(8, 18, 32, .88); }
dialog.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 6px; }
dialog.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
dialog.lightbox .close, dialog.lightbox .prev, dialog.lightbox .next { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
dialog.lightbox .close { top: 16px; right: 16px; }
dialog.lightbox .prev { left: 16px; top: 50%; translate: 0 -50%; }
dialog.lightbox .next { right: 16px; top: 50%; translate: 0 -50%; }
dialog.lightbox button:hover { background: rgba(255,255,255,.25); }

/* İletişim */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sky); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Çağrı bandı */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy-2)); color: #e3ecf7; border-radius: 20px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }

/* Alt bilgi */
.site-footer { background: #081a30; color: #9fb0c6; padding-block: 56px 28px; font-size: .95rem; margin-top: 88px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d5dfeb; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer .logo { background: #fff; padding: 10px 14px; border-radius: 10px; display: inline-block; margin-bottom: 16px; }
.site-footer .logo img { width: 160px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

main > .section:last-child { padding-bottom: 0; }
.prose { max-width: 70ch; }
.prose p { color: #34404e; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
