/* Hurda Fiyatlarımız - Özel stiller
   Tailwind CDN'e ek olarak kullanılan yardımcı stiller. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Rehber/SEO içerik tipografisi */
.prose-custom h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}

.prose-custom h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.prose-custom p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #475569;
}

.prose-custom strong {
  color: #0a774b;
}

.prose-custom a {
  color: #0a774b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-custom a:hover {
  color: #16b870;
}

/* Fiyat tablosu kartları */
.price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px -12px rgba(2, 43, 29, 0.12);
}

.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #0a955b, #0b4d34);
  color: #fff;
}

.price-card__title {
  font-weight: 800;
  font-size: 1.05rem;
}

.price-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table thead th {
  text-align: right;
  font-weight: 600;
  color: #64748b;
  padding: 0.6rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-table thead th:first-child {
  text-align: left;
}

.price-table tbody td {
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: right;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.price-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #334155;
}

.price-table tbody tr:hover {
  background: #f0fdf4;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

/* Arama sonucu boş */
.price-empty {
  padding: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Fiyat değişim renkleri */
.price-up { color: #16b870; }
.price-down { color: #ef4444; }

/* Scroll ile beliren animasyonlar */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Kart hover kaldırma efekti */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px -22px rgba(2, 43, 29, 0.35);
}

/* Süreç adımları bağlantı çizgisi */
.step-line::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b0f1ce, transparent);
}
@media (max-width: 767px) {
  .step-line::before { display: none; }
}

/* Metal türü kartı ikon rozeti */
.metal-badge {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.9rem;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

/* Erişilebilirlik odak halkası */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #16b870;
  outline-offset: 2px;
}

/* Mobil menü açık durumu */
#mobile-menu.is-open {
  display: flex;
}

@media (max-width: 640px) {
  .price-table {
    font-size: 0.82rem;
  }
  .price-table thead th,
  .price-table tbody td {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}
