/* ============================================================
   SOCIALE HUURWONING ARNHEM - Custom CSS
   Overschrijft conflicten tussen Realtor template en Bootstrap 5
   ============================================================ */

/* Reset hoofdletters van oude template */
h1,h2,h3,h4,h5,h6,
.navbar-nav .nav-link,
.btn,
.card-title,
.woning-card h5,
.woning-card h6 {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================
   KLEUREN
   ============================================================ */
:root {
  --sha-primary: #e8452c;
  --sha-dark: #c73820;
  --sha-navy: #1a1a2e;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: #1a1a2e;
  color: #bbb;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #2d2d4e;
}
.top-bar a { color: #bbb; text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ============================================================
   NAVIGATIE
   ============================================================ */
.navbar {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
  padding: 10px 0;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: #1a1a2e !important;
}
.navbar-brand span { color: var(--sha-primary); }
.navbar-brand small { font-size: 11px; color: #999 !important; font-weight: 400; display: block; }

.navbar-nav { gap: 5px; }
.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: .2s;
}
.navbar-nav .nav-link:hover {
  color: var(--sha-primary) !important;
  background: rgba(232,69,44,.06);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-sha-primary {
  background: var(--sha-primary) !important;
  border-color: var(--sha-primary) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  transition: .2s;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.btn-sha-primary:hover {
  background: var(--sha-dark) !important;
  border-color: var(--sha-dark) !important;
  color: #fff !important;
}
.btn-sha-outline {
  border: 2px solid var(--sha-primary) !important;
  color: var(--sha-primary) !important;
  background: transparent !important;
  font-weight: 600;
  border-radius: 6px;
  transition: .2s;
  text-transform: none !important;
}
.btn-sha-outline:hover {
  background: var(--sha-primary) !important;
  color: #fff !important;
}

/* Oude klassen ook fixen */
.btn-primary-custom {
  background: var(--sha-primary) !important;
  border-color: var(--sha-primary) !important;
  color: #fff !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 6px;
}
.btn-primary-custom:hover {
  background: var(--sha-dark) !important;
  border-color: var(--sha-dark) !important;
  color: #fff !important;
}

/* ============================================================
   HERO SECTIE
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  color: #fff;
  padding: 90px 0 70px;
}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: none;
  text-transform: none !important;
}
.hero-section h1 span { color: var(--sha-primary); }
.hero-section p { color: rgba(255,255,255,.8); font-size: 1.15rem; }

/* Zoekbox */
.search-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 35px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.search-box .form-label {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  margin-bottom: 6px;
  text-transform: none !important;
}
.search-box .form-select,
.search-box .form-control {
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  appearance: auto;
  -webkit-appearance: auto;
}
.search-box .form-select:focus,
.search-box .form-control:focus {
  border-color: var(--sha-primary);
  box-shadow: 0 0 0 3px rgba(232,69,44,.1);
  outline: none;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 30px 0;
}
.stats-bar h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sha-primary);
  margin-bottom: 4px;
  text-transform: none !important;
}
.stats-bar p { color: #666; margin: 0; font-size: 14px; }

/* ============================================================
   WONINGKAARTEN
   ============================================================ */
.woning-card {
  border: 1px solid #eee !important;
  border-radius: 10px !important;
  overflow: hidden;
  transition: .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.woning-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.12) !important;
  transform: translateY(-3px);
}
.woning-card .card-title,
.woning-card h5,
.woning-card h6 {
  font-weight: 700 !important;
  color: #1a1a2e !important;
  text-transform: none !important;
  font-size: 1rem;
}
.woning-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woning-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8f0fe, #f0f2f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

/* Status badges */
.badge-status {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: none !important;
}
.status-beschikbaar { background: #28a745; color: #fff; }
.status-verhuurd { background: #dc3545; color: #fff; }
.status-in_optie { background: #ffc107; color: #000; }
.status-gereserveerd { background: #17a2b8; color: #fff; }

.prijs-badge {
  color: var(--sha-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ============================================================
   SECTIE TITELS
   ============================================================ */
section h2 {
  font-weight: 800 !important;
  color: #1a1a2e !important;
  text-transform: none !important;
}

/* ============================================================
   CTA SECTIE
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--sha-primary), var(--sha-dark));
  color: #fff;
  padding: 70px 0;
}
.cta-section h2 { color: #fff !important; font-size: 2rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.btn-cta-white {
  background: #fff;
  color: var(--sha-primary) !important;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  transition: .2s;
  text-decoration: none;
  display: inline-block;
  text-transform: none !important;
}
.btn-cta-white:hover {
  background: #f0f0f0;
  color: var(--sha-dark) !important;
}

/* ============================================================
   HOE HET WERKT
   ============================================================ */
.stap-icoon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--sha-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.stap-icoon i { color: #fff; font-size: 1.6rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a1a2e !important;
  color: #999 !important;
  padding: 60px 0 20px !important;
}
footer h5 {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: none !important;
}
footer a { color: #999 !important; text-decoration: none; }
footer a:hover { color: #fff !important; }
footer ul.list-unstyled li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #666;
}

/* ============================================================
   BREADCRUMB & PAGINA HEADERS
   ============================================================ */
.pagina-header {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 25px 0;
}
.pagina-header h1 {
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  color: #1a1a2e !important;
  text-transform: none !important;
}
.breadcrumb-item a { color: var(--sha-primary); text-decoration: none; }

/* ============================================================
   FORMULIEREN ALGEMEEN
   ============================================================ */
.form-control:focus,
.form-select:focus {
  border-color: var(--sha-primary);
  box-shadow: 0 0 0 3px rgba(232,69,44,.1);
}
.form-label { font-weight: 600; font-size: 14px; color: #333; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-sha { color: var(--sha-primary) !important; }
.bg-sha { background: var(--sha-primary) !important; }

/* Verberg scrollbar flash bij sticky nav */
body { overflow-x: hidden; }

/* ============================================================
   WHATSAPP KNOP
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 9999;
  text-decoration: none;
  transition: .2s;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-btn:hover {
  background: #1da851;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
@keyframes whatsapp-pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,.7); }
}

/* ============================================================
   PAGINERING
   ============================================================ */
.page-link { color: var(--sha-primary); }
.page-item.active .page-link { background: var(--sha-primary); border-color: var(--sha-primary); }
.page-link:hover { color: var(--sha-dark); }

/* ============================================================
   BEZICHTIGING KNOP
   ============================================================ */
.btn-bezichtiging {
  background: #1a1a2e;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  transition: .2s;
}
.btn-bezichtiging:hover { background: #2d2d4e; color: #fff; }
