/* ============================================
   Hedef Yapı A.Ş. – Kurumsal Tema
   Lacivert, kırmızı, beyaz – geometrik, modern
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1a2d4a;
  --navy-light: #243b5c;
  --navy-dark: #0f1d2e;
  --red: #c41e3a;
  --red-hover: #a01830;
  --red-light: rgba(196, 30, 58, 0.08);
  --red-bg: rgba(196, 30, 58, 0.06);
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f3f6;
  --gray-200: #e4e8ee;
  --gray-400: #8b95a5;
  --gray-600: #5a6577;
  --gray-800: #2d3648;
  --text: #1a2d4a;
  --text-muted: #5a6577;
  --shadow: 0 4px 24px rgba(26, 45, 74, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 45, 74, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.25s ease;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--red); }

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 72px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  display: block;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-main a {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  border-radius: var(--radius);
}
.nav-main a:hover,
.nav-main a.active { color: var(--red); background: var(--red-light); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--gray-200);
}
.lang-switch a {
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius);
}
.lang-switch a:hover { color: var(--navy); background: var(--gray-100); }
.lang-switch a.current { color: var(--red); background: var(--red-light); }

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-main {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    overflow-y: auto;
  }
  .nav-main.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-main a {
    padding: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
  }
  .lang-switch {
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid var(--gray-200);
  }
  .header-logo img {
    height: 62px;
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  .header-inner { min-height: 88px; padding: 0 20px; }
  .header-logo img {
    height: 52px;
    max-width: 260px;
  }
  .nav-main { top: 88px; }
}

/* ----- Hero ----- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 35%, var(--navy-light) 70%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(165deg, transparent 30%, rgba(196, 30, 58, 0.08) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--navy-dark), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}
.hero .hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255,255,255,0.1);
}
.hero .hero-logo {
  margin: 0;
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}
.hero .hero-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero .hero-lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .hero {
    min-height: 80vh;
    padding: 108px 20px 72px;
  }
  .hero .hero-logo-wrap {
    padding: 20px 24px;
    margin-bottom: 32px;
  }
  .hero .hero-logo {
    height: 56px;
    max-width: 220px;
  }
  .hero .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
  .hero h1 { font-size: 1.5rem; margin-bottom: 18px; }
  .hero .hero-lead { font-size: 1rem; padding: 0 8px; }
}

/* ----- Stats strip ----- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: -48px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.stats-item {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stats-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(26, 45, 74, 0.14);
}
.stats-item .num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-item .label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 640px) {
  .stats-strip { grid-template-columns: 1fr; margin-top: -32px; gap: 16px; padding: 0 20px; }
  .stats-item { padding: 22px 20px; }
}

/* ----- Sections ----- */
.section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section--alt { background: var(--off-white); }
.section--narrow { max-width: 800px; }
.section--red-accent {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--red-bg) 100%);
}

@media (max-width: 640px) {
  .section { padding: 56px 20px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.5rem; }
  .section-head p { font-size: 0.9375rem; padding: 0 8px; }
  .card { padding: 28px 20px; }
  .card .card-num { font-size: 2rem; }
  .card h3 { font-size: 1.125rem; }
  .card p, .card .card-meta { font-size: 0.875rem; }
}

.section-head {
  margin-bottom: 56px;
  text-align: center;
}
.section-head .section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section-head p {
  margin: 20px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Content typography ----- */
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--navy); }

/* ----- Cards (services) ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.25);
  transform: translateY(-4px);
}
.card:hover::before { height: 100%; }
.card .card-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.95;
}
.card h3 {
  margin: 0 0 14px;
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.card .card-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-600);
}
.card a.card {
  display: block;
  color: inherit;
}
.card a.card:hover { color: inherit; }

/* ----- Mission / Vision ----- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.mv-box {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.mv-box:hover { box-shadow: var(--shadow-lg); }
.mv-box h3 {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mv-box p { margin: 0; color: var(--text); line-height: 1.7; }
@media (max-width: 640px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* ----- Intro block (about) ----- */
.intro-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 40px 36px;
  margin-bottom: 48px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.intro-block h3 {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 20px;
}
.fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}
.fact-item strong { color: var(--navy); }
.fact-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .intro-block { padding: 28px 24px; }
  .facts-row { flex-direction: column; gap: 16px; }
}
.contact-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .label {
  font-weight: 600;
  color: var(--navy);
  min-width: 100px;
  flex-shrink: 0;
}
.contact-list a:hover { color: var(--red); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-list li {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }
  .contact-list .label { min-width: auto; }
  .contact-intro { font-size: 0.9375rem; padding: 0 8px; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--red-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta-buttons .btn { margin-left: 0 !important; }
@media (max-width: 640px) {
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 24px 28px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  margin-bottom: 28px;
}
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
}
.footer-logo img {
  height: 40px;
  width: auto;
  margin: 0;
  display: block;
  object-fit: contain;
}
.site-footer .footer-legal {
  font-size: 0.9375rem;
  opacity: 0.92;
  line-height: 1.5;
}
.site-footer a {
  color: rgba(255,255,255,0.95);
}
.site-footer a:hover { color: var(--white); }
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 28px auto;
  max-width: 360px;
}

@media (max-width: 640px) {
  .site-footer { padding: 40px 20px 24px; }
  .footer-logo { margin-bottom: 20px; }
  .footer-logo-wrap { padding: 10px 16px; }
  .footer-logo img { height: 36px; }
  .site-footer .footer-legal { font-size: 0.875rem; }
  .footer-divider { margin: 20px auto; }
}

/* ----- Page title (inner pages) ----- */
.page-hero {
  padding: 140px 24px 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-dark) 100%);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(165deg, transparent 50%, rgba(196, 30, 58, 0.08) 100%);
  pointer-events: none;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.page-hero .page-hero-lead {
  margin: 14px 0 0;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .page-hero { padding: 108px 20px 40px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero .page-hero-lead { font-size: 0.9375rem; padding: 0 8px; }
}

/* ----- Utilities ----- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
