/* Kadir Uludağ · kadiruludag.com
   shadcn/ui esintili tasarım sistemi, çoklu sayfa yapısı */

:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --border: 240 5.9% 90%;
  --primary: 240 5.9% 10%;
  --primary-foreground: 0 0% 98%;
  --radius: 0.75rem;
  color-scheme: light;
}

.dark {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 5.5%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --accent: 240 3.7% 15.9%;
  --border: 240 3.7% 15.9%;
  --primary: 0 0% 98%;
  --primary-foreground: 240 5.9% 10%;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: hsl(var(--foreground)); color: hsl(var(--background)); }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul { margin: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.mono { font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace; }
.muted { color: hsl(var(--muted-foreground)); }

/* ------- ikonlar ------- */
.lucide { width: 18px; height: 18px; flex: none; stroke-width: 1.8; }
.x-logo { width: 17px; height: 17px; flex: none; fill: currentColor; }
.btn .lucide, .btn .x-logo { width: 16px; height: 16px; }

/* ------- üst bar ------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.92rem; }
.brand img { width: 26px; height: 26px; border-radius: 999px; border: 1px solid hsl(var(--border)); }

nav.links { display: flex; align-items: center; gap: 1.6rem; }

.nav-link, details.menu > summary {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  display: inline-flex; align-items: center; gap: 0.3rem;
  cursor: pointer; list-style: none; transition: color 0.15s;
}
.nav-link:hover, details.menu > summary:hover, details.menu[open] > summary { color: hsl(var(--foreground)); }
.nav-link.active { color: hsl(var(--foreground)); font-weight: 500; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary .lucide { width: 14px; height: 14px; transition: transform 0.15s; }
details.menu[open] > summary .lucide { transform: rotate(180deg); }
details.menu { position: relative; }

/* masaüstünde fare ile üzerine gelince menü açılsın (tıklamaya ek kolaylık) */
@media (min-width: 901px) {
  details.menu:not([open]):hover > .menu-panel,
  details.menu:not([open]):focus-within > .menu-panel { display: block; }
}

.menu-panel {
  position: absolute; top: calc(100% + 0.8rem); left: 50%; transform: translateX(-50%);
  width: 21rem; padding: 0.4rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 0.8rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.12);
}
/* fare ile açılan menüde, imleç boşluğu geçerken menü kapanmasın diye görünmez köprü */
.menu-panel::before {
  content: ""; position: absolute; top: -0.8rem; left: 0; right: 0; height: 0.8rem;
}
.menu-panel a { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0.6rem; border-radius: 0.55rem; }
.menu-panel a:hover { background: hsl(var(--accent)); }
.menu-panel a.active { background: hsl(var(--accent)); }
.menu-panel .lucide { margin-top: 0.15rem; color: hsl(var(--muted-foreground)); }
.menu-panel b { display: block; font-size: 0.85rem; font-weight: 500; }
.menu-panel small { display: block; font-size: 0.76rem; color: hsl(var(--muted-foreground)); line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid hsl(var(--border)); border-radius: 0.65rem;
  background: hsl(var(--background)); color: hsl(var(--foreground)); cursor: pointer;
}
.icon-btn:hover { background: hsl(var(--accent)); }
.menu-toggle { display: none; }

/* ------- butonlar ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  height: 2.5rem; padding: 0 1.1rem; border-radius: 0.65rem;
  font-size: 0.9rem; font-weight: 500; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: background 0.15s, opacity 0.15s;
}
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { opacity: 0.88; }
.btn-outline { border-color: hsl(var(--border)); background: transparent; color: hsl(var(--foreground)); }
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-sm { height: 2.15rem; padding: 0 0.9rem; font-size: 0.84rem; }

/* ------- dosya başlığı (hero) ------- */
.dossier-meta {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.hero { padding: 3.5rem 0 2.5rem; }

.profile { display: flex; align-items: center; gap: 1.1rem; margin: 1.4rem 0 0.4rem; }
.avatar-lg { width: 84px; height: 84px; border-radius: 999px; border: 1px solid hsl(var(--border)); }

.profile h1 { font-size: 2.5rem; letter-spacing: -0.03em; line-height: 1.1; font-weight: 650; }
.profile .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.5rem; font-size: 0.9rem; color: hsl(var(--muted-foreground)); }
.handle-link { color: hsl(var(--foreground)); font-weight: 500; display: inline-flex; align-items: center; gap: 0.3rem; }
.handle-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero-lead { margin-top: 1.1rem; font-size: 1.12rem; max-width: 40rem; color: hsl(var(--foreground)); }
.hero-lead .dim { color: hsl(var(--muted-foreground)); }

.stats-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.stat {
  display: flex; flex-direction: column; gap: 0.05rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.7rem;
  padding: 0.55rem 0.9rem; background: hsl(var(--card));
}
.stat-num { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.stat-label { font-size: 0.72rem; color: hsl(var(--muted-foreground)); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }

.img-band { margin: 2.6rem 0 0; border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; }
.img-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* ------- bölümler ------- */
.section { padding: 4.2rem 0 0.6rem; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.section-head { margin-top: 0.7rem; max-width: 44rem; }
.section-head h2 { font-size: 1.72rem; letter-spacing: -0.02em; font-weight: 650; }
.section-head .section-sub { margin-top: 0.5rem; color: hsl(var(--muted-foreground)); font-size: 0.98rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-2, .grid-3, .grid-4 { margin-top: 1.8rem; }

/* ------- hizmet kartları ------- */
.service-card {
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden;
  background: hsl(var(--card)); display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.service-card:hover { border-color: hsl(var(--muted-foreground)); transform: translateY(-2px); }
.service-card .card-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 1px solid hsl(var(--border)); }
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card-title-row { display: flex; align-items: center; gap: 0.6rem; }
.icon-chip {
  width: 34px; height: 34px; border: 1px solid hsl(var(--border)); border-radius: 0.6rem;
  display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--muted)); flex: none;
}
.card-title-row h3 { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.card-body > p { font-size: 0.86rem; color: hsl(var(--muted-foreground)); }
.mini { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-size: 0.83rem; color: hsl(var(--muted-foreground)); }
.mini li { display: flex; gap: 0.45rem; align-items: flex-start; }
.mini .lucide { width: 14px; height: 14px; margin-top: 0.22rem; }
.card-link {
  margin-top: auto; padding-top: 0.5rem; font-size: 0.85rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.35rem; color: hsl(var(--foreground));
}
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------- süreç adımları ------- */
.step { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.15rem 1.2rem; background: hsl(var(--card)); }
.step-num { font-size: 1.5rem; color: hsl(var(--muted-foreground)); letter-spacing: -0.02em; }
.step h3 { font-size: 0.95rem; margin-top: 0.7rem; font-weight: 600; }
.step p { font-size: 0.84rem; color: hsl(var(--muted-foreground)); margin-top: 0.4rem; }

/* ------- işler ------- */
.work-card { position: relative; }
.work-card .cover { position: relative; }
.work-chip {
  position: absolute; top: 0.7rem; left: 0.7rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  background: hsl(var(--background) / 0.9); border: 1px solid hsl(var(--border));
  border-radius: 999px; padding: 0.18rem 0.6rem;
}
.cover-fallback {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: hsl(var(--muted)); border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}
.cover-fallback .lucide { width: 30px; height: 30px; }
.placeholder-card { border-style: dashed; }
.placeholder-card .card-body { justify-content: center; }

/* ------- araç seti ------- */
.stack-card { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.15rem 1.2rem; background: hsl(var(--card)); }
.stack-card h3 { font-size: 0.88rem; letter-spacing: 0.02em; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.chip {
  font-size: 0.78rem; border: 1px solid hsl(var(--border)); border-radius: 999px;
  padding: 0.28rem 0.7rem; color: hsl(var(--muted-foreground)); background: hsl(var(--background));
}

/* ------- bağlantılar ------- */
.links-list { border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; background: hsl(var(--card)); }
.link-row {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem;
  border-bottom: 1px solid hsl(var(--border)); transition: background 0.15s;
}
.link-row:last-child { border-bottom: 0; }
.link-row:hover { background: hsl(var(--accent)); }
.link-row .lucide, .link-row .x-logo { color: hsl(var(--foreground)); }
.link-row .who { flex: 1; min-width: 0; }
.link-row b { display: block; font-size: 0.9rem; font-weight: 550; }
.link-row small { display: block; color: hsl(var(--muted-foreground)); font-size: 0.78rem; }
.link-row .go { color: hsl(var(--muted-foreground)); }
.link-row:hover .go { color: hsl(var(--foreground)); }

/* ------- CTA ------- */
.cta-card {
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  background: hsl(var(--muted)); padding: 2.2rem 1.6rem; text-align: center;
}
.cta-card h2 { font-size: 1.55rem; letter-spacing: -0.02em; }
.cta-card p { color: hsl(var(--muted-foreground)); margin-top: 0.5rem; font-size: 0.95rem; }
.cta-card .hero-actions { justify-content: center; }

/* ------- sayfa başlığı (alt sayfalar) ------- */
.page-hero { padding: 3.2rem 0 0.5rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.2rem; align-items: center; }
.page-hero h1 { font-size: 2.2rem; letter-spacing: -0.03em; margin-top: 0.8rem; font-weight: 650; line-height: 1.15; }
.page-hero .lead { margin-top: 1rem; color: hsl(var(--muted-foreground)); font-size: 1.02rem; max-width: 34rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.page-hero-img { border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ------- kontrol listesi ------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.6rem; margin-top: 1.6rem; }
.check-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; }
.check-item .lucide { margin-top: 0.2rem; color: hsl(var(--foreground)); }

/* ------- SSS ------- */
.faq { margin-top: 1.6rem; display: grid; gap: 0.6rem; }
.faq details { border: 1px solid hsl(var(--border)); border-radius: 0.7rem; background: hsl(var(--card)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 0.95rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.9rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .lucide { transition: transform 0.15s; color: hsl(var(--muted-foreground)); }
.faq details[open] summary .lucide { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.1rem 1rem; font-size: 0.87rem; color: hsl(var(--muted-foreground)); }

/* ------- alt bilgi ------- */
.site-footer { margin-top: 5rem; border-top: 1px solid hsl(var(--border)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; padding: 2.4rem 0 1.6rem; }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); font-weight: 500; margin: 0 0 0.8rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; font-size: 0.86rem; }
.footer-grid ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { font-size: 0.86rem; color: hsl(var(--muted-foreground)); margin-top: 0.7rem; max-width: 20rem; }
.footer-bottom {
  border-top: 1px solid hsl(var(--border)); padding: 1rem 0 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  font-size: 0.78rem; color: hsl(var(--muted-foreground));
}
.footer-bottom .brand img { width: 22px; height: 22px; }

/* ------- duyarlı ------- */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  nav.links {
    position: absolute; top: 3.75rem; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: hsl(var(--background)); border-bottom: 1px solid hsl(var(--border));
    padding: 0.8rem 1.5rem 1.1rem;
  }
  body.nav-open nav.links { display: flex; }
  .nav-link, details.menu > summary { padding: 0.65rem 0; font-size: 0.95rem; }
  details.menu { position: static; }
  .menu-panel { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0.2rem 0 0.4rem 0.4rem; background: transparent; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { grid-template-columns: 1fr; padding-top: 2.4rem; }
  .page-hero-img { order: -1; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .profile { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .profile h1 { font-size: 2rem; }
  .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { padding-top: 2.4rem; }
}


/* ------- logo şeridi, platform ve rozet bilesenleri (Eylul 2026) ------- */
.logo-strip { padding: 2.7rem 0 0; }
.logo-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.logo-tile {
  display: inline-flex; align-items: center; gap: 0.65rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.9rem;
  background: hsl(var(--card)); padding: 0.55rem 1rem 0.55rem 0.6rem;
  font-weight: 600; font-size: 0.92rem; transition: border-color 0.15s;
}
a.logo-tile:hover { border-color: hsl(var(--muted-foreground)); }
.logo-tile img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid hsl(var(--border)); }
.strip-note { margin-top: 0.9rem; font-size: 0.86rem; color: hsl(var(--muted-foreground)); }

.card-img.logo-band {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: hsl(var(--muted)); border-bottom: 1px solid hsl(var(--border));
}
.card-img.logo-band img { width: 58px; height: 58px; border-radius: 14px; border: 1px solid hsl(var(--border)); }

.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.8rem; }
.platform-card {
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card));
  padding: 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; transition: border-color 0.15s;
}
.platform-card:hover { border-color: hsl(var(--muted-foreground)); }
.platform-card img { width: 46px; height: 46px; border-radius: 12px; border: 1px solid hsl(var(--border)); }
.platform-card h3 { font-size: 0.95rem; font-weight: 600; }
.platform-card p { font-size: 0.84rem; color: hsl(var(--muted-foreground)); }

.action-card { border-style: dashed; }
.action-card .card-body { justify-content: center; }

.faq-body a { text-decoration: underline; text-underline-offset: 3px; }

.service-card:hover { box-shadow: 0 10px 30px rgb(0 0 0 / 0.08); }
.dark .service-card:hover { box-shadow: 0 10px 30px rgb(0 0 0 / 0.5); }

.btn:focus-visible, .icon-btn:focus-visible, .nav-link:focus-visible,
details.menu > summary:focus-visible, .service-card:focus-visible,
.link-row:focus-visible, .logo-tile:focus-visible, .card-link:focus-visible {
  outline: 2px solid hsl(var(--foreground)); outline-offset: 2px;
}

@media (max-width: 900px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .platform-grid { grid-template-columns: 1fr; } .card-img.logo-band img { width: 44px; height: 44px; } }
