/* ============================================================
   single-ilan.css — Profil sayfası styling
   Hero + Galeri carousel + Sticky CTA + Sidebar
   ============================================================ */


/* ============ ROOT ============ */
.single-ilan {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 769px) {
  .single-ilan {
    padding: 2rem 1.5rem;
  }
}


/* ============ HERO ============ */
.ilan-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
}

@media (min-width: 769px) {
  .ilan-hero {
    grid-template-columns: 480px 1fr;
    align-items: stretch;
  }
}


/* ── Hero Media (foto) ── */
.ilan-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  overflow: hidden;
}

@media (min-width: 769px) {
  .ilan-hero__media {
    aspect-ratio: auto;
    min-height: 480px;
  }
}

.ilan-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ilan-hero__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: linear-gradient(135deg, var(--bg-elev), var(--border));
}


/* ── Tier rozet ── */
.ilan-hero__tier-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #C9A961;
  color: #1A1A1F;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ilan-hero__tier-badge .escort-icon {
  color: #1A1A1F;
}


/* ── Verified rozet ── */
.ilan-hero__verified-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 132, 255, 0.95);
  color: #fff;
  padding: 6px 12px 6px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(6px);
}


/* ── Live indicator ── */
.ilan-hero__live {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 15, 18, 0.85);
  color: #2ECC71;
  padding: 5px 12px 5px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.ilan-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.3);
  animation: pulse-live 2s infinite;
}


/* ── Hero Info ── */
.ilan-hero__info {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 769px) {
  .ilan-hero__info {
    padding: 2rem 2.5rem;
    justify-content: center;
  }
}

.ilan-hero__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-strong);
}
.ilan-hero__age {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 1.5rem;
}

@media (min-width: 769px) {
  .ilan-hero__title { font-size: 2.4rem; }
  .ilan-hero__age   { font-size: 1.8rem; }
}

.ilan-hero__location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-dim);
  font-size: 1rem;
}
.ilan-hero__location a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color .15s;
}
.ilan-hero__location a:hover {
  border-bottom-color: var(--accent);
}

.ilan-hero__last-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

.ilan-hero__cta-wrap {
  margin-top: .75rem;
}

@media (max-width: 768px) {
  /* Mobile'da hero'daki büyük CTA'yı gizle, sticky bottom kullanılır */
  .ilan-hero__cta-wrap .escort-whatsapp-cta--large {
    width: 100%;
  }
}


/* ── Hero stats grid (yaş/boy/kilo/uyruk/göz/saç/diller) ── */
.ilan-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem .9rem;
  margin: .25rem 0 0;
  padding: 0;
}
@media (min-width: 769px) {
  .ilan-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem 1rem;
  }
}
.ilan-hero__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--border);
  min-width: 0;
}
.ilan-hero__stat dt {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-shrink: 0;
}
.ilan-hero__stat dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}


/* ── Hero compact prices ── */
.ilan-hero__prices {
  list-style: none;
  margin: .5rem 0 0;
  padding: .85rem 1rem;
  background: var(--bg-elev, rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
}
@media (min-width: 769px) {
  .ilan-hero__prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem .9rem;
  }
}
.ilan-hero__prices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: 13px;
  color: var(--text-dim);
  min-width: 0;
}
.ilan-hero__prices li strong {
  color: var(--accent, #C9A961);
  font-weight: 700;
  white-space: nowrap;
}


/* ── Hero extras (ödeme + müsait) inline ── */
.ilan-hero__extras {
  margin-top: .35rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ilan-hero__extras-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  font-size: 13px;
  color: var(--text-dim);
}
.ilan-hero__extras-row strong {
  color: var(--text-strong);
  font-weight: 600;
}


/* ============ İÇERİK GRID ============ */
/* Aside kaldırıldı — main her zaman tek kolon (max readable width). */
.ilan-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ilan-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}


/* ============ SECTION (kart benzeri) ============ */
.ilan-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem 1.5rem;
}

.ilan-section__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-strong);
  border: 0;
  padding: 0;
}


/* ============ GALERİ CAROUSEL ============ */
.ilan-gallery-section {
  padding: 1rem 1.25rem;
}
.ilan-gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}
.ilan-gallery__track {
  display: flex;
  transition: transform .35s ease;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.ilan-gallery__track::-webkit-scrollbar {
  display: none;
}

.ilan-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--bg-elev);
}
.ilan-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ilan-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 15, 18, 0.7);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.ilan-gallery__nav:hover {
  background: rgba(15, 15, 18, 0.9);
}
.ilan-gallery__nav--prev { left: 12px; }
.ilan-gallery__nav--next { right: 12px; }

.ilan-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.ilan-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.ilan-gallery__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}


/* ============ ABOUT (post_content) ============ */
.ilan-about__content {
  color: var(--text);
  line-height: 1.7;
}
.ilan-about__content p {
  margin: 0 0 1rem;
  color: var(--text);
}
.ilan-about__content strong { color: var(--text-strong); }


/* ============ TAGS / CHIPS ============ */
.ilan-tags__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ilan-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 61, 139, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 61, 139, 0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
}
.ilan-chip:hover {
  background: rgba(255, 61, 139, 0.22);
  color: var(--text-strong);
}
.ilan-chip--format {
  background: rgba(201, 169, 97, 0.1);
  color: #C9A961;
  border-color: rgba(201, 169, 97, 0.3);
}
.ilan-chip--format:hover {
  background: rgba(201, 169, 97, 0.2);
  color: #fff;
}


/* ============ INFO LIST (sidebar profil bilgileri) ============ */
.ilan-info-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ilan-info-list > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.ilan-info-list > div:last-child {
  border-bottom: 0;
}
.ilan-info-list dt {
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
  margin: 0;
}
.ilan-info-list dd {
  color: var(--text-strong);
  margin: 0;
  text-align: right;
}


/* ============ FİYAT TABLOSU ============ */
.ilan-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ilan-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}
.ilan-price-list li:last-child {
  border-bottom: 0;
}
.ilan-price-list span {
  color: var(--text-dim);
  font-size: 13px;
}
.ilan-price-list strong {
  color: var(--text-strong);
  font-size: 14px;
}


/* ============ EXTRAS (ödeme + müsait) ============ */
.ilan-extras-card__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.ilan-extras-card__row:last-child {
  border-bottom: 0;
}
.ilan-extras-card__row strong {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ilan-extras-card__row span {
  color: var(--text);
  line-height: 1.5;
}


/* ============ RELATED İLANLAR ============ */
.ilan-related {
  margin-top: 2rem;
}


/* ============ STICKY MOBILE CTA SPACER ============ */
@media (max-width: 768px) {
  /* Mobile'da sticky bottom CTA geliyor → footer'a padding ekle */
  body.single-ilan,
  body.single-ilan #colophon,
  body.single-ilan footer {
    padding-bottom: 76px;
  }
}
