/* ============================================================
   SOCIALE HUURWONING AMSTERDAM - 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: #e30613;
  --sha-dark: #b9000b;
  --sha-navy: #090909;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: #090909;
  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: #090909 !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(227,6,19,.07);
}

/* ============================================================
   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, #050505 0%, #151515 50%, #090909 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(227,6,19,.12);
  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: #090909 !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: #090909 !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: #090909 !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: #090909 !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(227,6,19,.12);
}
.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: #090909;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  transition: .2s;
}
.btn-bezichtiging:hover { background: #2d2d4e; color: #fff; }

@media (max-width: 991.98px){.navbar-brand img{max-width:245px!important;height:48px!important}.navbar-collapse{padding:15px 0}.navbar .btn{margin-left:0!important;width:100%;margin-top:8px}.top-bar .text-end{text-align:left!important;margin-top:4px}}
@media (max-width: 420px){.navbar-brand img{max-width:205px!important;height:43px!important}.hero-section{padding:65px 0 50px}.hero-section h1{font-size:2.05rem}}

/* ============================================================
   HOMEPAGE SEO CONTENT - Sociale Huurwoning Amsterdam
   ============================================================ */
.home-hero {
  padding: 82px 0 68px;
  background:
    radial-gradient(circle at 12% 15%, rgba(227,6,19,.22), transparent 30%),
    radial-gradient(circle at 88% 75%, rgba(227,6,19,.12), transparent 28%),
    linear-gradient(135deg, #050505 0%, #161616 54%, #090909 100%);
}
.hero-kicker,
.section-eyebrow,
.cta-kicker {
  display: inline-block;
  color: var(--sha-primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.home-hero .hero-lead {
  max-width: 840px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
}
.home-hero .hero-subtext {
  max-width: 760px;
  color: rgba(255,255,255,.65);
  font-size: .98rem;
  line-height: 1.7;
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.6) !important;
  color: #fff !important;
  background: transparent !important;
  font-weight: 700;
  border-radius: 6px;
}
.btn-hero-outline:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: #090909 !important;
}
.section-heading { max-width: 760px; }
.section-heading p { color: #6c757d; font-size: 1.02rem; }
.home-info-section p,
.platform-section p,
.content-panel p {
  line-height: 1.8;
  color: #5c5c5c;
}
.info-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 8px 28px rgba(0,0,0,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
  border-color: rgba(227,6,19,.25);
}
.info-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(227,6,19,.09);
  color: var(--sha-primary);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.info-card h3,
.process-card h3,
.benefit-list strong,
.tips-card h3 {
  color: #090909;
}
.info-card h3,
.process-card h3 {
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: .55rem;
}
.info-card p,
.process-card p {
  margin: 0;
  color: #6a6a6a;
  line-height: 1.65;
  font-size: .92rem;
}
.process-card {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 28px 24px 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
}
.process-number {
  position: absolute;
  top: 12px;
  right: 17px;
  color: rgba(227,6,19,.10);
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 900;
}
.process-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090909;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.conditions-section { background: #fff; }
.content-panel {
  border-radius: 16px;
  border: 1px solid #ededed;
  padding: 38px;
  background: #f9f9f9;
}
.content-panel h2 { font-size: 1.75rem; }
.attention-box {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #fff;
  border-left: 4px solid var(--sha-primary);
  padding: 18px;
  border-radius: 8px;
  color: #383838;
  font-size: .94rem;
  line-height: 1.6;
}
.attention-box i { color: var(--sha-primary); margin-top: 3px; }
.dark-panel {
  background: #090909;
  border-color: #090909;
  color: #fff;
}
.dark-panel h2 { color: #fff !important; }
.dark-panel .section-eyebrow { color: #ff3b46; }
.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.condition-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  padding: 13px 14px;
  border-radius: 8px;
  font-size: .92rem;
}
.condition-grid i { color: #ff3b46; }
.dark-panel .panel-note {
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  margin-bottom: 0;
}
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.neighborhood-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #151515;
  transition: .2s ease;
}
.neighborhood-card:hover {
  color: #151515;
  border-color: rgba(227,6,19,.4);
  box-shadow: 0 9px 26px rgba(0,0,0,.07);
  transform: translateY(-2px);
}
.neighborhood-card > i:first-child {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227,6,19,.09);
  color: var(--sha-primary);
}
.neighborhood-card span { flex: 1; display: flex; flex-direction: column; }
.neighborhood-card strong { font-size: .98rem; }
.neighborhood-card small { color: #777; margin-top: 3px; }
.neighborhood-arrow { color: #aaa; font-size: .8rem; }
.benefit-list { display: grid; gap: 14px; margin-top: 25px; }
.benefit-list > div {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.benefit-list > div > i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--sha-primary);
}
.benefit-list span { display: flex; flex-direction: column; }
.benefit-list strong { font-size: .98rem; }
.benefit-list small { color: #737373; margin-top: 3px; line-height: 1.5; }
.tips-card {
  background: #f5f5f5;
  border-radius: 18px;
  padding: 38px;
  border-top: 5px solid var(--sha-primary);
}
.tips-label {
  display: inline-block;
  background: #090909;
  color: #fff;
  padding: 6px 11px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 5px;
  margin-bottom: 16px;
}
.tips-card h3 { font-size: 1.55rem; font-weight: 800; }
.tips-card ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 11px; }
.tips-card li { position: relative; padding-left: 27px; color: #454545; line-height: 1.55; }
.tips-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--sha-primary);
}
.home-cta p { max-width: 780px; }
.home-cta .cta-kicker { color: #fff; opacity: .82; }
.btn-cta-dark {
  background: #090909 !important;
  border: 2px solid #090909 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
}
.btn-cta-dark:hover { background: #222 !important; border-color: #222 !important; }
.faq-accordion { max-width: 900px; }
.faq-accordion .accordion-item {
  border: 1px solid #e7e7e7;
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.035);
}
.faq-accordion .accordion-button {
  font-weight: 750;
  color: #111;
  padding: 20px 22px;
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--sha-primary);
  background: rgba(227,6,19,.045);
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-body {
  padding: 0 22px 22px;
  color: #5c5c5c;
  line-height: 1.75;
}

@media (max-width: 991.98px) {
  .home-hero { padding: 66px 0 55px; }
  .home-hero .hero-lead { font-size: 1.08rem; }
  .content-panel, .tips-card { padding: 30px; }
}
@media (max-width: 767.98px) {
  .home-hero h1 { font-size: 2.1rem !important; }
  .home-hero .search-box { padding: 22px 18px; }
  .condition-grid, .neighborhood-grid { grid-template-columns: 1fr; }
  .content-panel, .tips-card { padding: 25px 21px; }
  .home-listings .d-flex.align-items-end { align-items: flex-start !important; }
}
