/* =========================================================
   DENTEFE — Özel Ağız ve Diş Sağlığı Polikliniği
   Sade, aydınlık tasarım. Vurgu renkleri logodan: lacivert + gümüş
   ========================================================= */

:root {
  /* Antrasit – beyaz palet (logo ile aynı) */
  --ant-900: #1d1f22;
  --ant-800: #2b2e33;   /* ana antrasit — logo zemini */
  --ant-700: #383c42;
  --ant-600: #474c53;
  --ant-500: #5c6169;
  --ant-50:  #f0f1f3;
  --gray-200: #e4e5e8;
  --gray-300: #cdd0d4;
  --gray-400: #a9adb3;
  --ink: #1f2226;
  --muted: #60656d;
  --bg: #ffffff;
  --bg-soft: #f5f5f6;
  --line: #e5e6e9;


  --font-sans: "Times New Roman", Times, serif;
  --font-serif: "Times New Roman", Times, serif;

  --radius: 12px;
  --shadow: 0 24px 60px -28px rgba(29, 31, 34, .35);
  --shadow-sm: 0 8px 24px -14px rgba(29, 31, 34, .25);
  --container: 1180px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ---------- Ortak ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ant-500);
}
.eyebrow--light { color: var(--gray-300); }

.section { padding: clamp(72px, 9vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ant-800); color: var(--gray-200); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 56px); }
.section__head .eyebrow { justify-content: center; }
.section__title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 50px);
  color: var(--ant-800); margin-bottom: 16px; letter-spacing: -.01em;
}
.section__title em { font-style: italic; font-weight: 500; color: var(--ant-500); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--gray-300); }
.section__lead { color: var(--muted); font-size: 19px; margin: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 8px; border: 1.5px solid transparent;
  font: 700 16px/1 var(--font-sans); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn svg { font-size: 19px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ant-800); color: #fff; box-shadow: 0 10px 24px -12px rgba(29,31,34,.6); }
.btn--dark:hover { background: var(--ant-600); transform: translateY(-2px); }
.btn--outline { border-color: var(--gray-300); color: var(--ant-800); background: #fff; }
.btn--outline:hover { border-color: var(--ant-800); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ant-800); }
.btn--light:hover { background: var(--ant-50); transform: translateY(-2px); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(29,31,34,.4); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { display: block; height: 54px; width: auto; }
.brand__logo--footer { height: 66px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a:not(.btn) { color: var(--muted); font-size: 16px; font-weight: 500; transition: color .2s; position: relative; padding: 4px 0; }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--ant-800); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--ant-800);
}
.nav__cta-mobile { display: none !important; }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ant-800); white-space: nowrap; }
.nav__phone-icon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  background: var(--ant-50); color: var(--ant-800);
}
.nav__toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ant-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Giriş ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 90px);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--font-serif); font-weight: 400; color: var(--ant-800);
  font-size: clamp(44px, 6vw, 72px); letter-spacing: -.015em; margin-bottom: 22px;
}
.hero__title em { display: block; font-style: italic; font-weight: 500; color: var(--ant-500); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; font-weight: 500; color: var(--ant-700); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--ant-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2e33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.hero__visual { position: relative; }
.hero__img {
  width: 100%; height: clamp(420px, calc(100vh - var(--nav-h) - 120px), 580px);
  object-fit: cover; object-position: 50% 22%;
  border-radius: 16px; box-shadow: var(--shadow); background: var(--gray-200);
}

/* ---------- Öne çıkanlar ---------- */
.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; gap: 14px; padding: 30px 22px; border-right: 1px solid var(--line); }
.highlight:first-child { padding-left: 0; }
.highlight:last-child { border-right: 0; padding-right: 0; }
.highlight__icon {
  width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 22px;
  background: var(--ant-50); color: var(--ant-800); flex-shrink: 0;
}
.highlight__icon svg { fill: none; }
.highlight h3 { font-size: 17px; font-weight: 600; color: var(--ant-800); margin-bottom: 4px; }
.highlight p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Hakkımızda ---------- */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split__media img { width: 100%; height: auto; aspect-ratio: 10 / 11; object-position: 50% 50%; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: var(--gray-200); }
.split__content p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; font-size: 17px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ant-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Tedaviler (görselli kartlar) ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-200); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.tcard__body { padding: 24px 26px 28px; }
.tcard h3 { font-size: 21px; font-weight: 700; color: var(--ant-800); margin-bottom: 10px; }
.tcard p { color: var(--muted); font-size: 16.5px; margin: 0; line-height: 1.6; }

/* ---------- Süreç ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 26px 8px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step__num { display: block; font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--gray-400); margin-bottom: 16px; }
.step h3 { font-size: 20px; color: var(--ant-800); margin-bottom: 8px; font-weight: 700; }
.step p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------- Ağız bakımı ---------- */
.care { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.care__media img { width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: var(--gray-200); }
.care .section__lead { margin-bottom: 30px; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.tip { display: flex; gap: 16px; }
.tip__num { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: var(--gray-400); flex-shrink: 0; width: 40px; }
.tip h3 { font-size: 19px; color: var(--ant-800); margin-bottom: 6px; font-weight: 700; }
.tip p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.55; }

/* ---------- SSS ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__intro p { color: var(--muted); margin-bottom: 26px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 19px 60px 19px 22px; position: relative;
  font-weight: 600; color: var(--ant-800); font-size: 17.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2e33' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Randevu ---------- */
.appointment { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.appointment__lead { color: var(--gray-400); font-size: 19px; }
.appointment__contacts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22); transition: background .3s, border-color .3s;
}
.contact-pill:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); }
.contact-pill__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: #fff; color: var(--ant-800); }
.contact-pill__icon--wa { background: #25d366; color: #fff; }
.contact-pill small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-400); line-height: 1.3; }
.contact-pill strong { display: block; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }

.form { position: relative; background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.form__title { font-family: var(--font-serif); font-size: 30px; color: var(--ant-800); margin-bottom: 22px; font-weight: 600; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 15px; font-weight: 600; color: var(--ant-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: 15px var(--font-sans); color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ant-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,46,51,.12); }
.field.is-invalid input { border-color: #c0392b; background: #fdf3f2; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 4px 0 18px; cursor: pointer; line-height: 1.5; }
.check input { margin-top: 2px; accent-color: var(--ant-800); width: 16px; height: 16px; flex-shrink: 0; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { color: #c0392b; font-size: 16px; font-weight: 500; margin: 0 0 12px; }
.form__error:empty { display: none; }
.form__success { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 14px 16px; border-radius: 10px; background: #edf7f0; border: 1px solid #b9e0c6; color: #1e6b3a; font-size: 16px; }
.form__success[hidden] { display: none; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.contact__cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; padding: 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.ccard__icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; font-size: 21px; background: var(--ant-50); color: var(--ant-800); flex-shrink: 0; }
.ccard h3 { font-size: 17px; color: var(--ant-800); margin-bottom: 4px; font-weight: 600; }
.ccard p { margin: 0; color: var(--muted); font-size: 17px; }
.ccard a { word-break: break-word; }
.ccard a:hover { color: var(--ant-800); }
.contact__map { border-radius: 12px; overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--bg-soft); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--ant-900); color: var(--gray-400); padding: 64px 0 0; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin: 20px 0 0; max-width: 340px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 15px; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animasyon ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__phone-text { display: none; }
  .nav__links { gap: 20px; }
  .tcards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight, .highlight:first-child, .highlight:last-child { padding: 24px 20px; border-right: 0; }
  .highlight:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions { margin-left: auto; gap: 8px; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 40px; background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ant-800); }
  .nav__links a.is-active::after { display: none; }
  .nav__cta-mobile { display: inline-flex !important; margin-top: 26px; padding: 17px; }

  .hero__inner, .split, .faq, .appointment, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__img { height: auto; aspect-ratio: 4 / 4.2; }
  .care { grid-template-columns: 1fr; }
  .split__media, .care__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .split__media img, .care__media img { aspect-ratio: 4 / 3; }
  .faq__intro { position: static; }
}

@media (max-width: 600px) {
  .brand { min-width: 0; }
  .brand__logo { height: 44px; }
  .brand__logo--footer { height: 58px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .tcards, .tips, .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 6px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight, .highlight:nth-child(n) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight:nth-child(n):last-child { border-bottom: 0; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-pill { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { width: 52px; height: 52px; font-size: 26px; right: 16px; bottom: 16px; }
}

@media (max-width: 340px) {
  /* çok dar ekranlarda logonun altındaki uzun yazıyı gizle, menü butonu sığsın */
  .brand__logo { height: 36px; }
  .nav__phone-icon { width: 34px; height: 34px; }
}
