/* ============================================================
   RentFromGhana.com — Main Stylesheet
   ============================================================ */

/* ---- GLOBAL ---- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #212529;
  background: #f8f9fa;
}

a { color: #198754; }
a:hover { color: #0f5132; }

/* ---- HERO ---- */
.hero-section {
  background: linear-gradient(135deg, #0f5132 0%, #198754 50%, #20c997 100%);
  min-height: 420px;
  padding: 60px 0;
}

/* ---- STATS ---- */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #198754;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 4px;
}

/* ---- PROPERTY CARDS ---- */
.property-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px !important;
  overflow: hidden;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.property-thumb {
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.property-main-img {
  height: 420px;
  object-fit: cover;
  width: 100%;
}

/* ---- REGION CARDS ---- */
.region-card-inner {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 12px !important;
}

.region-card:hover .region-card-inner {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10) !important;
}

/* ---- SIDEBAR FILTERS ---- */
.list-group-item.active {
  background-color: #198754;
  border-color: #198754;
}

/* ---- PAGINATION ---- */
.page-item.active .page-link {
  background-color: #198754;
  border-color: #198754;
}

.page-link {
  color: #198754;
}

.page-link:hover {
  color: #0f5132;
}

/* ---- DASHBOARD ---- */
.dashboard-stat {
  border-left: 4px solid #198754;
  border-radius: 8px;
}

/* ---- FEATHER ICONS ---- */
.feather-sm {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

/* Inline feather inside text */
svg.feather {
  vertical-align: -2px;
}

/* ---- FORMS ---- */
.form-control:focus,
.form-select:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.2);
}

.btn-success {
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  background-color: #157347;
  border-color: #146c43;
}

.btn-outline-success {
  color: #198754;
  border-color: #198754;
}

.btn-outline-success:hover {
  background-color: #198754;
  border-color: #198754;
}

/* ---- NAVBAR ---- */
.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.3px;
}

.nav-link:hover {
  color: #198754 !important;
}

/* ---- BADGES ---- */
.badge {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2px;
}

/* ---- FOOTER ---- */
footer a:hover {
  color: #20c997 !important;
}

/* ---- PROSE CONTENT (Legal pages) ---- */
.prose-content p,
.prose-content li {
  line-height: 1.8;
  color: #444;
}

.prose-content h5 {
  color: #198754;
}

/* ---- ALERTS ---- */
.alert {
  border-radius: 8px;
}

/* ---- TABLES ---- */
.table th {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6c757d;
}

/* ---- CAROUSEL ---- */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  opacity: 0.85;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 576px) {
  .hero-section { min-height: 360px; padding: 40px 0; }
  .hero-section h1 { font-size: 1.6rem; }
  .property-main-img { height: 260px; }
  .stat-number { font-size: 1.5rem; }
}
