/*
Theme Name: BiayaBangun Starter
Theme URI: https://biayabangun.id/
Author: BiayaBangun
Description: Block theme ringan untuk website BiayaBangun — biaya bangun, harga material, RAB, kalkulator dan data lokal.
Version: 1.0.1
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: biayabangun-starter
*/

:root {
  --bb-border: #e5e7eb;
  --bb-muted: #667085;
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
a { text-underline-offset: 3px; }

.bb-card {
  border: 1px solid var(--bb-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,24,40,.04);
}
.bb-card:hover {
  box-shadow: 0 12px 32px rgba(16,24,40,.08);
  transform: translateY(-1px);
}
.bb-card, .bb-card:hover { transition: .18s ease; }

.bb-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(29,122,88,.10), transparent 32%),
    linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
}
.bb-kicker {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .78rem;
}
.bb-data-strip {
  border-top: 1px solid var(--bb-border);
  border-bottom: 1px solid var(--bb-border);
}
.bb-muted { color: var(--bb-muted); }
.bb-pill {
  display: inline-block;
  border-radius: 999px;
  padding: .35rem .7rem;
  background: #ecfdf3;
  color: #116149;
  font-weight: 600;
  font-size: .85rem;
}
.bb-section-space { margin-block: clamp(3rem, 7vw, 6rem); }
.bb-price-grid .wp-block-column { min-width: 0; }
.bb-footer-links a { text-decoration: none; }
.bb-footer-links a:hover { text-decoration: underline; }

@media (max-width: 781px) {
  .bb-mobile-stack { gap: 1rem !important; }
  .bb-hero h1 { font-size: clamp(2.2rem, 11vw, 3.6rem) !important; }
}


/* v0.1.2 responsive refinements */
html, body { overflow-x: hidden; }

@media (max-width: 1100px) {
  .bb-hero {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .bb-hero > .wp-block-columns,
  .bb-hero .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .bb-hero .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .bb-hero .wp-block-column + .wp-block-column {
    margin-top: 26px !important;
  }

  .bb-hero h1 {
    max-width: 820px;
  }

  header .wp-block-group.alignwide {
    row-gap: 14px;
  }

  header .wp-block-navigation {
    font-size: .9rem;
  }
}

@media (max-width: 760px) {
  .bb-hero {
    padding-top: 38px !important;
    padding-bottom: 42px !important;
  }

  .bb-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem) !important;
  }

  .bb-hero .has-large-font-size {
    font-size: 1.08rem !important;
  }

  .bb-card {
    border-radius: 12px;
  }

  .bb-data-strip .wp-block-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px !important;
  }

  .bb-data-strip .wp-block-column {
    margin: 0 !important;
  }
}

@media (max-width: 520px) {
  .bb-data-strip .wp-block-columns {
    grid-template-columns: 1fr;
  }
}


/* v1.0 final */
.bb-home-directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.bb-home-directory-box{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:24px}
.bb-home-directory-box h3{margin-top:0}
@media(max-width:820px){.bb-home-directory-grid{grid-template-columns:1fr}}


/* v1.0.1 contact intermediary */
.bb-admin-cta{border-radius:18px}
