/* =====================================================
   DentaCare — Tasarım Sistemi
   Tema: Modern Teal/Turkuaz · Ferah · Kurumsal
   ===================================================== */

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

:root {
  /* Renkler */
  --teal-900: #0a3d40;
  --teal-800: #0e4f54;
  --teal-700: #126e74;
  --teal-600: #14868d;
  --teal-500: #17a2aa;
  --teal-400: #2bbfc7;
  --teal-300: #5ed6dc;
  --teal-200: #9fe9ed;
  --teal-100: #d4f5f7;
  --teal-50:  #eefbfc;

  --mint: #3fd9c0;
  --coral: #ff7a59;
  --gold:  #f5b841;

  --ink:    #0c2426;
  --slate:  #46686b;
  --muted:  #7c9a9d;
  --line:   #e2eef0;
  --bg:     #f4fafb;
  --surface:#ffffff;

  --ok:     #1faa6c;
  --warn:   #e0962a;
  --danger: #e0533d;
  --info:   #2b8acb;

  /* Tipografi */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Şekil */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Gölge */
  --sh-sm: 0 2px 8px rgba(10,61,64,.06);
  --sh:    0 8px 30px rgba(10,61,64,.10);
  --sh-lg: 0 24px 60px rgba(10,61,64,.16);
  --sh-teal: 0 16px 40px rgba(20,134,141,.28);

  --container: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------------- Tipografi ---------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------------- Layout ---------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-600);
  background: var(--teal-100); padding: 7px 16px; border-radius: 100px;
}
.eyebrow::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 18px 0 14px; }

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: .98rem;
  transition: all .4s var(--ease); white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; box-shadow: var(--sh-teal);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(20,134,141,.4); }
.btn-ghost { background: var(--surface); color: var(--teal-700); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--teal-50); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--teal-700); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------------- Flash ---------------- */
.flash-wrap { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: var(--r); background: #fff;
  box-shadow: var(--sh-lg); border-left: 4px solid var(--muted);
  animation: flashIn .5s var(--ease) both; font-weight: 500; font-size: .92rem;
}
.flash-success { border-color: var(--ok); }
.flash-error   { border-color: var(--danger); }
.flash-warning { border-color: var(--warn); }
.flash-info    { border-color: var(--info); }
.flash-close { font-size: 1.4rem; color: var(--muted); line-height: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ---------------- Badge ---------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 100px; font-size: .78rem; font-weight: 600; }
.badge-ok { background: #e3f7ee; color: var(--ok); }
.badge-warn { background: #fdf2e0; color: var(--warn); }
.badge-danger { background: #fbe8e4; color: var(--danger); }
.badge-info { background: #e5f1fb; color: var(--info); }
.badge-muted { background: #eef2f3; color: var(--slate); }

/* ---------------- Form ---------------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field .req { color: var(--coral); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--teal-400);
  box-shadow: 0 0 0 4px var(--teal-100);
}
.textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------------- Yardımcı ---------------- */
.grid { display: grid; gap: 28px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.hidden { display: none !important; }

/* ---------------- Scroll Reveal ---------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.topbar {
  background: var(--teal-900); color: var(--teal-100);
  font-size: .85rem; padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: var(--teal-100); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar .tb-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar .tb-social { display: flex; gap: 14px; }

.header {
  position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent;
  transition: box-shadow .4s, border-color .4s, background .4s;
}
.header.scrolled { box-shadow: var(--sh); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.logo .logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  display: grid; place-items: center; box-shadow: var(--sh-teal);
}
.logo .logo-mark svg { width: 24px; height: 24px; color: #fff; }
.logo b { color: var(--teal-600); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; border-radius: 100px; font-weight: 500; font-size: .96rem;
  color: var(--slate); transition: all .25s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-700); background: var(--teal-50); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--teal-700); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; padding: clamp(60px,8vw,110px) 0 clamp(80px,10vw,140px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1100px 600px at 78% -5%, var(--teal-100), transparent 60%),
              radial-gradient(800px 500px at 5% 105%, var(--teal-50), transparent 55%),
              var(--bg);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1;
  animation: float 16s ease-in-out infinite;
}
.hero-blob.b1 { width: 380px; height: 380px; background: var(--teal-200); top: -80px; right: 8%; }
.hero-blob.b2 { width: 300px; height: 300px; background: var(--mint); bottom: -60px; left: 2%; animation-delay: -6s; }
@keyframes float { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(20px,-30px) scale(1.08);} }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 22px 0 20px; }
.hero-copy h1 em { font-style: normal; color: var(--teal-600); position: relative; }
.hero-copy h1 em::after {
  content:''; position: absolute; left: 0; bottom: 6px; width: 100%; height: 12px;
  background: var(--teal-200); z-index: -1; border-radius: 4px; opacity: .7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 38px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal-700); }
.hero-stat .lbl { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card-main {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--teal-300), var(--teal-700));
  position: relative;
}
.hero-card-main::after {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 50%);
}
.hero-tooth {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.hero-tooth svg { width: 55%; height: 55%; color: rgba(255,255,255,.92); filter: drop-shadow(0 20px 40px rgba(0,0,0,.2)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-2deg);} 50%{ transform: translateY(-16px) rotate(2deg);} }

.hero-float {
  position: absolute; background: #fff; border-radius: var(--r); padding: 16px 20px;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 13px;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-float .fi {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
}
.hero-float svg { width: 22px; height: 22px; }
.hero-float .ft { font-weight: 700; font-size: .95rem; }
.hero-float .fs { font-size: .78rem; color: var(--muted); }
.hero-float.f1 { top: 8%; left: -36px; }
.hero-float.f2 { bottom: 12%; right: -28px; animation-delay: -2.5s; }
@keyframes floatCard { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* =====================================================
   ÖZELLİK ŞERİDİ
   ===================================================== */
.feature-strip { margin-top: -56px; position: relative; z-index: 5; }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.fs-item { padding: 30px 28px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); transition: background .3s; }
.fs-item:last-child { border-right: none; }
.fs-item:hover { background: var(--teal-50); }
.fs-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-100); display: grid; place-items: center; flex-shrink: 0; }
.fs-item .ic svg { width: 24px; height: 24px; color: var(--teal-600); }
.fs-item h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.fs-item p { font-size: .86rem; color: var(--muted); }

/* =====================================================
   HİZMET KARTLARI
   ===================================================== */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px 30px;
  box-shadow: var(--sh-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.service-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--sh-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .sc-ic {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200)); transition: transform .5s var(--ease);
}
.service-card:hover .sc-ic { transform: rotate(-8deg) scale(1.05); }
.service-card .sc-ic svg { width: 32px; height: 32px; color: var(--teal-700); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .95rem; margin-bottom: 18px; }
.service-card .sc-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-600); font-weight: 600; font-size: .92rem; }
.service-card .sc-link svg { width: 16px; height: 16px; transition: transform .3s; }
.service-card:hover .sc-link svg { transform: translateX(5px); }
.service-card .sc-meta { display: flex; gap: 14px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.service-card .sc-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* =====================================================
   DOKTOR KARTLARI
   ===================================================== */
.doctors-grid { grid-template-columns: repeat(4, 1fr); }
.doctor-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); border: 1px solid var(--line); }
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.doctor-photo { aspect-ratio: 3/3.4; background: linear-gradient(160deg, var(--teal-200), var(--teal-500)); position: relative; overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.doctor-photo .ph-fallback svg { width: 38%; height: 38%; color: rgba(255,255,255,.7); }
.doctor-info { padding: 22px 22px 26px; }
.doctor-info .d-uzmanlik { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--teal-600); text-transform: uppercase; }
.doctor-info h3 { font-size: 1.25rem; margin: 6px 0 4px; }
.doctor-info .d-unvan { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.doctor-info .btn { width: 100%; }

/* =====================================================
   CTA / RANDEVU BANT
   ===================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(48px,7vw,80px); background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #fff; }
.cta-band::before { content:''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.06); top: -120px; right: -80px; }
.cta-band::after { content:''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.05); bottom: -120px; left: 10%; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: var(--teal-100); position: relative; margin: 14px 0 28px; max-width: 540px; }
.cta-band .btn-white { position: relative; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--teal-900); color: var(--teal-100); padding: 80px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 56px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer p { color: var(--teal-200); font-size: .92rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--teal-200); font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; color: var(--teal-200); font-size: .92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--teal-300); }

/* =====================================================
   SAYFA BAŞLIĞI (iç sayfalar)
   ===================================================== */
.page-hero { background: linear-gradient(135deg, var(--teal-800), var(--teal-900)); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.page-hero::before { content:''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.05); top: -200px; right: -100px; }
.page-hero h1 { color: #fff; position: relative; }
.page-hero .crumb { position: relative; display: flex; gap: 8px; align-items: center; color: var(--teal-200); font-size: .9rem; margin-top: 14px; }
.page-hero .crumb a { color: var(--teal-200); }
.page-hero .crumb a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .feature-strip .container { grid-template-columns: repeat(2,1fr); }
  .fs-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .doctors-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links, .topbar .tb-info { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: var(--sh); gap: 4px; }
  .nav-links.open a { width: 100%; }
  .services-grid, .doctors-grid, .feature-strip .container { grid-template-columns: 1fr; }
  .fs-item { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
}
