/* İnci Eğitim Yurtdışı — statik site stilleri */

/* ---------- Yazı tipi (Plus Jakarta Sans, OFL — bkz. assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/pjs-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/pjs-latin.woff2") format("woff2");
  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: #00387a;
  --navy-mid: #0f4f9c;
  --navy-dark: #00234d;
  --navy-deep: #001833;
  --navy-soft: #e9f0f9;
  --accent: #f2a93b;
  --accent-dark: #e0901a;
  --accent-soft: #fdf0d9;
  --ink: #172033;
  --muted: #5a6478;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 35, 77, .06), 0 2px 8px rgba(0, 35, 77, .05);
  --shadow: 0 10px 30px -8px rgba(0, 35, 77, .16);
  --shadow-lg: 0 24px 60px -16px rgba(0, 35, 77, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1160px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-dark); }

::selection { background: var(--accent); color: var(--navy-deep); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy-dark); margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }

p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar { background: var(--navy-deep); color: #b9c7dd; font-size: 13.5px; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding-top: 7px; padding-bottom: 7px; }
.topbar .loc { margin-right: auto; display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--accent); }
.topbar svg { width: 14px; height: 14px; flex: none; color: var(--accent); }
@media (max-width: 720px) {
  .topbar .container { justify-content: center; }
  .topbar .loc, .topbar .hide-sm { display: none; }
}

/* ---------- Header / Menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0, 35, 77, .08);
  box-shadow: 0 6px 24px -18px rgba(0, 35, 77, .5);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.logo { flex: none; }
.logo img { width: 184px; height: auto; }
@media (min-width: 960px) { .logo img { width: 220px; } }

/* Okuma ilerleme çubuğu (destekleyen tarayıcılarda) */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
}
@keyframes progress { to { transform: scaleX(1); } }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; cursor: pointer; border-radius: 10px; transition: background .2s;
}
.nav-toggle-label:hover { background: var(--navy-soft); }
.nav-toggle-label span { display: block; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--accent); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.nav-toggle:checked ~ .main-nav { display: block; animation: navIn .25s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
.main-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.main-nav a {
  display: block; padding: 13px 8px; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }

@media (min-width: 1024px) {
  .nav-toggle-label { display: none; }
  .main-nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
  .main-nav ul { display: flex; gap: 2px; padding: 0; }
  .main-nav a { position: relative; border: 0; padding: 8px 11px; font-size: 15px; border-radius: 10px; transition: color .2s, background .2s; }
  .main-nav a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: var(--navy); }
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .25s, translate .25s var(--ease);
}
.btn:hover { translate: 0 -2px; }
.btn .arrow { display: inline-block; transition: translate .25s var(--ease); }
.btn:hover .arrow { translate: 4px 0; }
.btn-primary { background: var(--accent); color: var(--navy-deep); box-shadow: 0 8px 22px -8px rgba(242, 169, 59, .7); }
.btn-primary:hover { background: #f6b955; color: var(--navy-deep); box-shadow: 0 12px 28px -8px rgba(242, 169, 59, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 22px -10px rgba(0, 56, 122, .7); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Ortak etiket ("eyebrow") ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }

/* ---------- Ana sayfa hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-dark); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 85% 110%, rgba(242, 169, 59, .28), transparent 60%),
    linear-gradient(100deg, rgba(0, 24, 51, .96) 0%, rgba(0, 45, 100, .86) 50%, rgba(0, 56, 122, .42) 100%);
}
.hero-inner { padding-top: 64px; padding-bottom: 116px; }
.hero h1 { color: #fff; font-size: clamp(34px, 6vw, 62px); line-height: 1.08; letter-spacing: -0.03em; max-width: 14ch; margin-bottom: 20px; }
.hero .hl { position: relative; white-space: nowrap; color: #fff; }
.hero .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .2em; z-index: -1;
  background: var(--accent); border-radius: 4px; opacity: .85;
}
.hero p { font-size: clamp(17px, 2vw, 19.5px); max-width: 50ch; color: #dbe5f3; margin: 0 0 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 10px;
  border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 169, 59, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .hero-inner { padding-top: 112px; padding-bottom: 168px; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: kenburns 28s ease-in-out infinite alternate; }
  .hero-inner > * { animation: fadeUp .8s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .stats { animation: fadeUp .9s .3s var(--ease) both; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* İstatistik şeridi */
.stats {
  position: relative; z-index: 3; margin: -60px 0 0; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.stat { background: #fff; padding: 20px 18px; }
.stat strong { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.15; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: -76px; }
  .stat { padding: 26px 28px; }
}

/* ---------- Bölümler ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17.5px; }
@media (min-width: 960px) { .section { padding: 96px 0; } }

/* Kartlar */
.cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card-body { position: relative; z-index: 1; background: #fff; padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); font-size: 15px; }
.card .arrow { display: inline-block; transition: translate .3s var(--ease); }
.card:hover .arrow { translate: 5px 0; }

/* Özellikler */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: feat; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px;
  transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.feature::after {
  counter-increment: feat; content: "0" counter(feat);
  position: absolute; top: 20px; right: 22px; font-size: 13px; font-weight: 800; color: #c3cfe0; letter-spacing: .05em;
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px; color: #fff; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 10px 20px -8px rgba(0, 56, 122, .6);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Alıntı */
.quote { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .quote { grid-template-columns: 280px 1fr; gap: 64px; } }
.quote-photo { position: relative; max-width: 280px; }
.quote-photo::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--accent-soft) 0 8px, #fff7e8 8px 16px);
  z-index: 0;
}
.quote-photo img { position: relative; z-index: 1; border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.quote blockquote,
.prose .quote blockquote {
  margin: 0; padding: 0; background: none; border: 0; border-radius: 0;
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; color: var(--navy-dark); font-weight: 600; letter-spacing: -0.01em;
}
.quote blockquote::before {
  content: "\201C"; display: block; height: .55em; margin-bottom: 6px;
  font-size: 4em; line-height: 1; color: var(--accent); font-weight: 800;
}
.quote cite { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-style: normal; font-size: 15.5px; color: var(--muted); }
.quote cite::before { content: ""; width: 28px; height: 2px; background: var(--line); }
.quote cite strong { color: var(--ink); }

/* Misyon / Vizyon */
.mv { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .mv { grid-template-columns: repeat(3, 1fr); } }
.mv > div {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px;
  transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
.mv > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.mv > div:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.mv h3 { font-size: 19px; }
.mv p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* CTA bandı */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(242, 169, 59, .3), transparent 65%),
    radial-gradient(420px 240px at 0% 100%, rgba(255, 255, 255, .08), transparent 70%),
    linear-gradient(120deg, var(--navy-dark), var(--navy));
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3.2vw, 32px); }
.cta-band p { margin: 0; color: #cfdaee; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-dark) center / cover no-repeat; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 300px at 100% 100%, rgba(242, 169, 59, .22), transparent 65%),
    linear-gradient(95deg, rgba(0, 24, 51, .95) 0%, rgba(0, 45, 100, .82) 55%, rgba(0, 56, 122, .5) 100%);
}
.page-hero .container { padding-top: 52px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--accent); }
.page-hero .sub { margin: 16px 0 0; max-width: 56ch; color: #d4dfef; font-size: clamp(16.5px, 1.8vw, 19px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: #b9c7dd; margin-bottom: 14px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
@media (min-width: 960px) { .page-hero .container { padding-top: 84px; padding-bottom: 88px; } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .container > * { animation: fadeUp .7s var(--ease) both; }
  .page-hero .container > :nth-child(2) { animation-delay: .06s; }
  .page-hero .container > :nth-child(3) { animation-delay: .12s; }
}

/* ---------- İçerik + kenar çubuğu ---------- */
.layout { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 72px; padding-bottom: 104px; } }

.prose { max-width: 760px; min-width: 0; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: clamp(23px, 2.7vw, 28px); margin-top: 1.9em; }
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 14px; }
.prose > h2:first-child::before, .prose .toc + h2::before { margin-top: 0; }
.prose h3 { font-size: clamp(19px, 2.2vw, 21px); margin-top: 1.7em; color: var(--navy); }
.prose .lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.7; color: var(--navy-dark); font-weight: 500; }
.prose a:not(.btn) { text-decoration-color: rgba(0, 56, 122, .35); }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent-dark); }
.prose blockquote {
  margin: 0 0 1.5em; padding: 20px 24px; background: var(--bg-soft); border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote ul { margin: 0 0 .8em; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose .callout {
  position: relative; margin: 0 0 1.5em; padding: 22px 26px; border-radius: var(--radius-lg); color: var(--navy-dark);
  background: linear-gradient(135deg, var(--navy-soft) 0%, #f6f9fd 100%); border: 1px solid #d6e2f2;
}
.prose .callout::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.prose .callout > :last-child { margin-bottom: 0; }
.prose .signature { text-align: right; margin: -0.2em 0 2em; color: var(--muted); }
.prose .signature strong { display: block; color: var(--ink); }

.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 36px; }
.toc strong { display: block; margin-bottom: 10px; color: var(--navy-dark); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc li { margin: 0; }
.prose .toc a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; font-size: 14.5px; font-weight: 700; transition: border-color .2s, background .2s, color .2s;
}
.prose .toc a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

[id] { scroll-margin-top: 100px; }

/* Galeri + CSS lightbox */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 1.8em; }
.gallery a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery a::after {
  content: "+"; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--navy-dark); background: rgba(255, 255, 255, .92);
  opacity: 0; translate: 0 6px; transition: opacity .25s, translate .25s var(--ease);
}
.gallery a:hover::after { opacity: 1; translate: 0 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; }
.lightbox:target { display: grid; animation: fadeIn .25s ease; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 18, 40, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { position: relative; max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.prose .lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-dark); text-decoration: none; font-size: 26px; line-height: 1; font-weight: 600;
}
@keyframes fadeIn { from { opacity: 0; } }

/* Kenar çubuğu */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .sidebar { position: sticky; top: 104px; align-self: start; } }
.box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.box h2 { font-size: 18px; margin-bottom: 12px; }
.box p { font-size: 15px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li a {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); transition: color .2s, padding .25s var(--ease);
}
.box li a::after { content: "→"; color: var(--accent-dark); opacity: 0; translate: -6px 0; transition: opacity .2s, translate .25s var(--ease); }
.box li a:hover { color: var(--navy); padding-left: 4px; }
.box li a:hover::after, .box li a[aria-current="page"]::after { opacity: 1; translate: 0 0; }
.box li a[aria-current="page"] { color: var(--navy); }
.box li:last-child a { border-bottom: 0; }
.box-navy {
  position: relative; overflow: hidden; border: 0; color: #fff;
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(242, 169, 59, .35), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow: var(--shadow);
}
.box-navy h2 { color: #fff; }
.box-navy p { color: #cfdaee; }
.box-navy a.tel { color: #fff; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 16.5px; padding: 3px 0; }
.box-navy a.tel:hover { color: var(--accent); }
.box-navy a.tel svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.box-navy .btn { margin-top: 16px; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px;
  transition: border-color .25s, box-shadow .25s;
}
.contact-item:hover { border-color: #cbd8ea; box-shadow: var(--shadow-sm); }
.contact-item .icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.contact-item .icon svg { width: 20px; height: 20px; }
.prose .contact-item h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 2px 0 4px; }
.contact-item p { margin: 0; line-height: 1.6; }
.prose .contact-item a { font-weight: 700; text-decoration: none; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); margin-bottom: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fiyat listesi */
.download {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; margin-bottom: 1.6em; background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%); box-shadow: var(--shadow-sm);
}
.download .file-icon {
  width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, #21844f, #155f37); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .04em; flex: none; box-shadow: 0 10px 20px -10px rgba(21, 95, 55, .8);
}
.download div { flex: 1 1 200px; }
.download strong { display: block; color: var(--navy-dark); font-size: 17px; }
.download span { color: var(--muted); font-size: 14.5px; }
.chips { list-style: none; padding: 0 !important; margin: 0 0 1.4em !important; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0 !important; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy-dark); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: #b3c1d8; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy-mid), var(--accent), var(--navy-mid)); }
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 44px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h2 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid p { margin: 0 0 12px; line-height: 1.7; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { width: 170px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.to-top span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: translate .25s var(--ease), border-color .2s; }
.to-top:hover span { translate: 0 -3px; border-color: var(--accent); }

/* ---------- Kaydırınca beliren öğeler (destekleyen tarayıcılarda) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } }

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

@media print {
  .topbar, .site-header, .sidebar, .site-footer, .cta-band { display: none; }
  .page-hero { background: none !important; color: #000; }
  .page-hero::before { display: none; }
  .page-hero h1, .page-hero .sub { color: #000; }
}
