/*
 * Termessos Yapı Market — site özel stilleri
 * style.css (tema) üzerine eklenir; temayı değiştirmez.
 */

/* --- Genel iyileştirmeler --- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.section-title {
  position: relative;
  font-weight: 700;
  margin-bottom: .35rem;
}
.section-header .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--bs-primary);
  margin-top: .6rem;
}

/* Üst şerit */
.topbar a:hover { color: #fff !important; text-decoration: underline; }

/* Sticky header gölgesi yumuşatma */
header.sticky-top { z-index: 1030; }

/* --- Hero alanları --- */
.hero-home {
  background-image: linear-gradient(rgba(54,65,39,.65), rgba(54,65,39,.78)), url('../images/banner-bg.jpg');
  background-size: cover;
  background-position: center;
}
.category-hero, .local-hero { position: relative; }

/* --- Ana sayfa kategori grid kutuları --- */
.category-tile, .item-card, .feature-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-tile:hover, .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,.10);
}
.item-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.category-tile i { transition: transform .25s ease; }
.category-tile:hover i { transform: scale(1.12); }

/* Büyük kategori kartı (ana sayfa / kategoriler) */
.cat-grid-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
}
.cat-grid-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-grid-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(54,65,39,.92) 0%, rgba(54,65,39,.35) 55%, rgba(54,65,39,.1) 100%);
}
.cat-grid-card:hover img { transform: scale(1.08); }
.cat-grid-card .cat-grid-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.cat-grid-card .cat-grid-body i { font-size: 1.6rem; }
.cat-grid-card h3 { color: #fff; font-size: 1.15rem; margin: .35rem 0 0; }

/* --- İstatistik / güven bandı --- */
.stat-box { padding: 1.25rem; }
.stat-box .stat-num { font-size: 2rem; font-weight: 700; color: var(--bs-primary); line-height: 1; }

/* --- Arama etiketleri --- */
.tag-cloud .btn { border-radius: 50rem; }

/* --- WhatsApp yüzen buton --- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(37,211,102,.45);
  z-index: 1040;
  transition: transform .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* --- Footer linkleri --- */
footer a.text-light-emphasis:hover { color: var(--bs-primary) !important; }

/* --- Responsive ince ayar --- */
@media (max-width: 575.98px) {
  .display-4 { font-size: 2rem; }
  .display-5 { font-size: 1.6rem; }
  .category-hero, .local-hero { text-align: left; }
}

/* Bootstrap alpha'da olmayabilen yardımcı sınıf */
.text-light-emphasis { color: rgba(255,255,255,.72); }
.fw-medium { font-weight: 500; }
.object-fit-cover { object-fit: cover; }
