/* =========================================================
   Diş Kliniği - Ana Stil Dosyası
   Renkler: #238a7b (ana), beyaz, siyah metin
   ========================================================= */
:root {
  --primary: #238a7b;
  --primary-dark: #1a6a5f;
  --primary-deep: #124b43;
  --tint: #e9f4f2;
  --mint: #9fd4c9;
  --text: #131a19;
  --muted: #4d5a58;
  --line: #d9e7e4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(18, 75, 67, 0.10);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.25; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--tint); color: var(--primary-deep); }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Üst Menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--text); }
.brand img { height: 46px; width: auto; }
.brand-mark { font-size: 26px; }
.brand:hover { color: var(--primary); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--text); font-weight: 500; font-size: 15.5px;
}
.main-nav a:hover { background: var(--tint); color: var(--primary-dark); }
.header-cta { display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-family: var(--font-display); font-size: 14.5px; white-space: nowrap; }
.header-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Slider ---------- */
.hero-slider { position: relative; height: min(78vh, 620px); min-height: 420px; overflow: hidden; background: var(--primary-deep); }
.slides, .slide { position: absolute; inset: 0; }
.slide {
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; pointer-events: none;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,75,67,.82) 0%, rgba(18,75,67,.45) 55%, rgba(18,75,67,.15) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 1180px; width: 100%; }
.slide-content h2 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); max-width: 620px; margin-bottom: 14px; }
.slide-content p { color: rgba(255,255,255,.92); font-size: clamp(16px, 2vw, 20px); max-width: 540px; margin-bottom: 26px; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.22); color: #fff; font-size: 18px; cursor: pointer;
  transition: background .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-dots { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.slider-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s; }
.slider-dots .dot.active { background: #fff; width: 28px; border-radius: 999px; }
.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; height: 56px; z-index: 4; }

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--tint); border: 1px solid var(--line);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.section-tint .eyebrow { background: #fff; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-cta { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
a.card { color: var(--text); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.feature-card { text-align: center; }
.feature-icon, .service-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; background: var(--tint); border-radius: 20px 20px 26px 26px;
}
.service-card { text-align: left; }
.service-card .service-icon { margin: 0 0 16px; }
.link-more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--primary); font-size: 14.5px; }

/* Ekip */
.team-card { text-align: center; }
.team-photo {
  width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%;
  overflow: hidden; background: linear-gradient(150deg, var(--primary), var(--mint));
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--tint);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initial { color: #fff; font-family: var(--font-display); font-size: 40px; font-weight: 700; }
.team-title { display: block; color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 8px; }

/* Slogan alanı */
.slogan-band {
  background: linear-gradient(115deg, var(--primary-deep), var(--primary));
  color: #fff; text-align: center; padding: 76px 0;
  position: relative; overflow: hidden;
}
.slogan-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 40%);
}
.slogan-band .container { position: relative; }
.slogan-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.slogan-band p { max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,.9); font-size: 17px; }
.slogan-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Haber / blog kartları */
.news-card { padding: 0; overflow: hidden; }
.card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--tint); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .card-image img { transform: scale(1.04); }
.news-card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; }
.card-date { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 8px; }

/* İletişim kartları */
.contact-item { text-align: center; }
.contact-item p { word-break: break-word; }

/* ---------- İç sayfalar ---------- */
.page-hero {
  background: linear-gradient(115deg, var(--primary-deep), var(--primary));
  padding: 58px 0; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); max-width: 860px; margin: 0 auto; }
.hero-date { display: inline-block; margin-top: 10px; color: rgba(255,255,255,.85); font-size: 14.5px; }

.page-content { max-width: 780px; margin: 0 auto; }
.page-content h1 { font-size: 30px; margin-bottom: 18px; }
.page-content h2 { font-size: 23px; margin: 30px 0 12px; }
.page-content h3 { font-size: 19px; margin: 24px 0 10px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 22px; }
.page-content img { border-radius: var(--radius); }
.content-image { width: 100%; margin-bottom: 24px; }
.content-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.detail-layout .page-content { margin: 0; max-width: none; }
.sidebar-box { background: var(--tint); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.sidebar-box h3 { font-size: 17px; margin-bottom: 14px; }
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid var(--line); }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a { display: block; padding: 10px 0; color: var(--text); font-size: 15px; }
.sidebar-list a:hover { color: var(--primary); }

/* Arama formu */
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 40px; }
.search-form input {
  flex: 1; padding: 13px 18px; border: 2px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 15px;
}
.search-form input:focus { border-color: var(--primary); outline: none; }
.empty-note { text-align: center; color: var(--muted); margin-bottom: 30px; }

/* Sayfalama */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14.5px;
}
.pagination a.active, .pagination a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* İletişim sayfası */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.contact-form-box h2, .contact-map h2 { font-size: 24px; margin-bottom: 20px; }
.contact-form-box form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-box label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-box input, .contact-form-box textarea {
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 400;
}
.contact-form-box input:focus, .contact-form-box textarea:focus { border-color: var(--primary); outline: none; }
.contact-form-box .btn { align-self: flex-start; }
.hp-field { position: absolute !important; left: -9999px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.working-hours { margin-top: 14px; color: var(--muted); }

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 16px; font-size: 15px; }
.alert-success { background: var(--tint); border: 1px solid var(--primary); color: var(--primary-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.85); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14.5px; }
.footer-menu, .footer-contact { list-style: none; }
.footer-menu li, .footer-contact li { margin-bottom: 9px; font-size: 14.5px; }
.footer-menu a, .footer-contact a { color: rgba(255,255,255,.85); }
.footer-menu a:hover, .footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff; transition: background .2s;
}
.social-links a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; font-size: 13.5px; }

/* ---------- Sabit arama / WhatsApp düğmeleri ---------- */
.floating-actions {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .15s;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-call { background: var(--primary); }
.fab-wa { background: #25d366; animation: fab-pulse 2.4s infinite; }
@keyframes fab-pulse {
  0% { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; box-shadow: var(--shadow); }
  .main-nav ul { flex-direction: column; padding: 14px 20px; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 44px; }
  .slider-arrow { display: none; }
  .hero-slider { min-height: 400px; height: 66vh; }
  .fab { width: 52px; height: 52px; }
  .floating-actions { right: 14px; bottom: 14px; }
}

/* Azaltılmış hareket tercihi */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- DİL DEĞİŞTİRME DÜĞMESİ (TR / EN) ---- */
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line, #dbe6e3); border-radius: 999px;
  overflow: hidden; background: #fff;
}
.lang-switch a, .lang-switch span {
  padding: 6px 12px; font-size: 13px; font-weight: 700;
  letter-spacing: .3px; line-height: 1; text-decoration: none;
  color: var(--muted, #5b6a67); transition: background .18s, color .18s;
}
.lang-switch a:hover { background: var(--tint, #e9f4f2); color: var(--primary, #238a7b); }
.lang-switch .active { background: var(--primary, #238a7b); color: #fff; }

@media (max-width: 860px) {
  .header-actions { gap: 8px; margin-left: auto; margin-right: 8px; }
  .header-actions .header-cta { display: none; }
  .lang-switch a, .lang-switch span { padding: 5px 10px; font-size: 12px; }
}
