/* ============================================================
   hizmet-detay.css — Hizmet Detay Sayfası Özel CSS
   style.css'e bağımlıdır.
   ============================================================ */

/* ── Detail Hero ─────────────────────────────── */
.det-hero {
  padding-top: 70px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 820px) { .det-hero { grid-template-columns: 1fr; min-height: auto; } }

/* Left: text */
.det-hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 80px;
}
@media (max-width: 820px) { .det-hero__left { padding: 56px 24px 40px; } }

.det-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 28px;
}
.det-hero__breadcrumb a { color: rgba(255,255,255,.35); transition: color .3s; }
.det-hero__breadcrumb a:hover { color: var(--gold); }
.det-hero__breadcrumb-sep { color: rgba(255,255,255,.2); }

.det-hero__eyebrow { margin-bottom: 16px; }

.det-hero__title {
  font-family: var(--ff-d);
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 20px;
}
.det-hero__title em { font-style: italic; color: var(--gold); }

.det-hero__lead {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
  max-width: 440px;
  margin-bottom: 36px;
}

.det-hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.det-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.det-hero__meta-val {
  font-family: var(--ff-d);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.det-hero__meta-key {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.det-hero__meta-sep {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

/* Right: image */
.det-hero__right {
  position: relative;
  overflow: hidden;
}
.det-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.det-hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19,14,11,.4) 0%, transparent 40%);
  z-index: 1;
}
@media (max-width: 820px) {
  .det-hero__right { height: 50vw; min-height: 260px; }
  .det-hero__right::before { background: linear-gradient(to top, rgba(19,14,11,.5) 0%, transparent 50%); }
}

/* ── Sticky Sidebar Layout ───────────────────── */
.det-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) { .det-layout { grid-template-columns: 1fr 300px; gap: 40px; } }
@media (max-width: 820px)  { .det-layout { grid-template-columns: 1fr; } }

/* ── Main Content ────────────────────────────── */
.det-main { min-width: 0; }

.det-section { margin-bottom: 64px; }
.det-section:last-child { margin-bottom: 0; }

.det-section__title {
  font-family: var(--ff-d);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.det-section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brd);
}

.det-prose {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--ink2);
}
.det-prose p { margin-bottom: 16px; }
.det-prose p:last-child { margin-bottom: 0; }
.det-prose strong { font-weight: 500; color: var(--ink); }

/* Benefits list */
.det-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) { .det-benefits { grid-template-columns: 1fr; } }

.det-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surf);
  border-left: 2px solid var(--rose);
}
.det-benefit svg {
  width: 16px; height: 16px;
  stroke: var(--rose); fill: none; stroke-width: 2; stroke-linecap: round;
  flex-shrink: 0; margin-top: 1px;
}
.det-benefit__text {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink2);
}

/* Process accordion */
.det-accordion { display: flex; flex-direction: column; gap: 2px; }

.det-acc-item { background: var(--surf); overflow: hidden; }
.det-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background .3s;
}
.det-acc-head:hover { background: var(--brd); }
.det-acc-head.open { background: var(--rose-p); }

.det-acc-num {
  font-family: var(--ff-d);
  font-size: .95rem;
  font-weight: 500;
  color: var(--rose);
  min-width: 28px;
}
.det-acc-title {
  font-family: var(--ff-d);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  margin-left: 14px;
}
.det-acc-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--brd);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .4s var(--eo);
}
.det-acc-icon svg { width: 10px; height: 10px; stroke: var(--ink2); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.det-acc-head.open .det-acc-icon { background: var(--rose); border-color: var(--rose); transform: rotate(45deg); }
.det-acc-head.open .det-acc-icon svg { stroke: #fff; }

.det-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--eo);
}
.det-acc-body.open { max-height: 300px; }
.det-acc-body__inner {
  padding: 0 24px 20px 66px;
  font-size: .83rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink2);
}

/* ── Before / After (same as index but re-declared for standalone use) ── */
.det-ba-outer { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
@media (max-width: 900px) { .det-ba-outer { grid-template-columns: 1fr; gap: 36px; } }

.ba-tabs { display: flex; margin-bottom: 24px; border-bottom: 1px solid var(--brd); }
.ba-tab {
  font-size: .63rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink3); padding: 9px 16px 11px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: color .3s, border-color .3s;
}
.ba-tab.on { color: var(--rose); border-bottom-color: var(--rose); }

.ba-slider {
  position: relative; width: 100%; aspect-ratio: 4/3;
  overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; user-select: none; }
.ba-img::after {
  content: attr(data-label); position: absolute; bottom: 12px;
  font-size: .54rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.38); backdrop-filter: blur(4px); padding: 4px 10px; pointer-events: none;
}
.ba-img--b::after { left: 12px; }
.ba-img--a::after { right: 12px; }
.ba-img--a { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 2px; background: #fff; z-index: 10; pointer-events: none; }
.ba-hbtn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.ba-hbtn svg { width: 17px; height: 17px; stroke: var(--rose); fill: none; stroke-width: 2.5; stroke-linecap: round; }

.ba-info .eyebrow { margin-bottom: 0; }
.ba-info__t { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin: 10px 0 10px; }
.ba-info__d { font-size: .82rem; font-weight: 300; line-height: 1.85; color: var(--ink2); margin-bottom: 20px; }
.ba-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.ba-pill { font-size: .55rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); border: 1px solid var(--rose-p); background: var(--rose-p); padding: 4px 11px; }
.ba-stats { display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid var(--brd); }
.ba-sv { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 400; color: var(--ink); line-height: 1; }
.ba-sk { font-size: .57rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-top: 4px; }

/* ── Galeri ──────────────────────────────────── */
.det-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 260px 260px;
  gap: 4px;
}
@media (max-width: 600px) { .det-gallery { grid-template-columns: 1fr; grid-template-rows: auto; } }

.det-gal-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surf);
}
.det-gal-item--tall { grid-row: span 2; }
@media (max-width: 600px) { .det-gal-item--tall { grid-row: auto; } }

.det-gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--e), filter .5s;
  filter: saturate(.9);
}
.det-gal-item:hover img { transform: scale(1.05); filter: saturate(1.1); }

.det-gal-item__ov {
  position: absolute; inset: 0;
  background: rgba(19,14,11,.42);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s;
}
.det-gal-item:hover .det-gal-item__ov { opacity: 1; }
.det-gal-plus {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 200;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(19,14,11,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  transform: scale(.95);
  transition: transform .4s var(--eo);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.7);
  transition: border-color .3s, color .3s;
}
.lightbox__close:hover { border-color: var(--rose); color: var(--rose); }
.lightbox__close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.6);
  transition: border-color .3s, color .3s;
}
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}

/* ── Sticky Sidebar ──────────────────────────── */
.det-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 820px) { .det-sidebar { position: static; } }

.det-sidebar__card {
  background: var(--surf);
  padding: 28px 24px;
  border: 1px solid var(--brd);
}

.det-sidebar__title {
  font-family: var(--ff-d);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brd);
}

/* Price card */
.det-price-main {
  font-family: var(--ff-d);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.det-price-note {
  font-size: .7rem;
  font-weight: 300;
  color: var(--ink3);
  margin-bottom: 20px;
}
.det-sidebar__card .btn-p {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.det-sidebar__card .btn-o {
  width: 100%;
  justify-content: center;
}

/* Info list */
.det-info-list { display: flex; flex-direction: column; gap: 0; }
.det-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--brd);
  font-size: .8rem;
}
.det-info-row:last-child { border-bottom: none; }
.det-info-row__key { font-weight: 300; color: var(--ink3); }
.det-info-row__val { font-weight: 400; color: var(--ink); }

/* Related services */
.det-related { display: flex; flex-direction: column; gap: 10px; }
.det-rel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--brd);
  cursor: pointer;
  transition: color .3s;
  text-decoration: none;
  color: inherit;
}
.det-rel-item:last-child { border-bottom: none; }
.det-rel-item:hover .det-rel-item__name { color: var(--rose); }
.det-rel-item__img {
  width: 50px; height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}
.det-rel-item__name {
  font-family: var(--ff-d);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s;
}
.det-rel-item__tag {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 2px;
}

/* ── FAQ ─────────────────────────────────────── */
.det-faq { display: flex; flex-direction: column; gap: 0; }
.det-faq-item {
  border-bottom: 1px solid var(--brd);
  padding: 20px 0;
}
.det-faq-item:first-child { border-top: 1px solid var(--brd); }
.det-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.det-faq-q-text {
  font-family: var(--ff-d);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s;
}
.det-faq-q:hover .det-faq-q-text { color: var(--rose); }
.det-faq-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--brd);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .4s var(--eo);
}
.det-faq-icon svg { width: 10px; height: 10px; stroke: var(--ink2); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.det-faq-item.open .det-faq-icon { background: var(--rose); border-color: var(--rose); transform: rotate(45deg); }
.det-faq-item.open .det-faq-icon svg { stroke: #fff; }

.det-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--eo);
}
.det-faq-a.open { max-height: 300px; }
.det-faq-a-inner {
  padding: 14px 0 0;
  font-size: .84rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink2);
}
