/* cegup.com tanıtım sayfası. Renkler marka paketinden (docs/brand); logo dosyaları olduğu gibi kullanılır. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  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: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  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 {
  --terracotta: #D97757;      /* logo ve süs vurgusu */
  --accent-text: #C2593A;     /* büyük başlıkta terracotta metin (zeminde ≥ 3:1) */
  --action: #A84D33;          /* beyaz yazılı düğme zemini */
  --action-hover: #8F3F28;
  --charcoal: #1F2937;
  --sand: #EAE6E1;
  --sand-soft: #F2EDE7;
  --stone: #9CA3AF;
  --canvas: #FAF8F5;
  --surface: #FFFFFF;
  --muted: #5F6975;
  --border: #DDD7CF;
  --radius: 10px;
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 92px;
  --font: 'Inter Variable', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--canvas);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--charcoal); color: #fff; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; outline-color: var(--terracotta); }

/* Düğmeler ve bağlantılar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  color: #fff; background: var(--action); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(31 41 55 / .12);
}
.btn:hover { background: var(--action-hover); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.0625rem; }
.text-link { font-weight: 700; text-decoration: none; padding: 10px 4px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* A. Üst menü */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--sand);
}
.bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav ul { display: flex; gap: 36px; margin: 0 auto; }
.nav ul a, .login { white-space: nowrap; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 10px 2px; }
.nav ul a:hover, .login:hover { color: var(--action); }
.nav-actions { display: flex; align-items: center; gap: 28px; padding-left: 32px; border-left: 1px solid var(--border); }
.menu-btn, .login-bar { display: none; }

@media (max-width: 959px) {
  :root { --header-h: 68px; }
  .brand img { height: 48px; }
  .login-bar { display: block; margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 8px 12px; margin-right: -8px;
    font: inherit; font-weight: 600; font-size: .9375rem; color: var(--charcoal);
    background: transparent; border: 0; border-left: 1px solid var(--border); cursor: pointer;
  }
  .menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 20px;
    background: var(--canvas); border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgb(31 41 55 / .08);
  }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; margin: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--sand); }
  .nav-actions { padding: 8px 0 0; border: 0; }
  .nav-actions .btn { flex: 1; }
  .login-nav { display: none; }
}
@media (max-width: 479px) {
  .brand img { height: 40px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* B. Açılış */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.hero-sketch {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  width: 360px; height: auto; top: -8px; right: max(0px, calc(50% - 600px));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero-shot { margin-top: 140px; }
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .2em; color: var(--charcoal);
}
.eyebrow::after { content: ""; width: 72px; height: 1px; background: var(--stone); }
h1 {
  margin: 22px 0 20px;
  font-size: clamp(2rem, 5.4vw, 4.25rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
}
h1 .line { display: block; }
.accent { color: var(--accent-text); }
.lead { max-width: 30em; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.5; color: #374151; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 32px; }
.features { margin-top: 24px; color: var(--muted); font-size: .9375rem; }

/* Ekran görüntüsü çerçeveleri */
.shot { position: relative; }
.shot.browser {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 48px -20px rgb(31 41 55 / .28), 0 2px 6px rgb(31 41 55 / .06);
}
.chrome {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px;
  background: var(--sand-soft); border-bottom: 1px solid var(--border);
}
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #D3CCC3; }
.example {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; line-height: 1.4; color: var(--charcoal);
  background: var(--surface); border: 1px solid var(--border);
}
.chrome .example { margin-left: auto; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: .875rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--sand); }
.shot.phone figcaption { border: 0; text-align: center; padding: 14px 0 0; }
.phone-body {
  position: relative; border: 10px solid var(--charcoal); border-radius: 38px; overflow: hidden; background: var(--charcoal);
  box-shadow: 0 24px 48px -20px rgb(31 41 55 / .35);
}
.phone-body img { border-radius: 28px; }
.shot.phone > .example { position: absolute; z-index: 1; left: 50%; top: -11px; transform: translateX(-50%); box-shadow: 0 2px 8px rgb(31 41 55 / .18); }

@media (max-width: 899px) {
  .hero { padding: 40px 0 56px; }
  /* Dar ekranda eskiz yalnızca üst köşede, başlığın üzerine binmez. */
  .hero-sketch { width: 120px; top: -24px; right: -8px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-shot { margin-top: 0; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; gap: 4px; }
  .cta-row .btn { width: 100%; }
  .features { text-align: center; }
}

/* C. Deneyim */
.experience { background: var(--sand); }
.experience-row { display: flex; align-items: center; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
.big-number {
  flex: none; padding-right: 40px; border-right: 2px solid var(--terracotta);
  font-size: clamp(3.25rem, 8vw, 5.25rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--accent-text);
}
.experience-title { font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; letter-spacing: -.01em; }
.experience-text { color: #4B5563; font-size: clamp(1rem, 1.6vw, 1.1875rem); }
@media (max-width: 479px) { .eyebrow::after { display: none; } }
@media (max-width: 379px) { .hero-sketch { display: none; } .brand img { height: 34px; } .bar { gap: 10px; } }
@media (max-width: 479px) {
  .experience-row { gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .big-number { padding-right: 20px; }
}

/* D. Platform */
.platform { padding: 96px 0 104px; }
h2 { font-size: clamp(1.75rem, 3.9vw, 3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.section-lead { margin-top: 12px; font-size: clamp(1.0625rem, 1.7vw, 1.375rem); color: #4B5563; max-width: 34em; }
.hierarchy {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; column-gap: 72px;
  max-width: 960px; margin: 48px auto 0; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.hierarchy li {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 76px; padding: 12px;
  font-size: 1.25rem; font-weight: 700; background: var(--sand); border-radius: var(--radius);
}
/* Ok: kutular arasındaki boşluğun ortasında, ekran okuyucuya okunmaz. */
.hierarchy li + li::before {
  content: "→"; content: "→" / ""; position: absolute; left: -36px; top: 50%; transform: translate(-50%, -50%);
  font-weight: 400; font-size: 1.5rem; line-height: 1;
}
.hierarchy svg, .functions svg, .step-icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.hierarchy svg { width: 32px; height: 32px; flex: none; }

.functions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.functions li { padding: 8px 28px; border-left: 1px solid var(--border); }
.functions li:first-child { border-left: 0; padding-left: 0; }
.functions svg { width: 36px; height: 36px; margin-bottom: 18px; stroke-width: 1.5; }
.functions h3 { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.functions p { color: #4B5563; }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: end; margin-top: 72px; }

@media (max-width: 899px) {
  .platform { padding: 64px 0 72px; }
  .hierarchy { margin-top: 32px; padding-bottom: 32px; column-gap: 36px; }
  .hierarchy li + li::before { left: -18px; font-size: 1.25rem; }
  .hierarchy li { font-size: 1.0625rem; gap: 10px; min-height: 60px; }
  .hierarchy svg { width: 26px; height: 26px; }
  .functions { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .functions li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .functions li { padding: 0 0 0 20px; }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .shot.phone { width: min(280px, 80%); margin: 0 auto; }
}
@media (max-width: 479px) {
  .hierarchy { column-gap: 24px; }
  .hierarchy li + li::before { left: -12px; }
  .hierarchy li { flex-direction: column; gap: 4px; padding: 10px 4px; font-size: .9375rem; }
  .functions li { padding-left: 14px; }
  .functions h3 { font-size: 1.125rem; }
  .functions p { font-size: .9375rem; }
}
@media (max-width: 359px) {
  .functions { grid-template-columns: minmax(0, 1fr); }
  .functions li { border-left: 0; padding-left: 0; }
}

/* E. Saha kullanımı */
.field { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--charcoal); color: #fff; }
/* Fotoğraf kendi yüksekliğini dayatmaz: metin alanı kadar (en az 520 px) yer kaplar, fazlası kırpılır. */
.field-photo { position: relative; min-height: 520px; }
.field-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.field-text { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 5vw, 72px); }
.field-text h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.field-lead { margin-top: 20px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; color: #F3F4F6; max-width: 22em; }
.field-text hr { width: 56px; height: 3px; margin: 28px 0 20px; border: 0; background: var(--terracotta); }
.field-text p:last-child { color: #E5E7EB; font-size: 1.0625rem; }
.field :focus-visible { outline-color: #fff; }
@media (max-width: 899px) {
  .field { grid-template-columns: minmax(0, 1fr); }
  .field-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .field-text { padding: 48px var(--gutter) 56px; }
}

/* F. Kiracı portalı */
.tenant { padding: 96px 0 104px; }
.tenant-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.note {
  margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--terracotta);
  color: var(--charcoal); font-weight: 500; max-width: 32em;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 72px; margin-top: 64px; text-align: center; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.steps li + li::before {
  content: "→"; content: "→" / ""; position: absolute; left: -36px; top: 16px; transform: translateX(-50%);
  font-weight: 400; font-size: 1.5rem; line-height: 1;
}
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--sand); }
.step-icon svg { width: 28px; height: 28px; }
@media (max-width: 899px) {
  .tenant { padding: 64px 0 72px; }
  .tenant-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 48px; }
  .steps li + li::before { content: none; }
  .steps li { font-size: 1rem; }
}

/* G. Kapanış ve alt bilgi */
.closing { position: relative; overflow: hidden; background: var(--sand-soft); padding: 96px 0 88px; text-align: center; }
.closing-sketch { position: absolute; left: max(-40px, calc(50% - 680px)); top: 8px; width: 300px; height: auto; pointer-events: none; user-select: none; }
.closing-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.closing h2 { max-width: 13em; font-size: clamp(1.875rem, 4.4vw, 3.25rem); }
@media (max-width: 1023px) { .closing-sketch { display: none; } }
@media (max-width: 899px) { .closing { padding: 64px 0; } .closing .btn { width: 100%; max-width: 360px; } }

.site-footer { background: var(--sand-soft); }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--border);
  background-clip: content-box;
}
.footer-logo { width: 260px; height: auto; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 639px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
}
@media (max-width: 479px) { .footer-logo { width: 200px; } }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px var(--gutter); text-align: center; }
.notfound-logo { width: 220px; height: auto; margin-bottom: 16px; }
.notfound h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.5rem); }
.notfound p { color: var(--muted); }
.cta-row.center { justify-content: center; flex-direction: row; margin-top: 8px; }
