/* ============================================================
   Holtbox — company site stylesheet
   Palette: Holtbox Grey #424242 (structure/text)
            Holtbox Red  #921519 (accents/CTAs)
   Typeface: Montserrat (self-hosted, SIL OFL) — @font-face in fonts.css
   ============================================================ */

:root {
  --hb-grey: #424242;
  --hb-grey-dark: #2d2d2d;
  --hb-red: #921519;
  --hb-red-dark: #7a1014;
  --hb-red-soft: #fdf3f3;
  --bg-light: #ffffff;
  --bg-soft: #f7f7f5;
  --body-text: #5a5a5a;
  --border: #e8e6e2;
  --shadow: rgba(66, 66, 66, 0.12);
  --heading-font: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --body-font: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--body-font);
  font-weight: 300;
  color: var(--body-text);
  background: var(--bg-light);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--hb-grey-dark);
  line-height: 1.25;
}

a { color: var(--hb-red); text-decoration: none; }
a:hover { color: var(--hb-red-dark); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--hb-red);
  color: #ffffff;
  box-shadow: rgba(146, 21, 25, 0.25) 0 8px 24px -8px;
}
.btn-primary:hover { background: var(--hb-red-dark); color: #ffffff; }

.btn-ghost {
  background: #ffffff;
  color: var(--hb-grey-dark);
  border: 1px solid #c9c6c0;
}
.btn-ghost:hover { background: #f7f7f5; border-color: var(--hb-grey); color: var(--hb-grey-dark); }

.btn-outline {
  background: transparent;
  color: var(--hb-red);
  border: 1px solid var(--hb-red);
}
.btn-outline:hover { background: var(--hb-red-soft); color: var(--hb-red-dark); }

.btn-large { padding: 15px 38px; font-size: 16px; }

.btn-disabled {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  background: #ececec;
  color: #9a9a9a;
  font-weight: 500;
  font-size: 15px;
  cursor: default;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { height: 28px; width: auto; display: block; }
.nav-brand-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--hb-grey-dark);
  line-height: 1;
  transform: translateY(4px); /* tuned for Montserrat 700 vs H mark */
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  color: var(--hb-grey);
  font-weight: 400;
  font-size: 15px;
}
.nav-links a:not(.btn):hover { color: var(--hb-red); }

.nav-cta { display: inline-block; padding: 10px 22px; }
.nav-cta-mobile { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--hb-grey-dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/holtbox-hero-bg.jpg") no-repeat center center;
  background-size: cover;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.05) 0%, rgba(26, 26, 26, 0.45) 55%, rgba(26, 26, 26, 0.85) 100%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
}

.hero-panel {
  max-width: 620px;
  margin-left: auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: var(--hb-grey-dark);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
  color: #64748d;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hero-caption {
  font-size: 13px;
  color: #64748d;
  font-weight: 400;
}

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.section-dark {
  background: var(--hb-grey-dark);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark h2 { color: #ffffff; }
.section-dark .name-note { color: rgba(255, 255, 255, 0.6); }

/* The name section — holt woodland background */
#name {
  position: relative;
  background:
    linear-gradient(rgba(45, 45, 45, 0.1), rgba(45, 45, 45, 0.2)),
    url("../img/holtbox-holt-bg.jpg") no-repeat center center;
  background-size: cover;
}
#name .section-head,
#name .name-story { position: relative; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head h2 { font-size: 38px; font-weight: 300; margin-bottom: 16px; }
.section-head p { font-size: 17px; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px 40px;
  box-shadow: var(--shadow) 0 16px 40px -20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow) 0 24px 48px -20px;
}

.product-card-muted { background: var(--bg-soft); box-shadow: none; }
.product-card-muted:hover { transform: none; box-shadow: none; }

.product-icon { font-size: 30px; margin-bottom: 20px; }
.product-logo {
  width: 96px;
  height: auto;
  margin-bottom: 20px;
}
.product-card h3 { font-size: 24px; margin-bottom: 14px; }
.product-card p { margin-bottom: 26px; }

/* ---------- Name story ---------- */
.name-story { max-width: 720px; margin: 0 auto; font-size: 19px; }
.name-story p { margin-bottom: 22px; }
.name-note { font-size: 16px; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat-number {
  font-size: 52px;
  font-weight: 300;
  color: var(--hb-red);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label { color: var(--body-text); font-size: 15px; }

/* ---------- CTA ---------- */
.section-cta {
  background: var(--hb-red);
  color: #ffffff;
  text-align: center;
}
.section-cta h2 { color: #ffffff; font-weight: 300; font-size: 38px; margin-bottom: 18px; }
.section-cta p { max-width: 560px; margin: 0 auto 38px; color: rgba(255, 255, 255, 0.9); }
.section-cta .btn-primary {
  background: #ffffff;
  color: var(--hb-red-dark);
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 24px -8px;
}
.section-cta .btn-primary:hover { background: var(--hb-red-soft); color: var(--hb-red-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--hb-grey-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-logo { height: 20px; width: auto; display: block; }
.footer-brand-text { font-size: 20px; font-weight: 700; color: #ffffff; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-links { display: flex; gap: 80px; }
.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: inline-block !important; }

  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
    visibility: hidden;
    transition: right 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-links.open {
    right: 0;
    visibility: visible;
    transition: right 0.3s ease;
  }
  .nav-links a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 16px;
  }

  .hero { padding: 120px 0 60px; }
  .hero-panel { padding: 32px 24px; }
  .hero-title { font-size: 34px; letter-spacing: -0.64px; }
  .hero-subtitle { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; text-align: center; }

  .product-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 48px; }
}
