:root {
  --navy: #0b2e81;
  --navy-dark: #071f58;
  --sky: #52d3f7;
  --red: #ce2314;
  --gold: #f7c637;
  --ink: #16213a;
  --ink-soft: #4b5670;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --header-h: 76px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 129, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2rem); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--navy-dark); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.8rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 2px;
}
.muted { color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 60px; width: auto; }

.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); border-color: var(--gold); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #1a4bb8);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 31, 88, 0.92) 0%, rgba(11, 46, 129, 0.76) 50%, rgba(11, 46, 129, 0.38) 100%);
}
.hero-content { position: relative; padding-block: 6rem; max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--sky); }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 600px; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: #ffd65a; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.85rem; background: var(--navy); color: #fff; border: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg-alt); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.values { display: grid; gap: 1rem; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.value-card h3 { margin-bottom: 0.3em; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.value-icon {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--sky);
  opacity: 0.75;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.service {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.service:hover { transform: translateY(-4px); border-top-color: var(--gold); }
.service p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.carousel + .carousel { margin-top: 1.5rem; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide { flex: 0 0 100%; min-width: 100%; }
.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(7, 31, 88, 0.25);
  transition: background 0.2s;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.25); }

/* ---------- Şirket bilgileri ---------- */
.info-list {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-list > div {
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.info-list > div:nth-child(2n) { border-right: 0; }
.info-list dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 0.25rem; }
.info-list dd { margin: 0; font-weight: 600; }

/* Yayına almadan önce doldurulacak alanlar — canlıda kalmamalı */
[data-tbd] { color: var(--red); font-style: italic; font-weight: 700; }

/* ---------- Hukuki bilgilendirme kartları ---------- */
.legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.legal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-left-color 0.2s;
}
.legal-card:hover { transform: translateY(-4px); border-left-color: var(--gold); text-decoration: none; }
.legal-card h3 { margin: 0; font-size: 1.05rem; }
.legal-card-go { font-size: 0.88rem; font-weight: 700; color: var(--red); }

/* ---------- İletişim ---------- */
.contact { font-style: normal; }
.contact p { margin-bottom: 1.2rem; }
.contact strong { color: var(--navy); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-grid p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.contact-grid strong { display: block; margin-bottom: 0.4rem; }

/* ---------- Hukuki metin sayfaları ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-bottom: 0.3em; }
.page-head .eyebrow { color: var(--gold); }
.page-head .eyebrow::before { background: var(--sky); }
.back-link { display: inline-block; margin-top: 1rem; color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.9rem; }

.doc { padding-block: clamp(2.5rem, 6vw, 4rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.05rem; margin-top: 1.8rem; color: var(--navy); }
.doc h4 { font-size: 0.95rem; margin: 1.4rem 0 0.5rem; color: var(--ink); }
.doc p, .doc li { color: var(--ink-soft); font-size: 0.95rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.doc li { margin-bottom: 0.3em; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 2rem;
  font-size: 0.88rem;
}
.doc th, .doc td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-alt); color: var(--navy-dark); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

.notice {
  background: #fff6d9;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #7a5b00;
}
.notice p { color: inherit; margin-bottom: 0.5em; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.notfound {
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}
.notfound-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  opacity: 0.14;
  margin: 0;
}
.notfound h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--navy-dark); margin-top: -0.3em; }
.notfound p { color: var(--ink-soft); }
.notfound-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.82); }
.site-footer a { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-logo { height: 90px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.93rem; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 0.1em; }
.footer-tobb-line { margin-bottom: 1em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; align-content: start; }
.footer-nav a { font-size: 0.93rem; opacity: 0.9; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 1.1rem; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.copyright { margin: 0; opacity: 0.65; font-size: 0.83rem; }
.btk-link { font-size: 0.83rem; opacity: 0.65; }
.btk-link:hover { opacity: 1; }

/* ---------- Çerez bildirimi ---------- */
.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  margin-inline: auto;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(7, 31, 88, 0.22);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.cookie-notice p { margin: 0; flex: 1; }

/* ---------- Yukarı çık ---------- */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 150;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { text-decoration: none; background: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .legal-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 70vh; }
  .hero-content { padding-block: 4rem; }
  .carousel-slide img { aspect-ratio: 4 / 3; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.3rem; }
  .info-list { grid-template-columns: 1fr; }
  .info-list > div { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .cookie-notice { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
}
