:root{
  --brand:#ad93cc;
  --nav-h: 64px;
}
/* More compact layout */
html{ font-size:17.5px; }             /* önceki 18px -> 17.5px */
.container-xxl{ max-width:1420px; }   /* önceki 1500px -> 1420px */

body{ font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial }
.navbar .nav-link{ color:#707070; font-weight:600; font-size:0.95rem } /* smaller nav text */
.navbar .nav-link.active, .navbar .nav-link:hover{ color:var(--brand) }
.dropdown-menu{ border-radius:14px }
.brand-script{ font-family:'Dancing Script', cursive; color:var(--brand) }
.brand-title{ color:var(--brand); letter-spacing:.5px }
.readable{ font-size:1.05rem; line-height:1.75 }

/* Section spacing a bit tighter */
.container-xxl.py-5{ padding-top:2rem !important; padding-bottom:2rem !important }
.container-xxl.py-4{
  padding-top:1.25rem !important;
  padding-bottom:1.25rem !important;
}
.site-footer{ margin-top:auto; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


@media (min-width:992px){
  .navbar .nav-link.active{ position:relative }
  .navbar .nav-link.active::after{
    content:""; position:absolute; left:50%; transform:translateX(-50%);
    bottom:-10px; width:6px; height:6px; border-radius:50%;
    background:var(--brand);
  }
}
/* Utility: object-fit cover for <img> */
.object-fit-cover{ object-fit:cover; aspect-ratio: 1/1; }

/* eyebrow + başlıklar: cerrahi bölüm stili */
.eyebrow{ color:var(--brand); letter-spacing:.6px; font-weight:700; font-size:.8rem }
.brand-title{ color:var(--brand); letter-spacing:.5px }

/* madde listesi ikonları */
.icon-circle{
  width:36px; height:36px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(173,147,204,.15); color:#6b53a2; margin-right:10px; flex:0 0 36px;
}
.check-item{ display:flex; gap:12px; align-items:flex-start }
.check-item .muted{ color:#6c757d }

/* hizmet kutucukları */
.service{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service p{
  margin: 0;
  flex: 1;
}

.icon-circle-sm{
  width:40px; height:40px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(173,147,204,.15); color:#6b53a2; font-size:1.1rem;
}

/* alan arka planı */
.section-muted{ background:#f6f7fb }
.lead-tight{ line-height:1.7 }
.doctor-cutout{
  object-fit:contain;
  width: 75%;
}


/* --- Site Footer --- */

footer h5 {
  font-weight: 600;
}

footer p {
  margin-bottom: 0.3rem;
}

/* Mega dropdown */
.dropdown-menu.mega{ border-radius:16px; min-width:920px; }
.dropdown-menu.mega .dropdown-item{ padding:.25rem .5rem; border-radius:8px }
.dropdown-menu.mega .dropdown-item:hover{ background:rgba(173,147,204,.15); color:#6b53a2 }
@media (max-width: 991.98px){
  .dropdown-menu.mega{ min-width:0; width:100%; }
}

/* --- Mega Dropdown v2 --- */
.mega-parent{ position: static; }
.dropdown-menu.mega{ left:0; right:0; width:100%; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,.12); border:1px solid rgba(0,0,0,.06); }
.mega-panel{ max-width:1400px; margin:0 auto; padding:18px 20px; display:grid; grid-template-columns:minmax(520px,1fr) 1px minmax(260px,.7fr) minmax(260px,.7fr); gap:24px; background:#fff; }
.mega-col{ min-width:260px }
.mega-col.wide{ min-width:520px }
.subcols{ display:grid; grid-template-columns:1fr 1fr; gap:20px }
.subcol{ min-width:240px }
.mega-divider{ background:rgba(0,0,0,.08) }
.mega-title{ color:var(--brand); font-weight:800; letter-spacing:.4px; margin:0 0 .25rem }
.group-label{ font-size:.86rem; color:#6c757d; font-weight:700; letter-spacing:.3px; margin:.5rem 0 .25rem }
.mega-list{ list-style:none; margin:0 0 .5rem; padding:0 }
.dropdown-menu.mega .dropdown-item{     padding: .35rem .55rem;
  border-radius: 8px;
  white-space: normal;
  line-height: 1;
  font-size: 14px; }
.dropdown-menu.mega .dropdown-item:hover{ background:rgba(173,147,204,.15); color:#6b53a2 }
@media (max-width:991.98px){
  .dropdown-menu.mega{ border-radius:0 0 16px 16px }
  .mega-panel{ max-width:none; grid-template-columns:1fr; gap:12px; padding:14px }
  .subcols{ grid-template-columns:1fr }
  .mega-divider{ display:none }
}
/* Mega panel ve “Tümünü Gör” */
.dropdown-menu.mega .mega-panel{
  position: relative;
  padding-bottom: 17px;            /* buton için altta boşluk ayır */
}

.btn-all{
  background: #ad93cc;             /* marka rengi */
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 12px;
  padding: .55rem .9rem;
  text-transform: uppercase;
}
.btn-all:hover,
.btn-all:focus{
  background: #9a81bd;
  color: #fff;
}

/* Sağ alt sabitleme */
.mega-see-all{
  position: absolute;
  right: 12px;
  bottom: 12px;
}

/* Mobilde sabitlemeyi kaldır, genişçe göster */
@media (max-width: 991.98px){
  .dropdown-menu.mega .mega-panel{
    padding-bottom: 16px;
  }
  .mega-see-all{
    position: static;
    display: block;
    margin: 8px 12px 12px auto;   /* sağa yaslı genişçe */
    width: auto;                  /* istersen w-100 yapabilirsin */
  }
}

/* Masaüstünde butonun panelin içinde alta oturması */
.dropdown-menu.mega .mega-panel{
  display: grid;
  grid-template-columns: minmax(520px,1fr) 1px minmax(260px,.7fr) minmax(260px,.7fr);
  gap: 24px;
  align-content: start;
}
.dropdown-menu.mega .mega-footer{
  grid-column: 1 / -1;      /* tüm sütunların altına yayılsın */
  margin-top: 6px;
  border-radius: 0 0 16px 16px;
}

/* Mobilde tam genişlik */
@media (max-width: 991.98px){
  .dropdown-menu.mega .mega-footer{
    grid-column: 1;
  }
}
/* Galeri küçük resim oranı ve crop */
.gallery-thumb{
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f4f4f6;
}

/* Lightbox katmanı */
.gallery-lightbox{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center;
  z-index: 1080; /* navbar üstünde */
  padding: 24px;
}
.gallery-lightbox.active{ display: flex; }
.gallery-lightbox .glb-image{
  max-width: 92vw; max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* Kontroller */
.gallery-lightbox .glb-prev,
.gallery-lightbox .glb-next,
.gallery-lightbox .glb-close{
  position: absolute;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  width: 44px; height: 44px;
  line-height: 44px; text-align: center;
  font-size: 26px; font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.gallery-lightbox .glb-close{ top: 16px; right: 16px; }
.gallery-lightbox .glb-prev{ left: 22px; }
.gallery-lightbox .glb-next{ right: 22px; }

.gallery-lightbox .glb-prev:hover,
.gallery-lightbox .glb-next:hover,
.gallery-lightbox .glb-close:hover{
  background: rgba(173,147,204,.8); /* #ad93cc */
}

/* Klavye odak görünürlüğü */
.gallery-item:focus-visible,
.gallery-lightbox button:focus-visible{
  outline: 2px solid #ad93cc; outline-offset: 2px;
}

/* Mobilde biraz daha boşluk */
@media (max-width: 575.98px){
  .gallery-lightbox{ padding: 12px; }
}
:root{ --brand:#ad93cc; }

/* NAV: aktif/hover renkleri */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active{
  color: var(--brand) !important;
}

/* MEGA: tam ortada açılma (desktop) */
@media (min-width: 992px){
  .mega-parent.position-static { position: static; }
  .mega-parent .dropdown-menu.mega{
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    margin-top: -1px;
    width: min(100%, 1400px);
    border-radius: 0px 0px 16px 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
  }
}

/* MEGA panel iskeleti; sağ altta Tümünü Gör için relatif konum */
.mega-panel{
  position: relative;                /* Tümünü Gör'ü köşeye sabitlemek için */
  display: grid;
  grid-template-columns: minmax(520px,1fr) 1px minmax(260px,.8fr) minmax(260px,.8fr);
  gap: 24px;
  padding: 20px 16px 72px;           /* altta buton boşluğu */
}
.mega-divider{ width:1px; background:rgba(0,0,0,.08); }
.mega-col.wide .subcols{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.mega-title{ font-weight:800; margin:0 0 8px; color:#333; }
.group-label{ font-size:14px; font-weight:700; color:#666; margin:10px 0 6px; }

/* Liste madde işaretlerini KALDIR */
.mega-list,
.mega-list li{ list-style: none; margin: 0; padding: 0; }

/* Dropdown öğeleri: hover’da marka rengi */
.mega-list .dropdown-item{
  padding: .35rem .25rem;
  border-radius: 8px;
  color: #333;
}
.mega-list .dropdown-item:hover,
.mega-list .dropdown-item:focus{
  color: var(--brand) !important;
  background: rgba(173,147,204,.12);
}

/* Sağ altta “Tümünü Gör” */
.btn-all{
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 12px;
  padding: .55rem .9rem;
  text-transform: uppercase;
}
.btn-all:hover{ background: #9a81bd; color:#fff; }
.mega-see-all{ position:absolute; right:12px; bottom:12px; }

/* Mobilde tek kolona düşür, butonu satıra al */
@media (max-width: 991.98px){
  .mega-panel{
    grid-template-columns: 1fr;
    padding: 12px 12px 16px;
  }
  .mega-divider{ display:none; }
  .mega-col.wide .subcols{ grid-template-columns:1fr; }
  .mega-see-all{ position: static; margin: 8px 0 0 auto; display:inline-block; }
}


/* Body çevresi boşluk olmasın */
html, body { height: 100%; }
body { margin: 0; }

/* Eğer daha önce absolute verdiysen, TAMAMEN sıfırla */
.site-footer{
  position: static;   /* <-- absolute/fixed KALMAYACAK */
  left:auto; right:auto; bottom:auto;
  width: 100%;
}

/* py-4 ile birlikte sticky davranış */
.site-footer.py-4,
.site-footer.py-4.mt-auto{
  margin-top: auto;                 /* kritik: alta iter */
  padding-top: 1.25rem !important;  /* py-4 karşılığı */
  padding-bottom: 1.25rem !important;
}
.kare:hover{
background-color: #b6b6b666;
}
.cards-row{
  --bs-gutter-x: 24px; /* yatay boşluk */
  --bs-gutter-y: 35px; /* dikey boşluk */
}
.text-secondary{
  font-size: 16px;
}

/* Sadece footerdeki bu üç kolona uygula */
.col-md-4{
  display: grid;
  grid-template-columns: 1.6rem 1fr; /* solda ikon, sağda metin */
  column-gap: .5rem;
  align-items: start;
}
.col-md-4> i{
   font-size: .95em;
  line-height: 2;
}
