:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-muted: #f5f5f4;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #0d7a5f;
  --accent-hover: #0a634d;
  --accent-soft: rgba(13, 122, 95, 0.08);
  --accent-soft-strong: rgba(13, 122, 95, 0.18);
  --line: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1120px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0b0d0c;
  --surface: #14181a;
  --surface-muted: #1b1f22;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #22c8a0;
  --accent-hover: #2adfb1;
  --accent-soft: rgba(34, 200, 160, 0.12);
  --accent-soft-strong: rgba(34, 200, 160, 0.28);
  --line: #2a2f33;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(34, 200, 160, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(34, 200, 160, 0.05), transparent 60%),
    var(--bg);
}

html[data-theme="dark"] .brand-logo,
html[data-theme="dark"] .footer .brand-logo,
html[data-theme="dark"] .nav .brand-logo {
  filter: brightness(0) invert(1) contrast(1.03);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  mix-blend-mode: normal;
}

html[data-theme="dark"] .logo-track img {
  filter: none;
  mix-blend-mode: normal;
}

html[data-theme="dark"] .logo-track img[src*="okse-logo-clean"] {
  filter: brightness(0) invert(1) contrast(1.03);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 100;
}

.logo-brand a {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 56px;
  width: auto;
}

.nav .brand-logo {
  height: 52px;
}

.footer-brand {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.footer .brand-logo {
  height: 52px;
  width: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-brand {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pill.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pill.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.pill.ghost {
  background: transparent;
}

.pill.large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: inline-block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: inline-block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 32px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  width: 100%;
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logo-slide 28s linear infinite;
}

.logo-track img {
  height: 110px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

@keyframes logo-slide {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.muted {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--accent-soft-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.grid {
  display: grid;
  gap: 24px;
}

.works-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.work-card h3 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.work-card p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.work-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.work-icon svg {
  width: 24px;
  height: 24px;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Projects */
.activities-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Enhanced Projects Section */
.projects-section {
  position: relative;
  padding: 96px 24px;
  background:
    radial-gradient(ellipse at top left, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, color-mix(in srgb, var(--accent) 5%, transparent) 0%, transparent 50%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.projects-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 320px;
  color: var(--accent);
  pointer-events: none;
  opacity: 0.85;
}

.projects-deco svg { width: 100%; height: 100%; }
.projects-deco-left { left: 12px; }
.projects-deco-right { right: 12px; }

.section-head-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  position: relative;
}

.section-head-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.projects-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.project-tile {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.project-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.project-tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 16px 40px color-mix(in srgb, var(--text) 8%, transparent);
}

.project-tile:hover::before { transform: scaleX(1); }

.project-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-tile-icon svg { width: 22px; height: 22px; }

.project-tile-logo {
  width: 100%;
  height: 96px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--text) 6%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.project-tile-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-tile-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 6px;
}

.project-tile-date {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.project-tile h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.project-tile > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}

.project-tile-outcome {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in srgb, var(--line) 80%, var(--accent));
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.project-tile-outcome-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 760px) {
  .projects-section { padding: 64px 16px; }
  .projects-deco { display: none; }
  .section-head-centered { margin-bottom: 36px; }
}

/* Empty States */
.projects-empty,
.page-empty {
  display: flex;
  justify-content: center;
  padding: 32px 16px 16px;
  position: relative;
  z-index: 1;
}

.page-empty {
  grid-column: 1 / -1;
}

.projects-empty[hidden] { display: none; }

.projects-empty-card,
.page-empty > * {
  text-align: center;
}

.projects-empty-card {
  max-width: 480px;
  padding: 48px 32px;
  background: var(--bg);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-empty {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 72px 24px;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 18px;
  background: var(--surface);
  max-width: 560px;
  margin: 16px auto;
}

.projects-empty-card svg,
.page-empty > svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 6px;
  opacity: 0.85;
}

.projects-empty-card h3,
.page-empty h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.projects-empty-card p,
.page-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 38ch;
}

.activity-card h3,
.project-card h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.activity-card p,
.project-card .project-content > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 16px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.activity-badge,
.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.activity-date,
.project-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.activity-outcome {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* About brief */
.about-brief {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.about-brief-text p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 16px;
}

.about-brief-cta {
  margin-top: 24px;
}

.about-stats-inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  min-width: 220px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-box .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */
.contact-section {
  padding: 72px 24px 88px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(145deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 88%, var(--accent) 12%) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  pointer-events: none;
}

.contact-intro {
  position: relative;
  z-index: 1;
}

.contact-intro h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.contact-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5f4a' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

[data-theme="dark"] .contact-benefits li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3b0' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-channel:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 8%, transparent);
}

.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}

.contact-channel-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-channel-value {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-channel-arrow {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-channel:hover .contact-channel-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-channel-accent {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}

.contact-channel-accent .contact-channel-icon {
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
}

.contact-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 14px 4px 0;
  border-top: 1px solid var(--line);
}

.contact-social-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

/* Footer */
.footer {
  padding: 48px 24px 64px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer > p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 86%, #052f25), var(--accent-hover));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.social-btn svg {
  display: block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.social-icon {
  width: 18px;
  height: 18px;
}

/* Contact section sosyal ikonlar */
.contact-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 86%, #052f25), var(--accent-hover));
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 16%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.contact-social-links a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 26%, transparent);
}

.contact-social-links svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-meta {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Page styles */
.page-content {
  padding-top: 24px;
}

.page-hero {
  text-align: center;
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.about-detail .about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.mv-card h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.mv-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.timeline-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.company-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.company-timeline::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.company-timeline .timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.timeline-year {
  flex: 0 0 72px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  font-size: 0.95rem;
}

.timeline-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.timeline-content h4 {
  margin: 0 0 6px;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Faaliyetler */
.filter-section {
  margin-bottom: 32px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.project-card:hover {
  border-color: var(--accent-soft-strong);
}

.project-card.hidden {
  display: none;
}

.project-image {
  height: 120px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder {
  font-size: 2rem;
  opacity: 0.5;
}

.project-content {
  padding: 24px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.project-status.completed {
  background: var(--accent-soft);
  color: var(--accent);
}

.project-status.ongoing {
  background: var(--surface-muted);
  color: var(--muted);
}

.project-outcome {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Raporlar */
.reports-section {
  margin-bottom: 56px;
}

.reports-section h2 {
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.report-card:hover {
  border-color: var(--accent-soft-strong);
}

.report-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.report-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.report-content p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 12px;
  line-height: 1.5;
}

.report-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.report-download {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.report-download:hover {
  background: var(--accent-hover);
}

.upload-section {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.upload-section h2 {
  margin-bottom: 8px;
}

.upload-section > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.upload-area {
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 480px;
  margin: 0 auto;
}

.upload-area p {
  color: var(--muted);
  margin-bottom: 16px;
}

.upload-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
}

.upload-btn:hover {
  background: var(--accent-hover);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0 56px;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .about-brief {
    grid-template-columns: 1fr;
  }

  .about-detail .about-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .nav {
    padding: 12px 20px;
    gap: 16px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .pill {
    padding: 11px 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: nowrap;
    border-radius: var(--radius);
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    padding: 6px 2px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 32px;
  }

  .contact-channel-value {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .company-timeline::before {
    left: 56px;
  }

  .timeline-year {
    flex: 0 0 56px;
  }
}

/* === Mobil iyileştirmeleri === */

/* Hamburger butonu: küçük ekranlarda görünür */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

/* Yatay scroll önleme */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Tablet (<= 880px): hamburger devreye girer */
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav {
    flex-wrap: nowrap;
    padding: 10px 14px;
    gap: 10px;
    top: 12px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .pill {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    margin: 0;
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    z-index: 200;
  }

  .nav.nav-open .nav-links {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--accent-soft);
  }
}

/* Telefon (<= 640px) */
@media (max-width: 640px) {
  .site-shell {
    padding: 16px;
  }

  .nav .brand-logo {
    height: 42px;
  }

  .hero {
    padding: 24px 0 32px;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin: 12px 0 14px;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .hero-actions { gap: 10px; }

  .hero-actions .pill {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .hero-visual {
    min-height: 180px;
  }

  .logo-track img {
    height: 72px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(1.5rem, 5.6vw, 1.9rem);
  }

  .section-lede {
    font-size: 0.98rem;
  }

  .card { padding: 22px; }

  .works-grid,
  .activities-grid,
  .projects-grid,
  .projects-grid-enhanced,
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-section {
    padding: 56px 16px;
  }

  .contact-section {
    padding: 48px 16px 64px;
  }

  .contact-wrap {
    padding: 24px 18px;
    gap: 26px;
  }

  .contact-intro h2 {
    font-size: clamp(1.5rem, 5.6vw, 1.9rem);
  }

  .contact-channel {
    padding: 14px 14px;
    gap: 12px;
  }

  .contact-channel-icon {
    width: 40px;
    height: 40px;
  }

  .contact-channel-value {
    font-size: 0.95rem;
  }

  .contact-social-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-stats,
  .about-stats-inline {
    grid-template-columns: 1fr 1fr;
  }

  .about-detail .about-grid {
    gap: 28px;
    margin-bottom: 40px;
  }

  .page-hero {
    padding: 32px 0 40px;
    margin-bottom: 32px;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .company-timeline::before {
    left: 24px;
  }

  .company-timeline .timeline-item {
    gap: 16px;
    margin-bottom: 24px;
  }

  .timeline-year {
    flex: 0 0 40px;
    font-size: 0.85rem;
  }

  .timeline-content {
    padding: 16px 18px;
  }

  .filter-buttons {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .footer {
    padding: 36px 16px 48px;
  }

  .footer-links {
    gap: 14px;
  }

  /* Touch target minimum */
  .pill,
  .nav-links a,
  .filter-btn,
  .theme-toggle,
  .social-btn,
  .contact-channel,
  .contact-social-links a {
    min-height: 44px;
  }

  .pill {
    padding: 12px 22px;
  }
}

/* Küçük telefon (<= 380px) */
@media (max-width: 380px) {
  .site-shell { padding: 12px; }

  .nav { padding: 8px 12px; }

  .nav .brand-logo { height: 38px; }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .pill {
    width: 100%;
  }

  .about-stats,
  .about-stats-inline {
    grid-template-columns: 1fr;
  }
}

/* Yatay (landscape) telefon: kısa yüksekliklerde hero küçülsün */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding: 24px 0;
  }

  .hero-visual {
    min-height: 140px;
  }

  .logo-track img {
    height: 64px;
  }
}
