/* ==============================================
   DETAIL PAGE – demir-hurda.html (ve diğerleri)
   ============================================== */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,37,69,.92) 50%, rgba(13,71,161,.75) 100%);
  z-index: 1;
}
.page-hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.page-hero__icon {
  width: 56px; height: 56px;
  background: var(--base);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  margin-bottom: 20px;
}
.page-hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: var(--letter);
  margin-bottom: 16px;
}
.page-hero__text {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 24px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.6);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--base); }
.breadcrumb i { font-size: 12px; color: rgba(255,255,255,.4); }

.page-hero__price-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 32px 28px;
  min-width: 240px;
  text-align: center;
}
.page-hero__price-label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.page-hero__price-val {
  font-size: 52px; font-weight: 900;
  color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.page-hero__price-val span { font-size: 22px; font-weight: 600; color: rgba(255,255,255,.6); }
.page-hero__price-note {
  font-size: 11px; color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}

/* ===== DETAIL LAYOUT ===== */
.detail-layout__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: flex-start;
}

/* ===== DETAIL CONTENT ===== */
.detail-block {
  margin-bottom: 56px;
}
.detail-block:last-child { margin-bottom: 0; }
.detail-block p {
  font-size: 15px; line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}
.detail-block p:last-child { margin-bottom: 0; }
.detail-block__title {
  font-size: 22px; font-weight: 800;
  color: var(--black);
  letter-spacing: var(--letter);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

/* Types grid */
.detail-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-type {
  display: flex; align-items: flex-start; gap: 14px;
  background: #f5f8fc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.detail-type:hover {
  border-color: var(--base);
  box-shadow: 0 4px 20px rgba(21,101,192,.08);
}
.detail-type__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--base);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.detail-type strong {
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.detail-type p {
  font-size: 13px; color: var(--text-gray);
  margin: 0 !important;
  line-height: 1.5;
}

/* Steps */
.detail-steps {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.detail-steps::before {
  content: '';
  position: absolute;
  left: 22px; top: 44px; bottom: 44px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
.detail-step {
  display: flex; gap: 20px; align-items: flex-start;
  position: relative; z-index: 1;
  padding: 0 0 32px;
}
.detail-step:last-child { padding-bottom: 0; }
.detail-step__num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--base);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--base);
}
.detail-step__body h4 {
  font-size: 16px; font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
  padding-top: 10px;
}
.detail-step__body p {
  font-size: 14px; color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* sec-title small */
.sec-title--sm .sec-title__title { font-size: clamp(26px, 3vw, 36px); }
.sec-title--center { text-align: center; }
.sec-title--center .sec-title__top { justify-content: center; }

/* ===== SIDEBAR ===== */
.detail-sidebar {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: calc(var(--hdr-h) + 20px);
}

/* Price card */
.sidebar-price-card {
  background: var(--black);
  border-radius: 12px;
  padding: 28px 24px;
}
.sidebar-price-card__head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
}
.sidebar-price-card__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--base);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.sidebar-price-card__label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}
.sidebar-price-card__val {
  font-size: 40px; font-weight: 900;
  color: #fff; line-height: 1;
}
.sidebar-price-card__val span { font-size: 18px; color: rgba(255,255,255,.5); font-weight: 600; }
.sidebar-price-card__note {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.sidebar-price-card__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 20px;
}
.sidebar-price-card__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85);
}
.sidebar-price-card__list li i { color: var(--base); font-size: 18px; }
.sidebar-price-card__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.sidebar-cta-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
}
.sidebar-cta-btn i {
  font-size: 26px; flex-shrink: 0;
  line-height: 1;
}
.sidebar-cta-btn span {
  display: flex; flex-direction: column;
}
.sidebar-cta-btn small {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  opacity: .7;
  display: block;
}
.sidebar-cta-btn span > b,
.sidebar-cta-btn span:not(small) {
  font-size: 15px; font-weight: 800;
  line-height: 1.2;
}
.sidebar-cta-btn--phone {
  background: var(--base);
  color: #fff;
}
.sidebar-cta-btn--phone:hover { background: var(--primary); color: #fff; }
.sidebar-cta-btn--wa {
  background: #25D366;
  color: #fff;
}
.sidebar-cta-btn--wa:hover { background: #1ebe5d; color: #fff; }

/* legacy — still used in page-hero */
.btn-outline-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.btn-outline-wa:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* Form */
.sidebar-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.sidebar-form__title {
  font-size: 18px; font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.sidebar-form__body { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px; font-family: var(--ff);
  color: var(--black);
  background: #f9fbfd;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--base); background: #fff; }
.form-group textarea { resize: vertical; }

/* Regions */
.sidebar-regions {
  background: #f5f8fc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
}
.sidebar-regions__title {
  font-size: 15px; font-weight: 800;
  color: var(--black);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.sidebar-regions__title i { color: var(--base); }
.sidebar-regions__tags {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.sidebar-regions__tags span {
  font-size: 12px; font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  color: var(--black);
}
.sidebar-regions__tags span:last-child {
  background: var(--base); border-color: var(--base); color: #fff;
}

/* ===== OTHER SERVICES ===== */
.other-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ===== ACCORDION (detail page override — beyaz bg) ===== */
.detail-content .accordion-item {
  border-bottom: 1px solid var(--border);
}
.detail-content .accordion-item:first-child {
  border-top: 1px solid var(--border);
}
.detail-content .accordion-q {
  color: var(--black);
}
.detail-content .accordion-q:hover { color: var(--base); }
.detail-content .accordion-item.open .accordion-q { color: var(--base); }
.detail-content .accordion-icon {
  background: var(--border);
}
.detail-content .accordion-item.open .accordion-icon {
  background: var(--base);
}
.detail-content .accordion-a p {
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .detail-layout__inner { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .other-services__grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__price-badge { max-width: 360px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 60px 0 50px; }
  .detail-types { grid-template-columns: 1fr; }
  .other-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .other-services__grid { grid-template-columns: 1fr; }
  .page-hero__price-badge { max-width: 100%; }
}
