/* =====================================================================
   BLR Yapı · Site stilleri
   Tema: turuncu / antrasit / beyaz · koyu ve açık mod
   ===================================================================== */

:root {
  --orange: #F07A28;
  --orange-2: #FF9A4A;
  --orange-dark: #D4661A;
  --orange-soft: rgba(240, 122, 40, .14);
  --orange-glow: rgba(240, 122, 40, .45);

  --bg: #F4F1EC;
  --bg-2: #ECE7E0;
  --surface: #FFFFFF;
  --surface-2: #F8F5F1;
  --surface-3: #EFEAE3;
  --ink: #1A1816;
  --ink-2: #4A4541;
  --muted: #7A736C;
  --line: rgba(26, 24, 22, .09);
  --line-2: rgba(26, 24, 22, .16);
  --shadow: 0 10px 30px rgba(40, 30, 20, .08), 0 2px 6px rgba(40, 30, 20, .05);
  --shadow-lg: 0 30px 70px rgba(40, 30, 20, .16);
  --dark-card: #1E1C1A;
  --dark-card-2: #2A2724;
  --on-dark: #F5F2EE;
  --on-dark-muted: #A9A29A;
  --ok: #27AE60; --warn: #F2C94C; --err: #EB5757; --info: #2F80ED;

  --r-xl: 28px; --r-lg: 22px; --r-md: 16px; --r-sm: 12px; --r-pill: 999px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #121110;
  --bg-2: #181614;
  --surface: #1E1C1A;
  --surface-2: #262321;
  --surface-3: #2F2B28;
  --ink: #F5F2EE;
  --ink-2: #D6D0C9;
  --muted: #9D958D;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
  --dark-card: #1A1816;
  --dark-card-2: #26231F;
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  transition: background .35s var(--ease), color .35s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }
section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Vurgu */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--dark-card); color: var(--on-dark); }
[data-theme="dark"] .btn-dark { background: var(--on-dark); color: var(--dark-card); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-white { background: #fff; color: #1A1816; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-icon { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
.btn i { font-size: 1.1em; }

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--dark-card); color: var(--on-dark-muted); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--orange-2); }
.topbar i { color: var(--orange); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav .container { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; color: #fff; font-size: 22px; box-shadow: 0 8px 20px var(--orange-glow); }
.brand img { height: 42px; width: auto; }
:root:not([data-theme="dark"]) .nav .brand img.logo-beyaz { filter: invert(1); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--orange); background: var(--orange-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); font-size: 18px; transition: .2s;
}
.theme-toggle:hover { border-color: var(--orange); color: var(--orange); transform: rotate(15deg); }
.theme-toggle .bi-sun-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun-fill { display: block; }
[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 22px; place-items: center; }
@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--surface); padding: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 18px; font-size: 16px; }
  .nav-burger { display: grid; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); margin: 10px 0 18px; }
.hero-title span { color: var(--orange); }
.hero-text { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); }
.play-btn .circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--orange); font-size: 20px; position: relative; box-shadow: var(--shadow);
}
.play-btn .circle::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); opacity: .5; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-visual { position: relative; }
.hero-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-card.orange { background: var(--orange); color: #fff; left: -28px; bottom: 56px; min-width: 200px; }
.hero-card.white { background: color-mix(in srgb, var(--surface) 90%, transparent); right: -20px; top: 40px; border: 1px solid var(--line); }
.hero-card strong { display: block; font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.hero-card small { font-size: 13px; opacity: .85; font-weight: 600; }
.hero-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 10px; background: rgba(255,255,255,.2); }
.hero-card.white .ico { background: var(--orange-soft); color: var(--orange); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(800px 500px at 90% 0%, var(--orange-soft), transparent 70%), radial-gradient(600px 400px at 0% 100%, var(--orange-soft), transparent 70%); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .hero-card.orange { left: 8px; bottom: 20px; }
  .hero-card.white { right: 8px; top: 20px; }
}

/* ---------- Kartlar ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card-dark { background: var(--dark-card); color: var(--on-dark); border-color: rgba(255,255,255,.06); }
.card-dark .muted { color: var(--on-dark-muted); }
.card-orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; border: 0; box-shadow: 0 20px 40px var(--orange-glow); }
.card-orange .muted { color: rgba(255,255,255,.8); }
.card-pad { padding: 28px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* İstatistik şeridi */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: center; box-shadow: var(--shadow);
}
.stat .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.stat strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat strong small { font-size: 18px; color: var(--orange); margin-left: 2px; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }
.stat.accent { background: var(--orange); border: 0; color: #fff; }
.stat.accent .ico { background: rgba(255,255,255,.2); color: #fff; }
.stat.accent span, .stat.accent strong small { color: rgba(255,255,255,.85); }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Hakkımızda bloğu */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--r-xl); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -16px; bottom: 36px; background: var(--dark-card); color: var(--on-dark); padding: 20px 24px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.about-badge strong { display: block; font-size: 38px; line-height: 1; color: var(--orange); font-weight: 800; }
.about-badge small { font-size: 13px; color: var(--on-dark-muted); font-weight: 600; }
.feature-list { display: grid; gap: 16px; margin: 28px 0; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.feature h4 { margin: 0 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-badge { right: 12px; } }

/* Hizmet kartları */
.service {
  padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; min-height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service .ico { width: 60px; height: 60px; border-radius: 18px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 28px; transition: .3s; }
.service:hover .ico { background: var(--orange); color: #fff; box-shadow: 0 10px 24px var(--orange-glow); }
.service h3 { font-size: 1.2rem; margin: 0; }
.service p { color: var(--muted); margin: 0; flex: 1; font-size: .96rem; }
.service .link { color: var(--orange); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.service .link i { transition: transform .2s; }
.service:hover .link i { transform: translateX(4px); }
.service-img { margin: -30px -30px 6px; aspect-ratio: 16/9; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-img img { transform: scale(1.06); }

/* Proje kartları */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); transition: .2s; font-family: inherit;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 8px 20px var(--orange-glow); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }
.project {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--dark-card); color: var(--on-dark);
  aspect-ratio: 4/3.4; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project:hover img { transform: scale(1.08); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,0) 30%, rgba(20,16,12,.55) 65%, rgba(20,16,12,.92) 100%); }
.project-body { position: relative; z-index: 1; padding: 22px; }
.project h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.project p { font-size: .9rem; color: rgba(255,255,255,.75); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); margin-top: 12px; }
.project .meta i { color: var(--orange-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--orange); color: #fff; }
.tag.soft { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.tag.ok { background: var(--ok); }
.tag.devam { background: var(--info); }
.project .tags { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; }
.project .arrow { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); display: grid; place-items: center; transition: .3s; }
.project:hover .arrow { background: var(--orange); transform: rotate(-45deg); }

/* Süreç adımları */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: adim; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: adim; content: "0" counter(adim); font-size: 48px; font-weight: 800; color: var(--orange-soft); position: absolute; top: 12px; right: 20px; line-height: 1; letter-spacing: -.04em; }
[data-theme="dark"] .step::before { color: rgba(240,122,40,.22); }
.step .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; box-shadow: 0 8px 18px var(--orange-glow); }
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Marka kayan şerit */
.marquee { overflow: hidden; position: relative; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 48px; width: auto; opacity: .7; filter: grayscale(1); transition: .3s; }
.marquee img:hover { opacity: 1; filter: none; }
[data-theme="dark"] .marquee img { filter: grayscale(1) brightness(1.6); }
[data-theme="dark"] .marquee img:hover { filter: brightness(1.2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Referanslar */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.testimonial .quote { font-size: 36px; color: var(--orange); line-height: 1; }
.testimonial p { margin: 0; flex: 1; color: var(--ink-2); }
.testimonial .who { display: flex; gap: 14px; align-items: center; }
.testimonial .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { display: block; font-size: 15px; }
.testimonial .who small { color: var(--muted); font-weight: 600; }
.stars { color: var(--warn); font-size: 13px; letter-spacing: 2px; }

/* CTA */
.cta {
  border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden;
  background: var(--dark-card); color: var(--on-dark); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: url('../../img/service.jpg') center/cover; opacity: .18; }
.cta::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--orange); filter: blur(120px); opacity: .45; right: -100px; top: -100px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); font-size: 1.05rem; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* Blog kartları */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post-img .date { position: absolute; left: 14px; bottom: 14px; background: var(--orange); color: #fff; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 800; text-align: center; line-height: 1.1; }
.post-img .date b { display: block; font-size: 20px; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body .cat { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-body h3 { font-size: 1.12rem; margin: 0; }
.post-body h3 a:hover { color: var(--orange); }
.post-body p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .more { color: var(--orange); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: var(--dark-card); color: var(--on-dark); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--ph-img, url('../../img/hero.jpg')) center/cover; opacity: .16; }
.page-head::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--orange); filter: blur(140px); opacity: .35; right: -140px; top: -200px; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head p { color: var(--on-dark-muted); max-width: 640px; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--on-dark-muted); font-weight: 600; margin-top: 18px; }
.crumbs a:hover { color: var(--orange-2); }
.crumbs i { font-size: 12px; }

/* ---------- Proje detayı ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); cursor: pointer; border: 2px solid transparent; opacity: .7; transition: .2s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--orange); }
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { border-left: 4px solid var(--orange); margin: 1.4em 0; padding: .6em 1.2em; background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.info-card { position: sticky; top: calc(var(--nav-h) + 20px); }
.info-list { display: grid; gap: 0; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list div:last-child { border: 0; }
.info-list span { color: var(--muted); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.info-list span i { color: var(--orange); }
.info-list strong { text-align: right; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,8,6,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lightbox button:hover { background: var(--orange); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: var(--r-pill); }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10,8,6,.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-box { width: min(960px, 100%); background: #000; border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.modal-box video { width: 100%; display: block; max-height: 80vh; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; }
.modal-close:hover { background: var(--orange); }

/* ---------- Formlar ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.input, .field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus, .input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.alert-ok { background: rgba(39,174,96,.12); color: #1e8449; border: 1px solid rgba(39,174,96,.3); }
.alert-err { background: rgba(235,87,87,.12); color: #c0392b; border: 1px solid rgba(235,87,87,.3); }
[data-theme="dark"] .alert-ok { color: #6fcf97; }
[data-theme="dark"] .alert-err { color: #ff8a80; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.contact-card h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card a:hover { color: var(--orange); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/8; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: var(--map-filter, none); }
[data-theme="dark"] .map iframe { --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* ---------- Footer ---------- */
footer { background: var(--dark-card); color: var(--on-dark-muted); margin-top: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--orange); filter: blur(180px); opacity: .14; left: -200px; bottom: -300px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 80px) 0 40px; position: relative; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
footer a:hover { color: var(--orange-2); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.footer-links a i { color: var(--orange); font-size: 12px; }
.footer-contact div { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact i { color: var(--orange); font-size: 18px; margin-top: 2px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; font-size: 18px; transition: .2s; }
.social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; }
.footer-bottom a { color: #fff; }
.admin-link { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; vertical-align: middle; margin-left: 8px; color: rgba(255,255,255,.55) !important; border: 1px solid rgba(255,255,255,.18); font-size: 15px; transition: .25s; }
.admin-link:hover { color: #fff !important; background: var(--orange); border-color: var(--orange); }
.topbar .admin-link { margin-left: 0; color: var(--on-dark-muted) !important; border-color: rgba(255,255,255,.12); width: 26px; height: 26px; font-size: 13px; }

/* Yüzen butonlar */
.fab-wa { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 30px rgba(37,211,102,.45); z-index: 90; transition: .3s; }
.fab-wa:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 28px; bottom: 94px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 10px 24px var(--orange-glow); z-index: 90; opacity: 0; pointer-events: none; transition: .3s; border: 0; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Site asistanı (chatbot) ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; font-family: var(--font); }
.chat-fab { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 24px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 30px var(--orange-glow); transition: transform .25s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab .bi-x-lg { display: none; }
.chat.open .chat-fab .bi-x-lg { display: block; }
.chat.open .chat-fab .bi-chat-dots-fill { display: none; }
.chat-fab-tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(10px); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); white-space: nowrap; opacity: 0; pointer-events: none; transition: .3s; border: 1px solid var(--line); }
.chat-fab.nudge .chat-fab-tip { opacity: 1; transform: translateY(-50%); }
.chat-fab.nudge { animation: chatNudge 1.2s 2; }
@keyframes chatNudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.chat-box { position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: chatIn .25s var(--ease); }
.chat-box[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--dark-card); color: var(--on-dark); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; display: inline-block; }
.chat-close { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); scrollbar-width: thin; }
.chat-msg { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-msg.bot { align-self: flex-start; }
.chat-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); color: var(--ink); word-break: break-word; }
.chat-msg.user .chat-bubble { background: var(--orange); color: #fff; border: 0; border-bottom-right-radius: 6px; }
.chat-msg.bot .chat-bubble { border-bottom-left-radius: 6px; }
.chat-wa { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: 13px; }
.chat-typing .chat-bubble { display: flex; gap: 4px; padding: 12px 14px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatDot 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 8px; background: var(--bg); }
.chat-chips:empty { display: none; }
.chat-chips button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: .2s; }
.chat-chips button:hover { border-color: var(--orange); color: var(--orange); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 14px; }
.chat-form input:focus { outline: none; border-color: var(--orange); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 16px; cursor: pointer; }
.chat-foot { font-size: 11.5px; color: var(--muted); text-align: center; padding: 6px 12px 10px; background: var(--surface); }
.chat-foot a { color: var(--orange); font-weight: 700; }
@media (max-width: 480px) { .chat { right: 14px; bottom: 16px; } .chat-box { right: -8px; } }
body.has-chat .to-top { bottom: 94px; }

/* Animasyon */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* Sayfalama */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; }
.pagination .active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }

/* Boş durum */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty i { font-size: 42px; color: var(--orange); display: block; margin-bottom: 10px; }

/* Kurucu bloğu */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 36px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.founder > img { border-radius: var(--r-lg); aspect-ratio: 3/3.6; object-fit: cover; width: 100%; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder > img { max-width: 280px; } }

/* Kartvizit */
.kartvizit { margin: 24px 0 0; max-width: 520px; }
.kartvizit a { display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); background: #fff; }
.kartvizit a:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.kartvizit img { width: 100%; display: block; }
.kartvizit figcaption { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 8px; display: flex; gap: 6px; align-items: center; }
.kartvizit figcaption i { color: var(--orange); }

/* Misyon / vizyon */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.mv .card-pad { display: flex; gap: 18px; }
.mv .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; background: rgba(255,255,255,.18); }
