:root {
  --sky: #0ea5e9;
  --skySoft: #7dd3fc;
  --night: #0f172a;
  --nightSoft: #1e293b;
  --nightLine: #334155;
  --fog: #cbd5e1;
  --snow: #f1f5f9;
  --sideW: 264px;
  --fontStack: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--fontStack);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--snow);
  background: var(--night);
}

a { color: var(--skySoft); }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.srOnly {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skipLink {
  position: fixed;
  top: -60px; left: 12px;
  z-index: 100;
  background: var(--sky);
  color: var(--night);
  padding: .5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s;
}
.skipLink:focus { top: 12px; }

/* ---- kabuk: sol sabit sidebar + sağ içerik ---- */

.appShell {
  display: flex;
  min-height: 100vh;
}

.sideBar {
  display: flex;
  flex-direction: column;
  width: var(--sideW);
  flex: 0 0 var(--sideW);
  position: fixed;
  top: 0; bottom: 0; left: 0;
  background: var(--nightSoft);
  border-right: 1px solid var(--nightLine);
  overflow-y: auto;
}

.brandRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
}

.brandLink {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.brandMark { flex: 0 0 auto; }

.menuToggle {
  display: none;
  background: none;
  border: 1px solid var(--nightLine);
  color: var(--snow);
  border-radius: 8px;
  padding: .4rem;
  cursor: pointer;
}

.sideNav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 .75rem 1.25rem;
}

.navList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.navLink {
  display: flex;
  align-items: center;
  padding: .6rem .8rem;
  border-radius: 8px;
  color: var(--fog);
  text-decoration: none;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.navLink:hover { background: rgba(14, 165, 233, .1); color: #fff; }
.navLink[aria-current="page"] { background: rgba(14, 165, 233, .16); color: #fff; border-left-color: var(--sky); font-weight: 700; }

.sideCta {
  margin-top: auto;
  padding: 1rem .8rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.sideTag { margin: 0; font-size: .85rem; color: var(--fog); }

.legalList {
  list-style: none;
  margin: 0;
  padding: .75rem .8rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  font-size: .78rem;
}
.legalList a { color: #94a3b8; text-decoration: none; }
.legalList a:hover { color: #fff; }

.contentCol {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: var(--sideW);
}

.mainArea {
  flex: 1 1 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  max-width: 1040px;
  width: 100%;
}

/* ---- butonlar ---- */

.ctaBtn, .ghostBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.ctaBtn { background: var(--sky); color: var(--night); }
.ctaBtn:hover { background: var(--skySoft); color: var(--night); }
.ctaSmall { padding: .55rem 1rem; font-size: .9rem; }
.ghostBtn { border-color: var(--nightLine); color: var(--snow); }
.ghostBtn:hover { border-color: var(--sky); color: #fff; }

/* ---- hero ---- */

.heroBlock {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, var(--nightSoft), rgba(14, 165, 233, .12));
  border: 1px solid var(--nightLine);
  border-radius: 20px;
}

.heroText { flex: 1 1 320px; display: flex; flex-direction: column; gap: .8rem; }
.heroArt { flex: 0 1 320px; display: flex; justify-content: center; }
.heroArt svg { width: 100%; height: auto; max-width: 320px; }
.heroFigure { flex: 1 1 340px; margin: 0; }
.heroImg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--nightLine);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .55);
}

.heroKicker {
  margin: 0;
  color: var(--sky);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.heroTitle, .pageTitle {
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff;
}

.heroLead { margin: 0; font-size: 1.1rem; color: var(--fog); max-width: 46ch; }
.heroActions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

/* ---- içerik ---- */

.pageHead { padding: 0 0 1.25rem; border-bottom: 1px solid var(--nightLine); margin-bottom: 1.5rem; }

/* iç sayfa: görsel H1'in arkasında, üstüne koyu gradyan */
.pageHeadHasImg {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 32vw, 340px);
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--nightLine);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.pageHeadImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.pageHeadHasImg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .78) 60%, rgba(15, 23, 42, .94) 100%);
}
.pageHeadHasImg .pageTitle { text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.proseBlock img { max-width: 100%; height: auto; }

.proseBlock { max-width: 74ch; margin: 2rem 0; }
.proseBlock h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; color: #fff; }
.proseBlock h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; color: #fff; }
.proseBlock p { margin: 0 0 1em; color: var(--fog); }
.proseBlock li { color: var(--fog); margin-bottom: .3em; }
.proseBlock strong { color: #fff; }
.proseBlock table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.proseBlock th, .proseBlock td { border: 1px solid var(--nightLine); padding: .55rem .75rem; text-align: left; }
.proseBlock th { background: var(--nightSoft); color: #fff; }

/* ---- bağlantı kartları ---- */

.linkRow { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }

.linkCard {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--nightSoft);
  border: 1px solid var(--nightLine);
  text-decoration: none;
  color: var(--fog);
  transition: border-color .15s, transform .15s;
}
.linkCard:hover { border-color: var(--sky); transform: translateY(-2px); color: var(--fog); }
.linkIcon { font-weight: 800; color: var(--sky); font-size: .85rem; letter-spacing: .1em; }
.linkTitle { font-weight: 800; color: #fff; font-size: 1.15rem; }
.linkDesc { font-size: .93rem; }

/* ---- SSS ---- */

.faqTeaser { margin: 2.5rem 0 1rem; }
.faqHead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.faqHead h2 { margin: 0; color: #fff; font-size: 1.5rem; }
.faqTeaserList { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.faqTeaserItem { padding: 1rem 1.2rem; border-left: 3px solid var(--sky); background: var(--nightSoft); border-radius: 0 12px 12px 0; }
.faqTeaserItem strong { color: #fff; display: block; margin-bottom: .3rem; }
.faqTeaserAnswer { color: var(--fog); font-size: .95rem; }

.faqStack { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.faqEntry { border: 1px solid var(--nightLine); border-radius: 12px; background: var(--nightSoft); overflow: hidden; }
.faqQ { margin: 0; font-size: 1.05rem; }
.faqBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faqBtn:hover { background: rgba(14, 165, 233, .08); }
.faqChevron { flex: 0 0 auto; transition: transform .2s; color: var(--sky); }
.faqBtn[aria-expanded="true"] .faqChevron { transform: rotate(180deg); }
.faqA { padding: 0 1.2rem 1.1rem; color: var(--fog); }
.faqA[hidden] { display: none; }
.noJs .faqChevron { display: none; }

/* ---- iletişim ---- */

.contactGrid { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.contactForm { flex: 2 1 340px; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--nightSoft); border: 1px solid var(--nightLine); border-radius: 16px; }
.contactSide { flex: 1 1 240px; padding: 1.5rem; border: 1px dashed var(--nightLine); border-radius: 16px; }
.formTitle { margin: 0; font-size: 1.3rem; color: #fff; }
.fieldRow { display: flex; flex-direction: column; gap: .35rem; }
.fieldLabel { font-weight: 700; font-size: .9rem; }
.fieldInput {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 8px;
  border: 1px solid var(--nightLine);
  background: var(--night);
  color: #fff;
  font: inherit;
}
.fieldInput:focus { border-color: var(--sky); }
.fieldArea { resize: vertical; min-height: 140px; }
.honeyRow { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formNote { margin: 0; padding: .75rem 1rem; border-radius: 8px; font-weight: 600; }
.formNote.is-basari { background: rgba(34, 197, 94, .18); color: #bbf7d0; }
.formNote.is-hata { background: rgba(239, 68, 68, .18); color: #fecaca; }
.channelList { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .8rem; }
.channelItem { display: flex; flex-direction: column; }
.channelName { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; }

/* ---- 404 ---- */

.notFoundBox { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3rem 0; }

/* ---- footer ---- */

.pageFoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 2rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--nightLine);
  font-size: .88rem;
  color: #94a3b8;
}
.footText { margin: 0; flex: 1 1 100%; }
.footLinks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.footCopy { margin: 0; margin-left: auto; }

/* ---- mobil ---- */

@media (max-width: 860px) {
  .sideBar { position: sticky; top: 0; bottom: auto; width: 100%; flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--nightLine); z-index: 40; overflow: visible; }
  .appShell { flex-direction: column; }
  .contentCol { margin-left: 0; }
  .menuToggle { display: inline-flex; }
  .jsOn .sideNav { display: none; }
  .jsOn .sideNav.isOpen { display: flex; }
  .sideCta { margin-top: .5rem; }
  .heroArt { order: -1; flex-basis: 100%; }
  .heroArt svg { max-width: 220px; }
  .heroImg { border-radius: 12px; }
  .pageHeadHasImg { min-height: 180px; }
}

/* ---- blog: kırıntı ---- */

.crumbTrail { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: #94a3b8; margin-bottom: 1.25rem; }
.crumbLink { color: var(--fog); text-decoration: none; }
.crumbLink:hover { color: #fff; }
.crumbSep { color: var(--sky); }
.crumbHere { color: #fff; font-weight: 600; }

/* ---- blog: liste ---- */

.feedHead { display: flex; flex-direction: column; gap: .6rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--nightLine); margin-bottom: 1.5rem; }
.feedPageNo { font-size: .5em; font-weight: 600; color: var(--sky); vertical-align: middle; }

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

.postCard {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--nightSoft);
  border: 1px solid var(--nightLine);
  border-radius: 16px;
  transition: border-color .15s;
}
.postCard:hover { border-color: var(--sky); }
.postCardImg { flex: 0 0 240px; display: block; }
.postCardImg img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--nightLine); }
.postCardBody { flex: 1 1 280px; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.postCardTitle { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.postCardTitle a { color: #fff; text-decoration: none; }
.postCardTitle a:hover { color: var(--skySoft); }
.postMeta { margin: 0; font-size: .82rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.postMetaSep { color: var(--sky); }
.postCardText { margin: 0; color: var(--fog); }
.postMore { margin-top: auto; align-self: flex-start; font-weight: 700; text-decoration: none; color: var(--sky); }
.postMore:hover { color: #fff; }

.pagerBar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
.pagerLink { display: inline-flex; padding: .6rem 1.1rem; border: 1px solid var(--nightLine); border-radius: 10px; color: var(--snow); text-decoration: none; font-weight: 700; }
.pagerLink:hover { border-color: var(--sky); color: #fff; }
.pagerInfo { font-size: .85rem; color: #94a3b8; font-weight: 700; }
.pagerGap { flex: 0 0 1px; }

/* ---- blog: yazı ---- */

.articleWrap { display: flex; flex-direction: column; gap: 1.25rem; }
.articleHead { display: flex; flex-direction: column; gap: .6rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--nightLine); }
.articleHero { margin: 0; }
.articleHero img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--nightLine); box-shadow: 0 18px 40px rgba(2, 6, 23, .55); }
.articleBody { margin-top: 0; }

.neighborNav { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.neighborLink { flex: 1 1 240px; display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; border: 1px solid var(--nightLine); border-radius: 12px; text-decoration: none; background: var(--nightSoft); }
.neighborLink:hover { border-color: var(--sky); }
.neighborLink.isNext { text-align: right; align-items: flex-end; }
.neighborTag { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sky); font-weight: 800; }
.neighborTitle { color: #fff; font-weight: 700; }
.neighborGap { flex: 1 1 240px; }

.relatedRail { margin: 2.5rem 0 1rem; }
.relatedGrid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.relatedCard { flex: 1 1 200px; display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; border-radius: 14px; background: var(--nightSoft); border: 1px solid var(--nightLine); text-decoration: none; color: var(--fog); transition: border-color .15s, transform .15s; }
.relatedCard:hover { border-color: var(--sky); transform: translateY(-2px); color: var(--fog); }
.relatedImg { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: .3rem; }
.relatedTitle { color: #fff; font-weight: 800; line-height: 1.3; }
.relatedDate { font-size: .78rem; color: #94a3b8; }
.relatedText { font-size: .9rem; }

/* ---- blog: sayfa altı okumalar ---- */

.readingList { margin: 2.5rem 0 0; padding: 1.25rem 1.4rem; border: 1px dashed var(--nightLine); border-radius: 14px; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.readingTitle { margin: 0; font-size: 1.2rem; color: #fff; }
.readingItems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.readingItem { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--nightLine); }
.readingLink { color: var(--snow); font-weight: 600; text-decoration: none; }
.readingLink:hover { color: var(--skySoft); }
.readingDate { font-size: .8rem; color: #94a3b8; }

/* ---- ana sayfa: rehberde yeni ---- */

.freshPosts { margin: 2.5rem 0; }
.freshList { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.freshItem { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 1rem 1.2rem; background: var(--nightSoft); border: 1px solid var(--nightLine); border-radius: 12px; }
.freshDate { flex: 0 0 110px; font-size: .8rem; color: var(--sky); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding-top: .2rem; }
.freshBody { flex: 1 1 260px; display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.freshTitle { color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.freshTitle:hover { color: var(--skySoft); }
.freshText { margin: 0; color: var(--fog); font-size: .95rem; }

@media (max-width: 860px) {
  .postCardImg { flex-basis: 100%; }
  .neighborLink.isNext { text-align: left; align-items: flex-start; }
  .freshDate { flex-basis: 100%; }
}
