/* ============================================================
   EVREN DENTAL — Ana Stil Dosyası
   ============================================================ */
:root {
  --ed-teal: #0d9488;
  --ed-teal-koyu: #0f766e;
  --ed-teal-acik: #14b8a6;
  --ed-navy: #0f2f46;
  --ed-navy-acik: #16405c;
  --ed-amber: #f59e0b;
  --ed-fonda: #f2faf9;
  --ed-golge: 0 10px 30px rgba(15, 47, 70, .08);
  --ed-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

/* Yatay taşma güvencesi: taşan öğeler (dekoratif pseudo-elementler, AOS
   animasyon başlangıç konumları vb.) sayfayı sağdan genişletmesin; "clip"
   scroll kutusu yaratmadığı için sticky navbar çalışmaya devam eder. */
html { overflow-x: clip; }
body { font-family: var(--ed-font); color: #3d5566; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, h4, h5, h6, .navbar-brand { font-weight: 800; color: var(--ed-navy); }
a { text-decoration: none; }

/* ---------- Bootstrap Tema Uyumu ---------- */
.btn { font-weight: 600; border-radius: .6rem; }
.btn-primary {
  --bs-btn-bg: var(--ed-teal); --bs-btn-border-color: var(--ed-teal);
  --bs-btn-hover-bg: var(--ed-teal-koyu); --bs-btn-hover-border-color: var(--ed-teal-koyu);
  --bs-btn-active-bg: var(--ed-teal-koyu); --bs-btn-active-border-color: var(--ed-teal-koyu);
  --bs-btn-disabled-bg: var(--ed-teal); --bs-btn-disabled-border-color: var(--ed-teal);
}
.btn-outline-primary {
  --bs-btn-color: var(--ed-teal);
  --bs-btn-border-color: var(--ed-teal); --bs-btn-hover-bg: var(--ed-teal);
  --bs-btn-hover-border-color: var(--ed-teal); --bs-btn-active-bg: var(--ed-teal-koyu);
  --bs-btn-active-border-color: var(--ed-teal-koyu);
}
.btn-outline-light:hover { color: var(--ed-navy); }
.text-tema { color: var(--ed-teal) !important; }
.bg-tema { background-color: var(--ed-teal) !important; }
.bg-fonda { background-color: var(--ed-fonda) !important; }
.bg-navy { background-color: var(--ed-navy) !important; }
.form-control:focus, .form-select:focus {
  border-color: var(--ed-teal-acik);
  box-shadow: 0 0 0 .25rem rgba(13, 148, 136, .15);
}

/* ---------- Üst Bar ---------- */
.topbar { background: var(--ed-navy); color: #bcd4e0; font-size: .85rem; padding: .55rem 0; }
.topbar a { color: #bcd4e0; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--ed-teal-acik); }

/* ---------- Navbar ---------- */
.navbar { background: #fff; box-shadow: 0 2px 20px rgba(15, 47, 70, .06); padding: .6rem 0; transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 6px 25px rgba(15, 47, 70, .12); }
.navbar-brand { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ed-teal), var(--ed-teal-koyu));
  color: #fff; font-size: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 15px rgba(13, 148, 136, .35);
}
/* Yüklenmiş kurum logosu: marka kutusunda beyaz zemin üzerinde gösterilir */
.brand-logo-gorsel { object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 6px 15px rgba(13, 148, 136, .18); }
.brand-kucuk { display: block; font-size: .72rem; font-weight: 600; color: var(--ed-teal); letter-spacing: .12em; text-transform: uppercase; }
.navbar .nav-link {
  font-weight: 600; color: var(--ed-navy); padding: .55rem .85rem !important;
  border-radius: .5rem; transition: all .2s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ed-teal); }
.navbar .nav-link.active { background: rgba(13, 148, 136, .08); }
.navbar .dropdown-menu { border: 0; box-shadow: var(--ed-golge); border-radius: .8rem; padding: .5rem; margin-top: .6rem !important; }
.navbar .dropdown-item { border-radius: .5rem; padding: .5rem .9rem; font-weight: 500; color: #3d5566; }
.navbar .dropdown-item:hover { background: rgba(13, 148, 136, .08); color: var(--ed-teal); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .swiper-slide { min-height: 640px; display: flex; align-items: center; }
.hero-1 { background: linear-gradient(120deg, var(--ed-navy) 0%, #12506e 55%, var(--ed-teal-koyu) 100%); }
.hero-2 { background: linear-gradient(120deg, #0c4a6e 0%, #075985 55%, #0d9488 100%); }
.hero-3 { background: linear-gradient(120deg, #134e4a 0%, #0f766e 55%, #14b8a6 100%); }
.hero-rozet {
  background: rgba(255, 255, 255, .14);
  color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  padding: .45rem 1rem; border-radius: 50rem; display: inline-block;
  backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .25);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.18; }
.hero h1 .vurgu { color: #5eead4; }
.hero p.lead { color: #cfe6ee; font-size: 1.06rem; max-width: 540px; }
.hero-ozellik { color: #e2f1f5; font-size: .92rem; }
.hero-ozellik i { color: #5eead4; }
.hero .swiper-pagination-bullet { width: 26px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .5); transition: all .3s; }
.hero .swiper-pagination-bullet-active { width: 44px; background: #5eead4; }
.hero-resim { filter: drop-shadow(0 25px 35px rgba(0, 0, 0, .25)); }

/* Hero altı bilgi kartları */
.bilgi-seridi { margin-top: -58px; position: relative; z-index: 20; }
.bilgi-kart {
  background: #fff; border-radius: 1rem; padding: 1.35rem 1.5rem;
  box-shadow: var(--ed-golge); display: flex; gap: 1rem; align-items: center;
  height: 100%; transition: transform .3s;
}
.bilgi-kart:hover { transform: translateY(-5px); }
.bilgi-kart .ikon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; font-size: 1.25rem;
  background: rgba(13, 148, 136, .1); color: var(--ed-teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.bilgi-kart h6 { margin: 0; }
.bilgi-kart small { color: #6c8899; }

/* ---------- Bölüm Başlıkları ---------- */
.bolum { padding: 90px 0; }
.bolum-etiket {
  color: var(--ed-teal); font-weight: 700; font-size: .8rem; letter-spacing: .15em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem;
}
.bolum-etiket::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--ed-teal); display: inline-block; }
.bolum-baslik h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .6rem 0 .8rem; }
.bolum-baslik { max-width: 640px; }

/* ---------- Hizmet Kartı ---------- */
.hizmet-kart {
  background: #fff; border: 1px solid #e5f1ef; border-radius: 1.1rem;
  padding: 2rem 1.6rem; height: 100%; transition: all .3s; position: relative; overflow: hidden;
}
.hizmet-kart::after {
  content: ''; position: absolute; right: -30%; bottom: -60%; width: 170px; height: 170px;
  border-radius: 50%; background: rgba(13, 148, 136, .05); transition: all .4s;
}
.hizmet-kart:hover { transform: translateY(-8px); box-shadow: var(--ed-golge); border-color: rgba(13, 148, 136, .3); }
.hizmet-kart:hover::after { background: rgba(13, 148, 136, .1); }
.hizmet-kart .ikon {
  width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--ed-teal), var(--ed-teal-koyu));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(13, 148, 136, .3); margin-bottom: 1.1rem;
}
.hizmet-kart h5 { font-size: 1.06rem; }
.hizmet-kart p { font-size: .92rem; color: #5c7484; margin-bottom: 1rem; }
.hizmet-link { color: var(--ed-teal); font-weight: 700; font-size: .9rem; }
.hizmet-link i { transition: transform .25s; }
.hizmet-link:hover i { transform: translateX(5px); }

/* ---------- Doktor Kartı ---------- */
.doktor-kart {
  position: relative; border-radius: 1.3rem; background: #fff;
  box-shadow: var(--ed-golge); transition: transform .35s ease, box-shadow .35s ease;
  height: 100%; display: flex; flex-direction: column;
  overflow: hidden; /* ::before dekorunun sağ üstten taşması sayfayı genişletmesin */
}
.doktor-kart::before {
  content: ''; position: absolute; z-index: 0;
  width: 130px; height: 130px; top: -28px; right: -28px; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(20, 184, 166, .32), rgba(15, 47, 70, .14));
  transition: transform .5s ease;
}
.doktor-kart:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(15, 47, 70, .16); }
.doktor-kart:hover::before { transform: rotate(35deg) scale(1.18); }
.doktor-kart .gorsel {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4/5; border-radius: 1.3rem 1.3rem 0 0; z-index: 1; color: inherit;
}
.doktor-kart .gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.doktor-kart:hover .gorsel img { transform: scale(1.07); }
.doktor-kart .gorsel-karartma {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 47, 70, 0) 42%, rgba(15, 47, 70, .62) 100%);
}
.doktor-kart .unvan-rozet {
  position: absolute; bottom: 14px; left: 14px; right: 68px;
  background: rgba(15, 47, 70, .5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-size: .78rem; font-weight: 500;
  padding: .5rem .8rem; border-radius: .65rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.doktor-kart .kart-ok {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--ed-teal); color: #fff; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(13, 148, 136, .45);
  transform: translateY(10px) scale(.6); opacity: 0;
  transition: transform .35s ease, opacity .35s ease, background-color .2s;
}
.doktor-kart:hover .kart-ok { transform: none; opacity: 1; }
.doktor-kart .kart-ok:hover { background: var(--ed-teal-koyu); }
@media (hover: none) { .doktor-kart .kart-ok { transform: none; opacity: 1; } }
.doktor-kart .govde { position: relative; z-index: 1; padding: 1.25rem 1.3rem 1.4rem; }
.doktor-kart .govde h5 { margin: .6rem 0 0; font-size: 1.08rem; letter-spacing: -.01em; }
.doktor-kart .govde-alt {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: .95rem; border-top: 1px dashed #d5e8e4;
}
.doktor-kart .dekor-ikon { color: var(--ed-teal-acik); opacity: .35; font-size: 1rem; }
.doktor-kart .randevu-link { font-size: .88rem; font-weight: 700; color: var(--ed-teal-koyu); }
.doktor-kart .randevu-link i { transition: transform .3s ease; }
.doktor-kart .randevu-link:hover { color: var(--ed-teal); }
.doktor-kart .randevu-link:hover i { transform: translateX(4px); }
.uzmanlik-etiket {
  display: inline-block; background: rgba(13, 148, 136, .09); color: var(--ed-teal-koyu);
  font-size: .76rem; font-weight: 700; padding: .38rem .75rem; border-radius: 50rem;
  letter-spacing: .01em;
}

/* ---------- Yorum Kartı ---------- */
.yorum-kart {
  background: #fff; border-radius: 1.1rem; padding: 1.8rem; height: 100%;
  box-shadow: var(--ed-golge); border: 1px solid #e5f1ef; position: relative;
}
.yorum-kart .alinti-ikon {
  position: absolute; top: -18px; left: 1.6rem; width: 42px; height: 42px;
  border-radius: 12px; background: linear-gradient(135deg, var(--ed-teal), var(--ed-teal-koyu));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 15px rgba(13, 148, 136, .35);
}
.yorum-kart p { font-size: .93rem; }
.yildiz-pasif { color: #d5e3e0 !important; }
.yorum-kart .yildiz i { color: var(--ed-amber); }
.yorum-sahibi { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- SSS Accordion ---------- */
.accordion-item { border: 1px solid #e5f1ef; border-radius: .9rem !important; margin-bottom: .9rem; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--ed-navy); padding: 1.1rem 1.3rem; }
.accordion-button:not(.collapsed) { background: rgba(13, 148, 136, .06); color: var(--ed-teal-koyu); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(13, 148, 136, .12); }
.accordion-body { color: #5c7484; font-size: .95rem; }

/* ---------- Blog Kartı ---------- */
.blog-kart { border-radius: 1.1rem; overflow: hidden; background: #fff; box-shadow: var(--ed-golge); transition: all .3s; height: 100%; display: flex; flex-direction: column; }
.blog-kart:hover { transform: translateY(-8px); }
.blog-kart .gorsel { overflow: hidden; aspect-ratio: 16/10; }
.blog-kart .gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-kart:hover .gorsel img { transform: scale(1.06); }
.blog-kart .govde { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-kategorii {
  display: inline-block; background: rgba(13, 148, 136, .08); color: var(--ed-teal);
  font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50rem; margin-bottom: .7rem;
}

/* ---------- Galeri ---------- */
.galeri-filtre .btn { border-radius: 50rem; font-size: .85rem; padding: .45rem 1.2rem; }
.galeri-ogge { border-radius: 1rem; overflow: hidden; position: relative; display: block; aspect-ratio: 4/3; }
.galeri-ogge img { width: 100%; height: 100%; object-fit: cover; transition: all .45s; }
.galeri-ogge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 47, 70, .75), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.galeri-ogge:hover img { transform: scale(1.08); }
.galeri-ogge:hover::after { opacity: 1; }
.galeri-ogge .bilgi {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.1rem; z-index: 2;
  color: #fff; font-weight: 700; opacity: 0; transform: translateY(12px); transition: all .35s;
}
.galeri-ogge:hover .bilgi { opacity: 1; transform: translateY(0); }

/* ---------- Sayfa Başlığı (iç sayfalar) ---------- */
.sayfa-basligi {
  background: linear-gradient(120deg, var(--ed-navy) 0%, #12506e 60%, var(--ed-teal-koyu) 100%);
  padding: 68px 0 58px; position: relative; overflow: hidden;
}
.sayfa-basligi h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.sayfa-basligi .sayfa-yolu, .sayfa-basligi .sayfa-yolu a { color: #a8c8d6; font-size: .9rem; }
.sayfa-basligi .sayfa-yolu a:hover { color: #5eead4; }

/* ---------- CTA / Randevu ---------- */
.cta-panel {
  background: linear-gradient(120deg, var(--ed-teal-koyu) 0%, #0c6b62 100%);
  border-radius: 1.4rem; padding: 3rem; position: relative; overflow: hidden;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #d3efec; }

/* ---------- Footer ---------- */
footer.site-footer { background: #0b2537; color: #9db8c6; padding: 70px 0 0; font-size: .93rem; }
.site-footer h6 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.site-footer a { color: #9db8c6; transition: color .2s; }
.site-footer a:hover { color: #5eead4; }
.site-footer ul { list-style: none; padding-left: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer ul li i { color: var(--ed-teal-acik); width: 18px; }
.sosyal-ikon {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07);
  display: inline-flex; align-items: center; justify-content: center; color: #cfe3ec !important;
  transition: all .25s;
}
.sosyal-ikon:hover { background: var(--ed-teal); color: #fff !important; transform: translateY(-3px); }
.footer-alt { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 55px; padding: 1.2rem 0; font-size: .85rem; }

/* ---------- WhatsApp + Yukarı Butonu ---------- */
.whatsapp-btn {
  /* Sabit yüzer katman: akışa girmez, sayfa genişliğine etki etmez */
  position: fixed; left: 24px; z-index: 1050;
  bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff !important; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .25s;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.yukari-btn {
  /* Sabit yüzer katman: akışa girmez, sağda yer/ayar bozmaz, sayfa genişliğine etki etmez */
  position: fixed; right: 24px; z-index: 1050; margin: 0;
  bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--ed-navy); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease, background-color .25s ease;
}
.yukari-btn.gorunur { opacity: 1; visibility: visible; pointer-events: auto; }
.yukari-btn:hover { background: var(--ed-teal); }

/* ---------- Blog Detay ---------- */
.blog-detay-gorsel { border-radius: 1.2rem; overflow: hidden; }
.blog-detay-icerik p { line-height: 1.85; font-size: 1.02rem; margin-bottom: 1.15rem; color: #46606f; }
.blog-detay-icerik strong { color: var(--ed-navy); }
.blog-detay-icerik h2, .blog-detay-icerik h3, .blog-detay-icerik h4 { font-weight: 700; color: var(--ed-navy); margin: 2rem 0 .75rem; }
.blog-detay-icerik h2 { font-size: 1.45rem; }
.blog-detay-icerik h3 { font-size: 1.2rem; }
.blog-detay-icerik h4 { font-size: 1.05rem; }
.blog-detay-icerik ul, .blog-detay-icerik ol { padding-left: 1.4rem; margin-bottom: 1.15rem; }
.blog-detay-icerik li { line-height: 1.85; margin-bottom: .3rem; color: #46606f; }
.blog-detay-icerik blockquote { border-left: 4px solid var(--ed-teal); background: rgba(13,148,136,.06); border-radius: 0 .6rem .6rem 0; padding: .9rem 1.25rem; margin: 1.5rem 0; font-style: italic; }
.blog-detay-icerik blockquote p { margin-bottom: 0; }
.blog-detay-icerik img { max-width: 100%; height: auto; border-radius: .8rem; margin: 1.25rem 0; }
.blog-detay-icerik a { color: var(--ed-teal); text-decoration: none; font-weight: 600; }
.blog-detay-icerik a:hover { text-decoration: underline; }

/* ---------- Doktor Detay ---------- */
.doktor-detay-icerik p { line-height: 1.85; font-size: 1.02rem; margin-bottom: 1.15rem; color: #46606f; }
.doktor-detay-icerik strong { color: var(--ed-navy); }
.doktor-kart h5 a { color: inherit; }
.doktor-kart h5 a:hover { color: var(--ed-teal); }
.doktor-kart .devam-link { color: var(--ed-teal); font-weight: 600; text-decoration: none; font-size: .875rem; }
.doktor-kart .devam-link:hover { text-decoration: underline; }

/* ---------- Hakkımızda / İstatistik ---------- */
.istatistik-sayi { font-size: 2.6rem; font-weight: 800; color: var(--ed-teal); line-height: 1; }
.neden-madde { display: flex; gap: 1rem; }
.neden-madde .ikon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px;
  background: rgba(13, 148, 136, .1); color: var(--ed-teal); font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- İletişim / Form ---------- */
.iletisim-kart { border-radius: 1.1rem; background: #fff; box-shadow: var(--ed-golge); padding: 1.5rem; height: 100%; }
.form-etiket { font-weight: 600; font-size: .88rem; color: var(--ed-navy); margin-bottom: .35rem; display: block; }
.harita-cerceve { border-radius: 1.1rem; overflow: hidden; box-shadow: var(--ed-golge); line-height: 0; }
.harita-cerceve iframe { width: 100%; height: 420px; border: 0; }

/* ---------- 404 ---------- */
.hata-404 h1 { font-size: clamp(5rem, 14vw, 9rem); color: var(--ed-teal); line-height: 1; }

/* ---------- Swiper Yorumlar ---------- */
.yorum-swiper { padding: 1.5rem .3rem 3rem !important; }
.yorum-swiper .swiper-slide { height: auto; }
.yorum-swiper .swiper-pagination-bullet-active { background: var(--ed-teal); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .bolum { padding: 64px 0; }
  .hero .swiper-slide { min-height: 560px; }
  .bilgi-seridi { margin-top: 24px; }
  .navbar .nav-link { padding: .65rem .8rem !important; }
  .navbar-collapse { padding-top: .8rem; }
}
@media (max-width: 575.98px) {
  .hero .swiper-slide { min-height: 500px; }
  .hero p.lead { font-size: .98rem; }
  .cta-panel { padding: 2rem 1.4rem; }
  .bolum { padding: 52px 0; }
}



