/* Bernhard Transport — equine logistics restoration
   Theme: deep stable green + saddle gold on warm cream.
   Display serif (Playfair Display) + clean sans (Source Sans 3).
   Framework: Bulma (CDN) handles grid/components; this file = brand + tweaks only. */

:root {
  --green-900: #11281e;
  --green-700: #1f4f3a;
  --green-500: #2f6b4f;
  --green-300: #6fa589;
  --gold-600: #a9842f;
  --gold-500: #c9a24b;
  --gold-200: #e9d9ad;
  --leather: #7a5c2e;
  --cream: #f7f3ea;
  --cream-2: #efe8d7;
  --ink: #222018;
  --ink-soft: #4f4a3e;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(17, 40, 30, 0.08);
  --shadow-md: 0 10px 30px rgba(17, 40, 30, 0.14);
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
}

h1, h2, h3, h4, .display {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--green-900);
  line-height: 1.18;
  letter-spacing: 0.2px;
}

main { display: block; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); }
a:hover { color: var(--gold-600); }

/* ---------- Top bar / nav ---------- */
.bt-nav {
  background: var(--green-900);
  border-bottom: 3px solid var(--gold-500);
}
.bt-nav .navbar-item,
.bt-nav .navbar-link { color: var(--cream); font-weight: 600; }
.bt-nav a.navbar-item:hover,
.bt-nav a.navbar-item:focus,
.bt-nav .navbar-item.is-active {
  background-color: var(--green-700);
  color: var(--gold-200);
}
.bt-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream) !important;
  letter-spacing: 0.5px;
}
.bt-brand .brand-mark { color: var(--gold-500); }
.bt-nav .navbar-burger { color: var(--cream); }
.bt-nav .navbar-menu { background: var(--green-900); }
@media screen and (max-width: 1023px) {
  .bt-nav .navbar-menu { box-shadow: var(--shadow-md); }
}

/* ---------- Hero ---------- */
.bt-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.bt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17, 40, 30, 0.82) 30%, rgba(17, 40, 30, 0.35) 100%);
}
.bt-hero .bt-hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 3.5rem 0; }
.bt-hero h1 { color: var(--cream); font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.bt-hero p { font-size: 1.2rem; color: var(--cream-2); max-width: 600px; }
.bt-hero .tagline {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
}

/* page header (interior pages, no hero image) */
.bt-pagehead {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream);
  padding: 3rem 0 2.4rem;
  border-bottom: 4px solid var(--gold-500);
}
.bt-pagehead h1 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.bt-pagehead .bt-eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem;
  font-weight: 700; color: var(--gold-500);
}

/* page header WITH hero image */
.bt-pagehead.has-img { position: relative; background: var(--green-900); }
.bt-pagehead.has-img .bt-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.4;
}
.bt-pagehead.has-img .container { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn-bt {
  display: inline-block;
  background: var(--gold-500);
  color: var(--green-900);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.btn-bt:hover { background: var(--gold-600); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-bt.is-ghost {
  background: transparent; color: var(--cream); border: 2px solid var(--gold-500);
}
.btn-bt.is-ghost:hover { background: var(--gold-500); color: var(--green-900); }

/* ---------- Sections ---------- */
.section-pad { padding: 3.5rem 0; }
.bt-band { background: var(--cream-2); }
.bt-band-green { background: var(--green-900); color: var(--cream); }
.bt-band-green h1, .bt-band-green h2, .bt-band-green h3 { color: var(--cream); }

.lead { font-size: 1.2rem; color: var(--ink-soft); }

.section-title { position: relative; margin-bottom: 1.6rem; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--gold-500); border-radius: 4px; margin-top: 0.7rem;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.bt-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid var(--cream-2);
}
.bt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bt-card .bt-card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.bt-card .bt-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-card .bt-card-body { padding: 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.bt-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bt-card p { color: var(--ink-soft); margin-bottom: 1rem; }
.bt-card .bt-card-link { margin-top: auto; font-weight: 700; color: var(--gold-600); text-decoration: none; }
.bt-card .bt-card-link:hover { color: var(--leather); }

/* feature / value tiles */
.bt-feature {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-sm); height: 100%; border-top: 4px solid var(--gold-500);
}
.bt-feature .bt-ico {
  font-size: 1.8rem; color: var(--green-500); margin-bottom: 0.6rem; display: block;
}
.bt-feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.bt-feature p { color: var(--ink-soft); margin: 0; }

/* fleet capacity blocks */
.fleet-group { margin-bottom: 2.2rem; }
.fleet-group h2 { display: flex; align-items: center; gap: 0.6rem; }
.fleet-list { columns: 2; column-gap: 2.5rem; }
.fleet-list li { break-inside: avoid; margin-bottom: 0.5rem; }
@media screen and (max-width: 768px) { .fleet-list { columns: 1; } }

/* content prose */
.prose h2 { margin: 2rem 0 0.8rem; font-size: 1.7rem; }
.prose h3 { margin: 1.4rem 0 0.6rem; font-size: 1.3rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.2rem 1.3rem; list-style: disc; }
.prose ul li { margin-bottom: 0.5rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 1.4rem 0; }
.prose strong { color: var(--green-900); }

.figure-wide { margin: 1.6rem 0; }
.figure-wide img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* gallery */
.bt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.bt-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); }
.bt-gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 0.3s ease; }
.bt-gallery figure:hover img { transform: scale(1.05); }
.bt-gallery figcaption { padding: 0.7rem 1rem; font-size: 0.9rem; color: var(--ink-soft); }

/* contact form */
.bt-form { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--cream-2); }
.bt-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--green-900); }
.bt-form input, .bt-form textarea, .bt-form select {
  width: 100%; padding: 0.7rem 0.9rem; margin-bottom: 1rem;
  border: 1px solid #d6cdb6; border-radius: 8px; background: var(--cream); font: inherit; color: var(--ink);
}
.bt-form input:focus, .bt-form textarea:focus, .bt-form select:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25);
}
.bt-form textarea { min-height: 130px; resize: vertical; }

/* spec table for vehicle pages */
.spec-card { background: var(--cream-2); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.spec-card h3 { margin-bottom: 0.8rem; }
.spec-card ul { list-style: none; margin: 0; }
.spec-card li { padding: 0.45rem 0; border-bottom: 1px dashed #cfc6ad; }
.spec-card li:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.bt-footer { background: var(--green-900); color: var(--cream-2); padding: 3rem 0 1.6rem; border-top: 4px solid var(--gold-500); }
.bt-footer h4 { color: var(--gold-500); font-family: "Source Sans 3", sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.bt-footer a { color: var(--cream-2); text-decoration: none; }
.bt-footer a:hover { color: var(--gold-500); }
.bt-footer ul { list-style: none; }
.bt-footer ul li { margin-bottom: 0.5rem; }
.bt-footer .bt-foot-brand { font-family: "Playfair Display", serif; font-size: 1.4rem; color: var(--cream); }
.bt-footer .bt-foot-brand .brand-mark { color: var(--gold-500); }
.bt-footer-bottom { border-top: 1px solid rgba(247, 243, 234, 0.15); margin-top: 2rem; padding-top: 1.2rem; font-size: 0.88rem; color: #9fb3a6; }

.lang-pill {
  display: inline-block; border: 1px solid var(--gold-500); color: var(--gold-500);
  border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.lang-pill:hover { background: var(--gold-500); color: var(--green-900); }

/* 404 */
.bt-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: var(--cream); }
.bt-404 h1 { color: var(--cream); font-size: clamp(3rem, 12vw, 7rem); margin-bottom: 0.5rem; }
.bt-404 p { color: var(--cream-2); font-size: 1.2rem; margin-bottom: 1.6rem; }

.mb-tight { margin-bottom: 0.4rem; }
.mt-section { margin-top: 2.5rem; }
