/* static/website/themes/bcn/bcn.css */

/* -------- Base -------- */
:root{
  --bh-blue: #0b5cc9;
  --bh-blue-dark: #084aa4;
  --bh-blue-soft: #e7f0ff;
  --bh-text: #1b2430;
  --bh-muted: #5c6a7a;
  --bh-card: #ffffff;
  --bh-border: #d9e2ef;
  --bh-shadow: 0 10px 30px rgba(14, 30, 55, .10);
  --bh-radius: 18px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body.bh-body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--bh-text);
  background: #f3f6fb;
}

/* Container */
.bh-container{
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

/* -------- Topbar (optional) -------- */
.bh-topbar{
  background: linear-gradient(90deg, #6a38ff, #38c0ff);
  color: #fff;
  font-size: 12px;
}
.bh-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.bh-topbar__link{ color:#fff; text-decoration:none; opacity:.95; margin-left:10px; }
.bh-topbar__link:hover{ opacity:1; text-decoration:underline; }
.bh-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  margin-right: 8px;
}
.bh-pill--warn{ background: rgba(255, 208, 0, .22); border-color: rgba(255, 208, 0, .40); }

/* -------- Header -------- */
.bh-header{
  background: #ffffff;
  border-bottom: 1px solid var(--bh-border);
}
.bh-header__grid{
  display:grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 14px;
  align-items:center;
  padding: 14px 0;
}

.bh-brand__link{ text-decoration:none; color:inherit; display:inline-flex; align-items:center; }
.bh-brand__logo{ max-height: 70px; width:auto; display:block; }
.bh-brand__text{
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--bh-blue);
}

.bh-search__form{
  display:flex;
  align-items:center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid #f0b7bf; /* slight pink outline like screenshot */
  border-radius: 999px;
  padding: 6px 10px;
}
.bh-search__input{
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 14px;
  padding: 8px 8px;
}
.bh-search__btn{
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
}

.bh-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 8px;
}
.bh-phone{
  display:flex;
  align-items:center;
  gap: 8px;
  color: #e21d2d;
  font-weight: 800;
}
.bh-phone__icon{ font-size: 16px; }
.bh-social{ display:flex; gap: 8px; }
.bh-social__btn{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

/* -------- Nav pill bar -------- */
.bh-nav{
  padding: 10px 0 16px 0;
  background: #ffffff;
}
.bh-nav__inner{
  background: var(--bh-blue);
  border-radius: 999px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  box-shadow: 0 8px 22px rgba(11, 92, 201, .25);
}
.bh-nav__link{
  color:#fff;
  text-decoration:none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.bh-nav__link:hover{
  background: rgba(255,255,255,.12);
}
.bh-nav__cta{
  margin-left:auto;
  background: #ff4b5c;
  color:#fff;
  text-decoration:none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 18px rgba(255, 75, 92, .25);
}
.bh-nav__cta:hover{ filter: brightness(1.02); }

/* -------- Main -------- */
.bh-main{
  padding: 20px 0 40px 0;
}

/* Typography */
.bh-h1{
  margin: 0;
  font-size: 34px;
  text-align:center;
  color: var(--bh-blue);
  font-weight: 1000;
  letter-spacing: .2px;
}
.bh-subtitle{
  margin: 10px 0 0 0;
  text-align:center;
  color: var(--bh-muted);
  line-height: 1.6;
}
.bh-muted{ color: var(--bh-muted); }

/* Cards / sections */
.bh-card{
  background: var(--bh-card);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius);
  padding: 16px;
  box-shadow: var(--bh-shadow);
}
.bh-section{ margin: 24px 0; }
.bh-section--tight{ margin: 16px 0 20px; }

.bh-page{
  padding-top: 10px;
}

/* Rich text */
.bh-richtext{
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius);
  padding: 18px;
  box-shadow: var(--bh-shadow);
}
.bh-richtext p{ color: var(--bh-text); line-height: 1.7; }

/* -------- Category grid like screenshot tiles -------- */
.bh-category-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.bh-category-tile{
  text-decoration:none;
  color: inherit;
  background: #fff;
  border: 2px solid #d7e3f5;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 24px rgba(14, 30, 55, .10);
  transition: transform .08s ease, box-shadow .08s ease;
}
.bh-category-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14, 30, 55, .14);
}
.bh-category-tile__img{
  border-radius: 14px;
  overflow:hidden;
  background: #f5f8ff;
  height: 120px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bh-category-tile__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.bh-category-tile__placeholder{
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbe9ff, #f0f6ff);
  border: 1px solid #cfe0ff;
}
.bh-category-tile__label{
  margin-top: 10px;
  text-align:center;
  font-weight: 900;
  color: var(--bh-blue);
  font-size: 13px;
}

/* -------- Footer -------- */
.bh-footer{
  background: #ffffff;
  border-top: 1px solid var(--bh-border);
}
.bh-footer__inner{
  padding: 16px 0;
}
.bh-footer__links{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap:wrap;
  font-size: 12px;
  margin-bottom: 10px;
}
.bh-footer__links a{
  color: var(--bh-muted);
  text-decoration:none;
}
.bh-footer__links a:hover{ text-decoration:underline; }

.bh-footer__meta{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--bh-muted);
}
.bh-footer__powered{ text-align:right; }

/* -------- Responsive -------- */
@media (max-width: 980px){
  .bh-header__grid{
    grid-template-columns: 1fr;
    align-items:stretch;
  }
  .bh-contact{
    align-items:flex-start;
    flex-direction:row;
    justify-content:space-between;
  }
  .bh-nav__cta{ margin-left: 0; }
  .bh-category-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .bh-category-grid{ grid-template-columns: 1fr; }
  .bh-brand__text{ font-size: 28px; }
}
