/* =============================================
   Özlem Elektrik — Industrial Integrity
   Stitch / Google Labs design tokens → vanilla CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* ── 1. TOKENS ── */
:root {
  /* Color (Stitch Industrial Integrity) */
  --primary:                  #00365f;
  --on-primary:               #ffffff;
  --primary-container:        #004d85;
  --on-primary-container:     #8ab8d8;

  --secondary-fixed:          #f5b57e;
  --secondary-fixed-dim:      #d46a0a;
  --secondary-container:      #ef7911;
  --on-secondary-fixed:       #2a1500;

  --surface:                  #f8f9fb;
  --surface-container-lowest: #ffffff;
  --surface-container-low:    #f2f4f6;
  --surface-container:        #edeef0;
  --surface-container-high:   #e7e8ea;
  --surface-variant:          #e1e2e4;
  --surface-tint:             #455f87;

  --on-surface:               #191c1e;
  --on-surface-variant:       #43474e;
  --outline:                  #74777f;
  --outline-variant:          #c4c6cf;

  --tertiary-on:              #08bb56;
  --error:                    #ba1a1a;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-h1:    48px;
  --fs-h2:    36px;
  --fs-h3:    24px;
  --fs-body-lg: 18px;
  --fs-body:  16px;
  --fs-label: 12px;

  /* Spacing */
  --xs:  4px;
  --sm:  8px;
  --md:  16px;
  --lg:  24px;
  --xl:  48px;
  --xxl: 96px;

  --container: 1280px;
  --gutter:    24px;

  /* Radius */
  --r-sm:    0.25rem;  /* 4px */
  --r:       0.5rem;   /* 8px */
  --r-md:    0.75rem;  /* 12px */
  --r-lg:    1rem;     /* 16px */
  --r-xl:    1.5rem;   /* 24px */
  --r-pill:  9999px;

  /* Shadows: ambient navy tint */
  --sh-sm:  0 4px 8px  rgba(15,30,48,.06);
  --sh-md:  0 8px 12px rgba(15,30,48,.08);
  --sh-lg:  0 12px 24px rgba(15,30,48,.12);
  --sh-xl:  0 16px 32px rgba(15,30,48,.18);

  --header-h: 90px;
  --topbar-h: 36px;
}

/* ── 2. BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: transparent; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
main { display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── 3. TYPOGRAPHY UTILS ── */
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.6; }
.body { font-size: var(--fs-body); line-height: 1.6; }
.label-accent {
  display: inline-block;
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--secondary-fixed-dim);
}

@media (max-width: 768px) {
  :root { --fs-h1: 36px; --fs-h2: 28px; --fs-h3: 20px; --fs-body-lg: 17px; --xxl: 56px; --xl: 32px; }
}

/* ── Hero: mobilede ortala ── */
@media (max-width: 1023px) {
  .hero-grid { padding: 56px 0; }
  .hero-text { text-align: center; }
  .hero-text p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .label-accent { display: inline-block; }
}

/* ── 4. ICONS ── */
.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1;
  display: inline-block; vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}
.icon-sm { font-size: 18px; }
.icon-lg { font-size: 32px; }

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-size: 15px; font-weight: 700;
  border-radius: var(--r);
  white-space: nowrap;
  transition: transform .15s, background-color .2s, box-shadow .2s, color .2s, border-color .2s;
  text-decoration: none;
  border: 0; cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-cta {
  background: var(--secondary-container);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(15,30,48,.18);
}
.btn-cta:hover { background: var(--secondary-fixed-dim); transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-container); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ── 6. TOP BAR ── */
.topbar {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--topbar-h);
  color: rgba(255,255,255,.85);
}
.topbar a, .topbar span { color: inherit; transition: color .2s; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--secondary-fixed); }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 14px; align-items: center; }

/* ── 7. HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--primary-container);
  border-bottom: 4px solid var(--secondary-container);
  box-shadow: var(--sh-md);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  font-size: 22px; font-weight: 900;
  color: #fff; letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand span { color: var(--secondary-container); }
.brand-logo { height: 64px; width: auto; display: block; }
.footer-logo { height: 80px; }
.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: flex; align-items: center; gap: 28px; } }
.main-nav a {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 15px; font-weight: 600;
  padding: 8px 2px;
  transition: color .2s;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active {
  color: var(--secondary-container);
}
.main-nav a.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--secondary-container);
}
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh-xl);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 18px;
  color: var(--on-surface); font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: var(--surface-container-low); color: var(--primary); }
.nav-dropdown-menu a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-cta-header {
  display: inline-flex; align-items: center;
  background: var(--secondary-container); color: var(--primary);
  font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: var(--r);
  box-shadow: var(--sh-sm);
  transition: background .2s, transform .15s;
}
.btn-cta-header:hover { background: var(--secondary-fixed-dim); transform: translateY(-1px); }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1); color: #fff;
  border-radius: var(--r);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 4px 0 8px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { margin: 0; padding: 0; }
.mobile-nav ul li a {
  display: block; padding: 9px 16px;
  color: rgba(255,255,255,.9); font-weight: 600; font-size: 14px;
  line-height: 1.3;
}
.mobile-nav ul ul a { padding: 7px 16px 7px 28px; font-size: 13px; font-weight: 400; opacity: .8; }

/* ── 8. HERO (static, two-column) ── */
.hero {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: .8;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--xl); align-items: center;
  padding: 44px 0;
  position: relative; z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding: 72px 0; }
}
.hero-text > * + * { margin-top: 24px; }
.hero-text h1 { color: #fff; }
.hero-text p {
  color: var(--on-primary-container);
  font-size: var(--fs-body-lg); line-height: 1.6;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.hero-image {
  position: relative;
  height: 500px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.05);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  display: none;
}
@media (min-width: 1024px) { .hero-image { display: block; } }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-fallback {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(2,36,72,.6), rgba(30,58,95,.4)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><rect width='200' height='200' fill='%231e3a5f'/><g fill='%23fdbf13' opacity='.9'><polygon points='100,30 80,100 95,100 75,170 130,90 105,90'/></g></svg>") center/40% no-repeat #1e3a5f;
}

/* ── 9. STATS STRIP ── */
.stats-strip {
  background: var(--primary);
  padding: 28px 0;
  position: relative;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  position: relative; z-index: 1;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  padding: 32px 20px;
  text-align: center;
  position: relative;
}
.stat-card + .stat-card::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%;
  width: 1px; background: rgba(255,255,255,.15);
}
@media (max-width: 767px) {
  .stat-card:nth-child(3)::before { display: none; }
}
.stat-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 32px; color: var(--secondary-container);
  display: block; margin-bottom: 12px;
  font-weight: normal; font-style: normal; line-height: 1;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 32;
}
.stat-num {
  font-size: clamp(28px, 5vw, var(--fs-h2)); font-weight: 800;
  color: #fff; line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* ── 10. SECTIONS ── */
.section { padding: 80px 0; background: var(--surface); }
@media (min-width: 1024px) { .section { padding: 100px 0; } }
.stats-strip + .section { padding-top: 56px; }
@media (min-width: 1024px) { .stats-strip + .section { padding-top: 72px; } }
.section-soft { background: var(--surface-container-low); }
.section-dark { background: var(--primary); color: #fff; }

.section-head { margin-bottom: var(--xl); }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head h2 { color: var(--primary); margin-top: 4px; }
.section-dark .section-head h2 { color: #fff; }
.section-sub {
  margin-top: var(--md);
  color: var(--on-surface-variant);
  font-size: var(--fs-body-lg); line-height: 1.6;
}
.section-dark .section-sub { color: var(--on-primary-container); }
.section-head .label-accent { color: var(--secondary-fixed-dim); }
.section-dark .section-head .label-accent { color: var(--secondary-fixed); }

.section-head-row {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; flex-wrap: wrap;
}
.section-link {
  color: var(--secondary-fixed);
  font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.section-dark .section-link:hover { color: #fff; }
.section .section-link { color: var(--primary); }
.section .section-link:hover { color: var(--primary-container); }

/* ── 11. SERVICE CARDS ── */
.service-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--lg);
}
@media (min-width: 700px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--surface-container-lowest);
  padding: 32px 28px;
  border-radius: var(--r);
  box-shadow: var(--sh-md);
  border-top: 4px solid var(--primary);
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.service-card-img {
  width: calc(100% + 56px);
  margin: -32px -28px 24px;
  aspect-ratio: 16/10;
  background: var(--primary-container);
  overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-wide-img {
  width: calc(100% + 56px);
  aspect-ratio: 16/6;
  background: var(--primary-container);
  margin: -32px -28px 0;
  overflow: hidden;
}
.service-card-wide-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.service-card-wide:hover .service-card-wide-img img { transform: scale(1.04); }
.service-card:nth-child(even) { border-top-color: var(--secondary-container); }
.service-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--primary-container); color: var(--secondary-container);
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--md);
  transition: background .2s;
}
.service-card:hover .service-icon { background: var(--primary); }
.service-card h3 { color: var(--primary); margin-bottom: 8px; }
.service-card p { color: var(--on-surface-variant); flex: 1; }
.service-card-link {
  margin-top: 18px;
  color: var(--primary); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.service-card-link:hover { gap: 8px; }

/* Wider service card variant */
.service-card-wide {
  grid-column: span 1;
}
@media (min-width: 1024px) { .service-card-wide { grid-column: span 2; } }
.service-card-wide-inner {
  display: flex; flex-direction: column; gap: 16px;
}
/* Wide card row layout configured above via .service-card-wide-img media query */

/* ── 12. PROJECT CARDS (dark section variant) ── */
.project-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--lg);
}
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  background: var(--primary-container);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.project-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); }

.project-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-image img { transform: scale(1.06); }
.project-image-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, var(--primary-container), var(--primary));
  color: var(--secondary-container);
}
.project-image-fallback .icon { font-size: 56px; }

.project-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-sm);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.project-badge.ges { background: var(--secondary-container); color: var(--primary); }
.project-badge.trafo { background: var(--surface-tint); color: #fff; }

.project-body { padding: 22px 20px; }
.project-body h3 { color: #fff; margin-bottom: 10px; }
.project-meta {
  display: flex; flex-direction: column; gap: 6px;
  color: var(--on-primary-container); font-size: 14px;
}
.project-meta li { display: inline-flex; align-items: center; gap: 8px; }
.project-meta .icon { font-size: 16px; color: var(--secondary-fixed); }

/* light variant for /projeler page */
.project-card-light {
  background: #fff; color: var(--on-surface);
  border: 1px solid var(--surface-variant);
  box-shadow: var(--sh-md);
}
.project-card-light .project-body h3 { color: var(--primary); }
.project-card-light .project-meta { color: var(--on-surface-variant); }
.project-card-light .project-meta .icon { color: var(--primary); }

/* ── 13. PROJECTS PAGE FILTER ── */
.filter-bar { display: flex; justify-content: center; margin-bottom: 40px; }
.filter-group {
  display: inline-flex;
  background: var(--surface-container-high);
  border-radius: var(--r);
  padding: 4px; box-shadow: var(--sh-sm);
}
.filter-btn {
  padding: 10px 22px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  color: var(--on-surface-variant);
  transition: background .2s, color .2s, box-shadow .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: #fff; color: var(--primary); box-shadow: var(--sh-sm);
}

/* ── 14. PAGE HEADER (sub-pages) ── */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; text-align: center; }
.page-header h1 { color: #fff; margin-bottom: 16px; }
.page-header .lead { color: var(--on-primary-container); font-size: var(--fs-body-lg); max-width: 720px; margin: 0 auto; }

.breadcrumb-bar {
  background: var(--surface-container-low);
  border-bottom: 1px solid var(--surface-variant);
  padding: 10px 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--outline); margin: 0;
}
.breadcrumb a { color: var(--primary); transition: color .2s; }
.breadcrumb a:hover { color: var(--secondary-container); }
.breadcrumb .sep { color: var(--outline-variant); }
.breadcrumb span:last-child { color: var(--on-surface); }

/* ── Blog post: inline author meta in header ── */
.post-meta-author { display: flex; align-items: center; gap: 10px; margin-top: 12px; justify-content: center; }
.post-meta-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-meta-avatar-fallback { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-meta-name { display: block; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.95); line-height: 1.2; }
.post-meta-date { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 1px; }

/* ── Blog post: author card at bottom ── */
.author-card { margin-top: 48px; border: 1px solid var(--surface-variant); border-radius: var(--r-lg); overflow: hidden; }
.author-card-heading { padding: 10px 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--outline); border-bottom: 1px solid var(--surface-variant); background: var(--surface-container-low); }
.author-card-body { display: flex; gap: 20px; align-items: flex-start; padding: 20px; }
.author-card-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card-avatar-fallback { width: 80px; height: 80px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-card-name { font-size: 17px; font-weight: 700; color: var(--on-surface); margin-bottom: 4px; }
.author-card-bio { font-size: 13px; color: var(--on-surface-variant); margin: 4px 0 6px; }
.author-card-title { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.author-card-link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.author-card-link:hover { color: var(--secondary-container); }

/* ── FAQ Accordion ── */
.faq-container { max-width: 800px; }
.faq-head-row { display: flex; align-items: center; gap: 14px; justify-content: center; }
.faq-count-badge {
  display: inline-flex; align-items: center;
  background: var(--secondary-container); color: #fff;
  font-size: 13px; font-weight: 700; padding: 3px 12px;
  border-radius: 100px; letter-spacing: .02em;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--surface-variant);
  border-left: 4px solid transparent;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:has([aria-expanded="true"]) {
  border-left-color: var(--secondary-container);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 20px 18px 18px;
  background: transparent; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--on-surface);
  text-align: left; line-height: 1.45;
  transition: color .15s;
}
.faq-trigger:hover { color: var(--secondary-container); }
.faq-item:has([aria-expanded="true"]) .faq-trigger { color: var(--secondary-container); }
.faq-icon {
  font-family: 'Material Symbols Outlined'; font-size: 22px; flex-shrink: 0;
  color: var(--secondary-container); font-style: normal; font-weight: normal;
  transition: transform .2s;
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-body { border-top: 1px solid var(--surface-variant); }
.faq-answer { padding: 16px 20px 18px 18px; font-size: 14.5px; color: var(--on-surface-variant); line-height: 1.75; }

/* ── TRUST STRIP (homepage — certificates / authorizations) ── */
.trust-strip {
  padding: var(--xl) 0;
  background: var(--surface-container-low);
  border-top: 1px solid var(--surface-variant);
  border-bottom: 1px solid var(--surface-variant);
}
.trust-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  max-width: 920px; margin: 0 auto;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-variant);
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
  color: var(--primary);
  transition: border-color .2s, transform .2s;
}
.trust-pill:hover { border-color: var(--secondary-container); transform: translateY(-1px); }
.trust-pill .icon { color: var(--secondary-container); font-size: 18px; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.cert-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-variant);
  border-radius: var(--r-sm);
  padding: 24px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cert-card:hover { border-color: var(--secondary-container); transform: translateY(-2px); box-shadow: var(--sh-md); }
.cert-card img { max-height: 90px; width: auto; margin: 0 auto 14px; display: block; }
.cert-icon {
  width: 60px; height: 60px;
  background: rgba(239,121,17,.1); color: var(--secondary-container);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cert-icon .icon { font-size: 32px; }
.cert-card h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cert-card p { font-size: 12px; color: var(--on-surface-variant); }

/* ── 15. SERVICE LIST (hizmetler page — image-left, text-right) ── */
.service-list { display: flex; flex-direction: column; gap: var(--lg); }
.service-row {
  display: grid; grid-template-columns: 1fr;
  background: #fff;
  border-radius: var(--r);
  border-top: 4px solid var(--primary);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.service-row:nth-child(even) { border-top-color: var(--secondary-container); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: 320px 1fr; }
}
.service-row-img {
  background: var(--surface-container-low);
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-container);
  position: relative; overflow: hidden;
  border-right: 1px solid var(--surface-variant);
}
.service-row-img.has-img {
  background: var(--primary-container);
  border-right: none;
}
.service-row-img .icon { font-size: 120px; opacity: 0.92; }
.service-row-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .service-row-img { border-right: none; border-bottom: 1px solid var(--surface-variant); }
  .service-row-img.has-img { border-bottom: none; }
}
.service-row-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.service-row-body h3 { color: var(--primary); }
.service-row-body p { color: var(--on-surface-variant); }
.service-row-body .btn { align-self: flex-start; }

/* ── 16. SERVICE DETAIL ── */
.service-detail-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--xl);
}
@media (min-width: 1024px) { .service-detail-grid { grid-template-columns: 1fr 320px; } }

.service-detail-hero {
  height: 360px; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); margin-bottom: var(--xl);
  background: var(--primary-container);
  position: relative;
}
.service-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-hero-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--secondary-container); font-size: 96px;
}

.features-card {
  background: #fff; border-radius: var(--r);
  padding: 28px; box-shadow: var(--sh-md);
  border-top: 4px solid var(--primary);
  margin-top: var(--xl);
}
.features-card h3 { color: var(--primary); margin-bottom: 18px; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .features-grid { grid-template-columns: 1fr 1fr; } }
.feature-item { display: flex; gap: 10px; }
.feature-check { color: var(--secondary-container); flex-shrink: 0; margin-top: 1px; }
.feature-item strong { display: block; color: var(--on-surface); font-size: 15px; margin-bottom: 2px; }
.feature-item span { color: var(--on-surface-variant); font-size: 14px; }

.sub-services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 16px;
}
.sub-service-card {
  background: #fff; border-radius: var(--r);
  padding: 18px 16px; box-shadow: var(--sh-md);
  border-top: 4px solid var(--secondary-container);
  text-align: center;
  transition: transform .2s;
}
.sub-service-card:hover { transform: translateY(-2px); }
.sub-service-card .icon { font-size: 28px; color: var(--primary); margin-bottom: 6px; display: block; margin-inline: auto; }
.sub-service-card h4 { color: var(--primary); font-size: 14px; margin-bottom: 4px; }
.sub-service-card p { color: var(--on-surface-variant); font-size: 13px; line-height: 1.4; }

.sidebar-cta {
  background: var(--secondary-container);
  border-radius: var(--r);
  padding: 24px; margin-bottom: var(--lg);
  box-shadow: var(--sh-md);
}
.sidebar-cta h3 { color: var(--primary); margin-bottom: 8px; font-size: 20px; }
.sidebar-cta p { color: var(--on-secondary-fixed); font-size: 14px; margin-bottom: 16px; }
.sidebar-cta-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  margin-bottom: 8px;
}
.sidebar-cta-item .icon { font-size: 18px; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-top: 4px; }

.sidebar-related h3 {
  color: var(--primary); font-size: 16px;
  border-bottom: 1px solid var(--outline-variant);
  padding-bottom: 8px; margin-bottom: 16px;
}
.related-thumb {
  display: flex; gap: 12px;
  border-radius: var(--r); overflow: hidden;
  background: #fff; box-shadow: var(--sh-sm);
  margin-bottom: 12px;
  transition: transform .2s, box-shadow .2s;
}
.related-thumb:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.related-thumb-img {
  width: 90px; flex-shrink: 0;
  background: var(--primary-container);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-container);
}
.related-thumb-img .icon { font-size: 28px; }
.related-thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.related-thumb-body { padding: 10px 12px; flex: 1; min-width: 0; }
.related-thumb-body small {
  color: var(--secondary-fixed-dim); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 3px;
}
.related-thumb-body h4 { color: var(--primary); font-size: 14px; line-height: 1.3; }

/* ── 17. CONTACT PAGE ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; margin-bottom: var(--xl);
}
@media (min-width: 600px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: #fff; border-radius: var(--r);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--sh-md);
  border-top: 4px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
}
.contact-card:nth-child(2) { border-top-color: var(--primary); }
.contact-card:nth-child(3) { border-top-color: var(--secondary-container); }
.contact-card:nth-child(4) { border-top-color: #25D366; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.contact-card .contact-icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--md);
  background: var(--surface-container-low);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-card h3 { color: var(--on-surface); font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.5; }
.contact-card a { color: var(--primary); font-weight: 600; transition: color .2s; }
.contact-card a:hover { color: var(--secondary-fixed-dim); }

.contact-layout {
  display: grid; grid-template-columns: 1fr;
  gap: var(--lg);
}
@media (min-width: 880px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-form, .contact-map {
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-md);
}
.contact-form { padding: 28px; border: 1px solid var(--outline-variant); }
.contact-form h3 { color: var(--primary); margin-bottom: 20px; font-size: 22px; }
.contact-map { overflow: hidden; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map-placeholder {
  color: var(--on-surface-variant);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.contact-map-placeholder .icon { font-size: 48px; color: var(--outline); }

/* ── 18. FORMS ── */
.form-group { margin-bottom: var(--md); }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--on-surface);
}
.form-group label .req { color: var(--error); }
.form-group input,
.form-group textarea,
.form-group select {
  display: block; width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  background: #fff;
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  border-width: 2px;
  padding: 10px 13px;
  box-shadow: 0 0 0 3px rgba(2,36,72,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--md); margin-bottom: var(--md); }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--on-surface-variant);
  margin-bottom: var(--md);
}
.form-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--primary); }
.form-check a { color: var(--primary); font-weight: 600; }
.form-honeypot { position: absolute; left: -9999px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid #22c55e; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }

/* ── 19. PROSE ── */
.prose { max-width: 740px; font-size: 17px; line-height: 1.75; color: var(--on-surface-variant); }
.prose h2 { font-size: 26px; color: var(--primary); margin: 36px 0 12px; }
.prose h3 { font-size: 20px; color: var(--primary); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.prose strong { color: var(--primary); }

/* ── 20. CORPORATE TABS ── */
.tab-nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 2px solid var(--outline-variant);
  margin-bottom: 40px;
}
.tab-nav a {
  padding: 12px 22px;
  font-size: 14px; font-weight: 600;
  color: var(--on-surface-variant);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-nav a:hover { color: var(--primary); }
.tab-nav a.active { color: var(--primary); border-bottom-color: var(--secondary-container); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.cert-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-card {
  background: #fff; border-radius: var(--r);
  border-top: 4px solid var(--primary);
  padding: 22px;
  box-shadow: var(--sh-md);
}
.cert-card .icon { font-size: 36px; color: var(--secondary-container); margin-bottom: 12px; display: block; }
.cert-card h4 { color: var(--primary); font-size: 16px; margin-bottom: 6px; }
.cert-card p { color: var(--on-surface-variant); font-size: 13px; }

/* ── 21. BLOG ── */
.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--lg);
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-md);
  border-top: 4px solid var(--primary);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:nth-child(even) { border-top-color: var(--secondary-container); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.blog-card > a { display: flex; flex-direction: column; flex: 1; }
.blog-card-img {
  height: 200px;
  background: var(--surface-container-low);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--primary-container);
}
.blog-card-img .icon { font-size: 48px; opacity: .5; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex; gap: 12px;
  font-size: 12px; color: var(--outline);
  margin-bottom: 10px;
}
.blog-card-meta .cat {
  background: var(--surface-container);
  color: var(--primary);
  padding: 2px 10px; border-radius: var(--r-pill);
  font-weight: 600;
}
.blog-card-body h3 { color: var(--primary); font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.5; flex: 1; }
.blog-card-author {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--surface-variant);
  font-size: 13px;
}
.blog-card-author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--surface-container);
}
.blog-card-author-avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--outline);
}
.blog-card-author-avatar-fallback .icon { font-size: 18px; }
.blog-card-author-name { color: var(--on-surface-variant); font-weight: 500; }

/* ── 22. CTA BAND ── */
.cta-band {
  position: relative;
  background: var(--secondary-container) url('/images/cta-bg.png') center/cover no-repeat;
  padding: 80px 0; text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(239, 121, 17, 0.82);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--primary); margin-bottom: 14px; }
.cta-band p { color: var(--on-secondary-fixed); font-size: var(--fs-body-lg); max-width: 600px; margin: 0 auto 28px; }

/* ── 23. FOOTER ── */
.site-footer {
  background: #132b3d;
  color: rgba(255,255,255,.75);
  border-top: 8px solid var(--secondary-container);
}
.footer-main { padding: 64px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h4 {
  color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li, .footer-col ul li a {
  color: rgba(255,255,255,.7); font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, transform .2s;
}
.footer-col ul li a:hover { color: #fff; transform: translateX(2px); }

.footer-brand { display: block; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 44px; }
.footer-brand span { color: var(--secondary-container); }
.footer-about p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; max-width: 360px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--secondary-container); color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.5);
  text-align: center;
}
.footer-bottom-inner a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom-inner a:hover { color: rgba(255,255,255,.85); }

/* ── 24. WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
  z-index: 900;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { font-size: 28px; color: #fff; }

/* ── 25. COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120%);
  width: calc(100% - 40px); max-width: 720px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
  z-index: 9999;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .35s ease;
  display: none;
}
.cookie-banner.show { display: block; transform: translateX(-50%) translateY(0); }
.cookie-banner h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.cookie-banner p { color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.cookie-banner a { color: var(--secondary-fixed); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 26. EMPTY / 404 ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 48px; color: var(--outline); margin-bottom: 12px; display: block; }
.empty-state h3 { color: var(--primary); margin-bottom: 8px; }
.empty-state p { color: var(--on-surface-variant); margin-bottom: 20px; }

/* ── 27. SCROLL REVEAL (subtle) ── */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── 28. UTILITIES ── */
.text-center { text-align: center; }
.mt-md { margin-top: var(--md); }
.mt-lg { margin-top: var(--lg); }
.mt-xl { margin-top: var(--xl); }
.mb-md { margin-bottom: var(--md); }
.mb-lg { margin-bottom: var(--lg); }
.mb-xl { margin-bottom: var(--xl); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } .hide-desktop { display: none; } }
