/* ═══════════════════════════════════════════
   CheckAssist — main.css
   Tüm sayfalar bu dosyayı kullanır
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #1A5276;
  --brand-mid:    #1F618D;
  --brand-light:  #2980B9;
  --accent:       #3AACE8;
  --accent-light: #5DC0F0;
  --accent-pale:  #E8F6FD;
  --accent-dark:  #1A87C4;
  --white:        #ffffff;
  --off-white:    #F4F8FB;
  --gray-100:     #EBF2F7;
  --gray-200:     #C9DCE8;
  --gray-400:     #7FA9C0;
  --gray-600:     #3D6880;
  --gray-900:     #0A1E2A;
  --text:         #0F2233;
  --text-muted:   #4A6E82;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(26,82,118,.09);
  --shadow:       0 8px 32px rgba(26,82,118,.14);
  --shadow-lg:    0 20px 60px rgba(26,82,118,.20);
  --nav-h:        70px;
  --topbar-h:     38px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── LAZY LOAD ── */
img.lazy {
  opacity: 0;
  transition: opacity .5s ease;
}
img.lazy.loaded { opacity: 1; }
img.lazy-placeholder {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── TOPBAR ── */
.topbar {
  background: var(--brand);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 300;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar-left  { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a {
  color: rgba(255,255,255,.72); text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.topbar-right a:hover { color: #fff; }
.topbar-badge {
  background: var(--accent); color: #fff !important;
  padding: 3px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}

/* ── NAV ── */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  height: var(--nav-h);
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 2px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--gray-600); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  position: relative;
}
.nav-links a:hover   { background: var(--gray-100); color: var(--brand); }
.nav-links a.active  { color: var(--brand); background: var(--gray-100); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  background: var(--brand) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: var(--radius-sm) !important;
  font-weight: 600 !important; font-size: 14px !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--brand-mid) !important; transform: translateY(-1px); }
.nav-cta.active::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--brand); padding: 4px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-hamburger:hover { background: var(--gray-100); }
.nav-hamburger svg { display: block; }
.nav-mobile {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid var(--gray-200);
  padding: 12px 24px 20px;
  box-shadow: 0 8px 24px rgba(26,82,118,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--gray-600); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
  display: block; transition: color .15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--brand); }
.nav-mobile .nav-mob-cta {
  margin-top: 14px; border: none !important;
  background: var(--brand); color: #fff !important;
  text-align: center; border-radius: var(--radius-sm);
  padding: 11px 16px; font-weight: 600;
}

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px;
}
.section-eyebrow::before {
  content: ''; width: 18px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
h2.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; color: var(--brand);
  line-height: 1.13; letter-spacing: -.02em; margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 540px; line-height: 1.78; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-eyebrow { justify-content: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; padding: 13px 26px;
  border-radius: var(--radius-sm); text-decoration: none;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background .2s, transform .15s, border-color .2s;
  letter-spacing: .01em;
}
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover  { background: var(--accent-dark); transform: translateY(-2px); }
.btn-brand   { background: var(--brand); color: #fff; }
.btn-brand:hover   { background: var(--brand-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.28); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.07); }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--gray-200); color: var(--brand); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--brand); padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(58,172,232,.18) 0%, transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb sep { color: rgba(255,255,255,.25); }
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800; color: #fff; letter-spacing: -.025em;
  line-height: 1.1; margin-bottom: 14px;
}
.page-hero p { font-size: 16.5px; color: rgba(255,255,255,.68); max-width: 560px; line-height: 1.75; }

/* ── FOOTER ── */
footer {
  background: #071624;
  color: rgba(255,255,255,.50);
  font-size: 14px;
  border-top: 3px solid var(--accent);
}
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer-brand img   { height: 42px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p     { font-size: 13.5px; line-height: 1.78; color: rgba(255,255,255,.40); max-width: 280px; margin-bottom: 18px; }
.footer-social      { display: flex; gap: 9px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.50); text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h5 {
  color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,.46); text-decoration: none;
  font-size: 14px; transition: color .2s;
}
.footer-col a:hover { color: var(--accent-light); }
/* Contact block */
.footer-contact-block { display: flex; flex-direction: column; }
.contact-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(58,172,232,.14); border: 1px solid rgba(58,172,232,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.contact-text  { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.32); line-height: 1;
}
.contact-value { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.5; }
.contact-value a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.contact-value a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.32); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .topbar-left span:last-child { display: none; }
}
