/* ═══════════════════════════════════════════
   esrasarigul.com · Ana stil dosyası
   ═══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sage: #5C7A6E;
  --sage-light: #EAF1EE;
  --sage-mid: #A8C4BA;
  --powder: #EEF4F7;
  --cream: #FAFAF8;
  --text: #2C3830;
  --text-muted: #6B7C75;
  --text-light: #99AEA6;
  --border: #D8E5E0;
  --white: #FFFFFF;
  --font: 'Georgia', 'Times New Roman', serif;
  --font-ui: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; flex-direction: column; gap: 2px; }
.nav-brand-name { font-family: var(--font); font-size: 17px; color: var(--text); }
.nav-brand-title { font-size: 11px; color: var(--text-muted); letter-spacing: 0.07em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); border-bottom-color: var(--sage); }
.nav-cta {
  background: var(--sage);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-cta:hover { background: #4a6459; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--sage-light) 0%, var(--powder) 55%, var(--cream) 100%);
  padding: 80px 2rem 70px;
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font);
  font-size: 42px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--sage); }
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 14px 28px;
  border-radius: 7px;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #4a6459; color: #fff; }
.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-card-icon {
  width: 38px;
  height: 38px;
  background: var(--sage-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.hero-card h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.hero-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── BÖLÜM ORTAK ── */
.section { padding: 64px 2rem; }
.section-inner { max-width: 1040px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font);
  font-size: 30px;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.divider { height: 1px; background: var(--border); margin: 0 2rem; }

/* ── HİZMETLER ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { border-color: var(--sage-mid); box-shadow: 0 4px 20px rgba(92,122,110,0.1); }
.service-icon { font-size: 26px; margin-bottom: 12px; }
.service-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ── TESTLER ── */
.tests-bg { background: var(--powder); }
.tests-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.test-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.test-dot { width: 8px; height: 8px; background: var(--sage); border-radius: 50%; flex-shrink: 0; }
.test-tag {
  margin-left: auto;
  font-size: 11px;
  background: var(--sage-light);
  color: var(--sage);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── ALINTI ── */
.quote-banner { background: var(--sage); padding: 50px 2rem; text-align: center; }
.quote-banner blockquote {
  font-family: var(--font);
  font-size: 22px;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.95;
}
.quote-banner cite {
  display: block;
  font-size: 13px;
  margin-top: 1rem;
  opacity: 0.7;
  font-style: normal;
  font-family: var(--font-ui);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── MAKALELER ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article-card:hover { border-color: var(--sage-mid); box-shadow: 0 4px 20px rgba(92,122,110,0.1); }
.article-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.article-body { padding: 18px 20px; }
.article-tag {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.article-read { font-size: 12px; color: var(--sage); margin-top: 12px; display: inline-block; }

/* ── HAKKIMDA ── */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.about-photo {
  width: 200px;
  height: 240px;
  background: var(--sage-light);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  object-fit: cover;
}
.about-photo-placeholder {
  width: 200px;
  height: 240px;
  background: var(--sage-light);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.about-intro { font-family: var(--font); font-size: 22px; color: var(--text); line-height: 1.5; margin-bottom: 1.2rem; }
.about-text { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.5rem; }
.edu-item {
  border-left: 2px solid var(--sage-mid);
  padding: 10px 0 10px 18px;
  margin-bottom: 14px;
}
.edu-item h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.edu-item p { font-size: 13px; color: var(--text-muted); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 1.5rem; }
.cert-item {
  background: var(--sage-light);
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 12.5px;
  color: var(--sage);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}

/* ── MAKALELEr LİSTESİ ── */
.articles-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ── MAKALE İÇ SAYFA ── */
.article-detail { max-width: 700px; margin: 0 auto; padding: 60px 2rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--sage); }
.article-detail-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.article-detail-title {
  font-family: var(--font);
  font-size: 34px;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.article-detail-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article-detail-body { font-size: 16px; color: var(--text-muted); line-height: 1.9; }
.article-detail-body h3 {
  font-family: var(--font);
  font-size: 20px;
  color: var(--text);
  margin: 2rem 0 0.8rem;
}
.article-detail-body p { margin-bottom: 1.2rem; }
.article-cta-box {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--sage-light);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}
.article-cta-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 1rem; }

/* ── İLETİŞİM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.contact-info-block p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.contact-info-block a { color: var(--sage); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sage); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--sage);
  color: #fff;
  padding: 13px;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-ui);
}
.form-submit:hover { background: #4a6459; }
.form-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success h3 { font-size: 18px; color: var(--sage); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 32px 2rem;
  font-size: 13px;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner strong { color: rgba(255,255,255,0.9); }
.footer-inner span { display: block; margin-top: 4px; font-size: 12px; }
.footer-right { text-align: right; }
.footer-credit { margin-top: 6px !important; font-size: 11px !important; opacity: 0.45; }
.footer-credit a { color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-credit a:hover { opacity: 1; color: #fff; }

/* ── RESPONSİVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .tests-grid { grid-template-columns: 1fr; }
  .articles-grid, .articles-full-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* ══════════════════════════════════════
   NAV BURGER
   ══════════════════════════════════════ */

/* Burger butonu — desktop'ta gizli */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
/* X animasyonu */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer — varsayılan kapalı */
.nav-drawer {
  display: none;           /* desktop'ta hiç yok */
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--sage-light);
  box-shadow: 0 12px 32px rgba(44,56,48,0.10);
  z-index: 200;
}
.nav-drawer a {
  display: block;
  padding: 15px 1.5rem;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--sage-light);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover,
.nav-drawer a.active { color: var(--sage); background: var(--sage-light); }
.nav-drawer .nav-drawer-cta {
  margin: 10px 1.5rem 12px;
  background: var(--sage);
  color: #fff !important;
  text-align: center;
  border-radius: 7px;
  border: none !important;
  border-bottom: none !important;
  padding: 13px 1.5rem !important;
}
.nav-drawer .nav-drawer-cta:hover { background: #4a6459 !important; }

/* ══════════════════════════════════════
   MOBİL (≤768px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  nav { position: relative; }
  .nav-links { display: none !important; }
  .nav-cta   { display: none !important; }
  .nav-burger { display: flex !important; }

  /* Drawer: mobilede flex olabilir, data-open ile kontrol edilir */

  .hero { padding: 40px 1.25rem 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 40px 1.25rem; }
  .divider { margin: 0 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .tests-grid { grid-template-columns: 1fr; }
  .articles-grid, .articles-full-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-photo { width: 100%; height: 240px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-right { text-align: center; }
}

/* ── HAKKIMDA LİSTE ── */
.about-list {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding: 10px 16px 10px 44px;
  background: var(--sage-light);
  border-radius: 8px;
  position: relative;
  line-height: 1.5;
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--sage);
  font-weight: 600;
}
