/*
  Patios Ipswich — Component Library
  Industry: outdoor living / patios, decking, pergolas, carports, verandahs
  Location: Ipswich, Queensland, Australia
  Palette concept: sun-baked timber & eucalyptus — a deep bushland-green anchor,
  a burnt-terracotta/timber-stain accent, and warm sand/paper neutrals evoking
  hardwood decking, Queenslander verandahs and the Ipswich summer light.
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  /* ---- Brand tokens ---- */
  --bc-primary:        #2c3a2c;   /* deep eucalyptus / bushland green */
  --bc-primary-dark:   #1b2419;
  --bc-primary-light:  #4a5c46;
  --bc-accent:         #a85a1a;   /* burnt terracotta / timber stain */
  --bc-accent-dark:    #7e4310;
  --bc-accent-light:   #d98a4a;

  --bc-paper:          #faf6ee;   /* warm sand paper */
  --bc-surface:        #f1e9da;   /* deeper sand surface for banding */
  --bc-surface-dark:   #e7dcc6;
  --bc-ink:            #241f18;   /* warm near-black */
  --bc-ink-soft:       #5b5346;   /* muted warm brown-grey */
  --bc-line:           #e0d5bf;   /* hairline on paper */
  --bc-line-dark:      rgba(255,255,255,.14);

  --bc-white:          #ffffff;
  --bc-success:        #2f6b3f;

  /* ---- Type ---- */
  --bc-font-display: 'Fraunces', 'Georgia', serif;
  --bc-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bc-fs-h1: clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem);
  --bc-fs-h2: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --bc-fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --bc-fs-lede: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --bc-fs-body: 1rem;
  --bc-fs-small: 0.875rem;
  --bc-lh-tight: 1.15;
  --bc-lh-normal: 1.6;

  /* ---- Space scale ---- */
  --bc-space-1: 0.25rem;
  --bc-space-2: 0.5rem;
  --bc-space-3: 0.75rem;
  --bc-space-4: 1rem;
  --bc-space-5: 1.5rem;
  --bc-space-6: 2rem;
  --bc-space-7: 3rem;
  --bc-space-8: 4rem;
  --bc-space-9: 6rem;

  --bc-radius-s: 6px;
  --bc-radius-m: 12px;
  --bc-radius-l: 20px;

  --bc-shadow-s: 0 1px 3px rgba(36,31,24,.10);
  --bc-shadow-m: 0 8px 24px rgba(36,31,24,.14);
  --bc-shadow-l: 0 16px 40px rgba(36,31,24,.20);

  --bc-container-w: 1180px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-normal);
  color: var(--bc-ink);
  background: var(--bc-paper);
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: var(--bc-accent-dark); }
h1,h2,h3,h4{
  font-family: var(--bc-font-display);
  line-height: var(--bc-lh-tight);
  margin: 0 0 var(--bc-space-4);
  color: var(--bc-primary-dark);
  font-weight: 600;
}
h1{ font-size: var(--bc-fs-h1); }
h2{ font-size: var(--bc-fs-h2); }
h3{ font-size: var(--bc-fs-h3); }
p{ margin: 0 0 var(--bc-space-4); }
ul,ol{ margin:0 0 var(--bc-space-4); padding-left: 1.25em; }

/* =========================================================
   CONTAINER
   ========================================================= */
.bc-container{
  width:100%;
  max-width: var(--bc-container-w);
  margin-inline:auto;
  padding-inline: var(--bc-space-5);
}

/* =========================================================
   EYEBROW
   ========================================================= */
.bc-eyebrow{
  display:inline-flex;
  align-items:center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-body);
  font-weight:700;
  font-size: var(--bc-fs-small);
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--bc-accent-dark);
  margin-bottom: var(--bc-space-3);
}
.bc-eyebrow::before{
  content:"";
  width:28px; height:2px;
  background: var(--bc-accent);
  display:inline-block;
}
.bc-eyebrow--onDark{ color: var(--bc-accent-light); }
.bc-eyebrow--onDark::before{ background: var(--bc-accent-light); }

/* =========================================================
   BUTTONS
   ========================================================= */
.bc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-body);
  font-weight:700;
  font-size: 1rem;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  border-radius: var(--bc-radius-s);
  padding: 0.9em 1.6em;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.bc-btn:hover{ transform: translateY(-1px); }
.bc-btn:focus-visible{ outline: 3px solid var(--bc-accent-light); outline-offset:2px; }

.bc-btn--primary{
  background: var(--bc-primary);
  color: var(--bc-white);
  box-shadow: var(--bc-shadow-s);
}
.bc-btn--primary:hover{ background: var(--bc-primary-dark); box-shadow: var(--bc-shadow-m); }

.bc-btn--accent{
  background: var(--bc-accent);
  color: var(--bc-white);
  box-shadow: var(--bc-shadow-s);
}
.bc-btn--accent:hover{ background: var(--bc-accent-dark); box-shadow: var(--bc-shadow-m); }

.bc-btn--ghost{
  background: transparent;
  color: var(--bc-white);
  border-color: rgba(255,255,255,.6);
}
.bc-btn--ghost:hover{ background: rgba(255,255,255,.12); border-color: var(--bc-white); }

.bc-btn--outline{
  background: transparent;
  color: var(--bc-primary);
  border-color: var(--bc-primary);
}
.bc-btn--outline:hover{ background: var(--bc-primary); color: var(--bc-white); }

/* =========================================================
   SITE SHELL — HEADER / NAV / FOOTER
   ========================================================= */
.site-header{
  background: var(--bc-paper);
  border-bottom: 1px solid var(--bc-line);
  position: sticky;
  top:0;
  z-index: 100;
}
.site-header__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--bc-space-5);
  padding-block: var(--bc-space-3);
}
.site-header__logo{
  font-family: var(--bc-font-display);
  font-weight:700;
  font-size:1.4rem;
  color: var(--bc-primary-dark);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap: var(--bc-space-2);
}
.site-header__logo small{
  display:block;
  font-family: var(--bc-font-body);
  font-weight:600;
  font-size: 0.65rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--bc-accent-dark);
}

.site-nav{ display:flex; align-items:center; gap: var(--bc-space-6); }
.site-nav__list{
  list-style:none;
  display:flex;
  gap: var(--bc-space-5);
  margin:0; padding:0;
}
.site-nav__list a{
  color: var(--bc-ink);
  text-decoration:none;
  font-weight:600;
  font-size: 0.95rem;
}
.site-nav__list a:hover{ color: var(--bc-accent-dark); }
.site-nav__toggle{ display:none; }

.site-footer{
  background: var(--bc-primary-dark);
  color: rgba(255,255,255,.85);
  padding-block: var(--bc-space-8) var(--bc-space-6);
}
.site-footer a{ color: var(--bc-white); }
.site-footer h3,.site-footer h4{ color: var(--bc-white); }
.site-footer__grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--bc-space-7);
  margin-bottom: var(--bc-space-7);
}
.site-footer__bottom{
  border-top:1px solid var(--bc-line-dark);
  padding-top: var(--bc-space-5);
  font-size: var(--bc-fs-small);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: var(--bc-space-3);
  color: rgba(255,255,255,.6);
}

/* =========================================================
   HERO
   ========================================================= */
.bc-hero{
  position:relative;
  color: var(--bc-white);
  background: linear-gradient(150deg, var(--bc-primary) 0%, var(--bc-primary-dark) 100%);
  padding-block: var(--bc-space-9);
  overflow:hidden;
}
.bc-hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 82% 20%, rgba(168,90,26,.35), transparent 55%);
  pointer-events:none;
}
.bc-hero__inner{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-space-7);
  align-items:center;
}
.bc-hero__copy p{ color: rgba(255,255,255,.88); font-size: var(--bc-fs-lede); }
.bc-hero h1{ color: var(--bc-white); }
.bc-hero__actions{ display:flex; gap: var(--bc-space-4); flex-wrap:wrap; margin-top: var(--bc-space-5); }
.bc-hero__media{
  border-radius: var(--bc-radius-l);
  overflow:hidden;
  box-shadow: var(--bc-shadow-l);
  aspect-ratio: 4/3;
}
.bc-hero__media img{ width:100%; height:100%; object-fit:cover; }
.bc-hero--imageOnly{ background: var(--bc-primary-dark); }

/* =========================================================
   PROSE
   ========================================================= */
.bc-prose{ padding-block: var(--bc-space-8); }
.bc-prose__inner{ max-width: 760px; }
.bc-prose--center .bc-prose__inner{ margin-inline:auto; text-align:center; }
.bc-prose--has-color{ background: var(--bc-surface); }
.bc-prose--dark{ background: var(--bc-primary-dark); color: rgba(255,255,255,.88); }
.bc-prose--dark h2, .bc-prose--dark h3{ color: var(--bc-white); }
.bc-prose--with-image .bc-prose__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-7);
  align-items:center;
  max-width:none;
}
.bc-prose--with-image img{ border-radius: var(--bc-radius-m); box-shadow: var(--bc-shadow-m); }

/* =========================================================
   GRID
   ========================================================= */
.bc-grid{ padding-block: var(--bc-space-8); }
.bc-grid__head{ max-width: 640px; margin-bottom: var(--bc-space-6); }
.bc-grid__head--center{ max-width: 640px; margin-inline:auto; text-align:center; }
.bc-grid__list{
  display:grid;
  gap: var(--bc-space-5);
  grid-template-columns: repeat(2, 1fr);
}
.bc-grid--2col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col .bc-grid__list{ grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col .bc-grid__list{ grid-template-columns: repeat(4, 1fr); }

.bc-grid__card{
  background: var(--bc-white);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-m);
  padding: var(--bc-space-5);
  box-shadow: var(--bc-shadow-s);
  transition: box-shadow .2s ease, transform .2s ease;
}
.bc-grid__card:hover{ box-shadow: var(--bc-shadow-m); transform: translateY(-2px); }
.bc-grid__card h3{ font-size: 1.15rem; margin-bottom: var(--bc-space-2); }
.bc-grid__card p{ color: var(--bc-ink-soft); margin-bottom:0; font-size: var(--bc-fs-small); }
.bc-grid__card-img{
  width: calc(100% + 2 * var(--bc-space-5));
  margin: calc(-1 * var(--bc-space-5)) calc(-1 * var(--bc-space-5)) var(--bc-space-4);
  border-radius: var(--bc-radius-m) var(--bc-radius-m) 0 0;
  aspect-ratio: 16/10;
  object-fit:cover;
}
.bc-grid__icon{
  width:48px; height:48px;
  border-radius: var(--bc-radius-s);
  background: var(--bc-surface);
  color: var(--bc-accent-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin-bottom: var(--bc-space-3);
}
.bc-grid--text-only .bc-grid__card{ background: transparent; border:none; box-shadow:none; padding: 0 0 var(--bc-space-4); }
.bc-grid--imaged .bc-grid__card{ padding: var(--bc-space-5); }

/* =========================================================
   FAQ
   ========================================================= */
.bc-faq{ padding-block: var(--bc-space-8); background: var(--bc-surface); }
.bc-faq__inner{ max-width: 820px; margin-inline:auto; }
.bc-faq__list{ display:flex; flex-direction:column; gap: var(--bc-space-3); }
.bc-faq__item{
  background: var(--bc-white);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-m);
  padding: var(--bc-space-5);
}
.bc-faq__q{
  font-family: var(--bc-font-display);
  font-weight:600;
  font-size: 1.1rem;
  margin:0 0 var(--bc-space-2);
  color: var(--bc-primary-dark);
  display:flex;
  align-items:baseline;
  gap: var(--bc-space-2);
}
.bc-faq__q::before{ content:"Q."; color: var(--bc-accent); font-weight:700; }
.bc-faq__a{ margin:0; color: var(--bc-ink-soft); }

/* =========================================================
   GALLERY
   ========================================================= */
.bc-gallery{ padding-block: var(--bc-space-8); }
.bc-gallery__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-4);
}
.bc-gallery__cell{
  position:relative;
  border-radius: var(--bc-radius-m);
  overflow:hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--bc-shadow-s);
}
.bc-gallery__cell img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.bc-gallery__cell:hover img{ transform: scale(1.05); }
.bc-gallery__caption{
  position:absolute; inset:auto 0 0 0;
  padding: var(--bc-space-3) var(--bc-space-4);
  background: linear-gradient(0deg, rgba(27,36,25,.85), transparent);
  color: var(--bc-white);
  font-size: var(--bc-fs-small);
  font-weight:600;
}

/* =========================================================
   VIDEO
   ========================================================= */
.bc-video{ padding-block: var(--bc-space-8); background: var(--bc-primary-dark); color: rgba(255,255,255,.88); }
.bc-video h2{ color: var(--bc-white); }
.bc-video__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-7);
  align-items:center;
}
.bc-video__player{
  border-radius: var(--bc-radius-m);
  overflow:hidden;
  box-shadow: var(--bc-shadow-l);
}
.bc-video__frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background: #000;
}
.bc-video__frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}

/* =========================================================
   MAP
   ========================================================= */
.bc-map{ padding-block: var(--bc-space-8); }
.bc-map__grid{
  display:grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--bc-space-7);
  align-items:stretch;
}
.bc-map__info{
  background: var(--bc-surface);
  border-radius: var(--bc-radius-m);
  padding: var(--bc-space-6);
}
.bc-map__addr{ font-style:normal; color: var(--bc-ink-soft); line-height:1.8; }
.bc-map__addr strong{ display:block; color: var(--bc-ink); font-size:1.05rem; }
.bc-map__frame{
  border-radius: var(--bc-radius-m);
  overflow:hidden;
  min-height:320px;
  box-shadow: var(--bc-shadow-s);
}
.bc-map__frame iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.bc-testimonial{ padding-block: var(--bc-space-8); }
.bc-testimonial__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-5);
}
.bc-testimonial__card{
  background: var(--bc-white);
  border-radius: var(--bc-radius-m);
  border: 1px solid var(--bc-line);
  padding: var(--bc-space-5);
  position:relative;
}
.bc-testimonial__stars{ color: var(--bc-accent); letter-spacing:.15em; margin-bottom: var(--bc-space-3); }
.bc-testimonial__quote{ color: var(--bc-ink); margin-bottom: var(--bc-space-4); }
.bc-testimonial__name{ font-weight:700; color: var(--bc-primary-dark); font-size: var(--bc-fs-small); }
.bc-testimonial__role{ color: var(--bc-ink-soft); font-size: var(--bc-fs-small); }

/* =========================================================
   FORMBAND
   ========================================================= */
.bc-formband{ padding-block: var(--bc-space-9); background: var(--bc-primary); color: var(--bc-white); }
.bc-formband__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-7);
  align-items:center;
}
.bc-formband__title{ color: var(--bc-white); }
.bc-formband__lede{ color: rgba(255,255,255,.85); font-size: var(--bc-fs-lede); }
.bc-formband__form{
  background: var(--bc-white);
  border-radius: var(--bc-radius-l);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow-l);
  color: var(--bc-ink);
  display:grid;
  gap: var(--bc-space-4);
}
.bc-formband--intro{ background: var(--bc-surface); color: var(--bc-ink); }
.bc-formband--intro .bc-formband__title{ color: var(--bc-primary-dark); }
.bc-formband--intro .bc-formband__lede{ color: var(--bc-ink-soft); }
.bc-formband--final{ background: var(--bc-primary-dark); }

.bc-form-field{ display:flex; flex-direction:column; gap: var(--bc-space-2); text-align:left; }
.bc-form-field label{ font-weight:600; font-size: var(--bc-fs-small); color: var(--bc-ink); }
.bc-form-field input,
.bc-form-field textarea,
.bc-form-field select{
  font-family: var(--bc-font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--bc-line);
  border-radius: var(--bc-radius-s);
  background: var(--bc-paper);
  color: var(--bc-ink);
}
.bc-form-field input:focus,
.bc-form-field textarea:focus,
.bc-form-field select:focus{
  outline: none;
  border-color: var(--bc-accent);
  box-shadow: 0 0 0 3px rgba(168,90,26,.2);
}
.bc-form-field--required label::after{ content:" *"; color: var(--bc-accent-dark); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .site-nav__list{ display:none; }
  .bc-hero__inner,
  .bc-prose--with-image .bc-prose__inner,
  .bc-video__grid,
  .bc-map__grid,
  .bc-formband__grid{
    grid-template-columns: 1fr;
  }
  .bc-grid--3col .bc-grid__list,
  .bc-grid--4col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
  .bc-gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .bc-testimonial__grid{ grid-template-columns: 1fr; }
  .site-footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px){
  .bc-grid__list,
  .bc-grid--2col .bc-grid__list,
  .bc-grid--3col .bc-grid__list,
  .bc-grid--4col .bc-grid__list{ grid-template-columns: 1fr; }
  .bc-gallery__grid{ grid-template-columns: 1fr; }
  .site-footer__grid{ grid-template-columns: 1fr; gap: var(--bc-space-5); }
  .bc-hero{ padding-block: var(--bc-space-7); }
  .bc-container{ padding-inline: var(--bc-space-4); }
  .site-header__bar{ flex-wrap:wrap; }
}
