/* -------- prevent accidental horizontal scroll and use sensible box sizing -------- */
html, body {
  box-sizing: border-box;
  overflow-x: hidden; /* avoid tiny side scrollbars from transforms/margins */
}

/* -------- full-bleed banner (keeps aspect and won't blow up too large) -------- */
.site-banner-section {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* breakout technique so it spans viewport */
  position: relative;
  background-image: url('assets/banner.png'); /* default banner (replace with hi-res) */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 320px;         /* desktop height - tweak as needed */
  display: flex;
  align-items: center;
  z-index: 1;
}
.site-banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28); /* soft overlay for readability */
  z-index: 0;
}
.site-banner-inner { position: relative; z-index: 2; padding: 28px 16px; }

/* -------------------------
   SIDE ZONES 
   ------------------------- */
#left-zone, #right-zone {
  background-color: #000;
  position: fixed;
  top: 56px;       /* navbar height */
  bottom: 220px;   /* footer height (adjust if you change footer) */
  width: 100px;
  z-index: 999;
}

/* hide side zones on small screens */
@media (max-width: 991.98px) {
  #left-zone, #right-zone { display: none; }
}

/* -------------------------
   MAIN CONTENT — centered, responsive
   ------------------------- */
/* width uses calc so we never exceed viewport minus sidebars,
   but caps with a sensible max-width so it stays readable */
main#main-content {
  box-sizing: border-box;
  margin: 56px auto 0 auto;                         /* centered horizontally */
  width: calc(100% - 220px);                        /* leave room for two 100px sidebars + small gutter */
  max-width: 1200px;                                /* cap for readability on very large screens */
  padding: 60px 24px 260px 24px;                    /* internal padding */
  position: relative;
}

/* on narrow screens remove the sidebar offset and use full width with side gutters */
@media (max-width: 991.98px) {
  main#main-content {
    width: calc(100% - 32px);                       /* small side gutters */
    margin: 56px 16px 0 16px;
    padding-top: 36px;
    padding-bottom: 260px;
  }
}

/* on very large screens allow slightly wider gutters while keeping max-width */
@media (min-width: 1400px) {
  main#main-content {
    width: min(1300px, calc(100% - 260px));
    max-width: 1300px;
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* -------------------------
   BANNER (full-bleed) — ensure it doesn't break layout
   ------------------------- */
.site-banner-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  background-image: url('assets/banner.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 320px;
  display: flex;
  align-items: center;
  z-index: 1;
}
.site-banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 0;
}
.site-banner-inner { position: relative; z-index: 2; padding: 28px 16px; }


/* -------------------------
   PRODUCT CARDS (kept constrained & centered)
   ------------------------- */
.products-section .container { max-width: 1100px; margin: 0 auto; }
.product-card { max-width: 360px; margin: 0 auto; border-radius: 8px; overflow: hidden; background: #0b0c10; }
.product-card .product-img { height: 220px; width: 100%; object-fit: cover; display: block; }

/* responsive smaller images for phones */
@media (max-width: 575.98px) {
  .product-card .product-img { height: 150px; }
}

/* ===========================
   HERO CTA: background + overlay
   =========================== */
   
/* On very large screens, keep content readable by capping main max width */
@media (min-width: 1400px) {
  .products-section .container { max-width: 1400px; }
  main#main-content { padding-left: 180px; padding-right: 180px; } /* optional wider gutters */
}

@media (max-width: 767.98px) {
  .site-banner-section { background-image: url('assets/banner-small.png'); }
}

.hero-cta {
  height: 320px;
  width: 100%;
  background-image: url('assets/logoWordsSub.png'); 
  background-position: center;
  background-size: cover;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.35); /* dark overlay */
  margin-bottom: 1rem;
}

.hero-cta .hero-overlay-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 12px 20px;
  max-width: 900px;
}

/* typography for hero CTA */
.hero-cta h3 { color: #ffffff; letter-spacing: .04em; }
.hero-cta p { color: #e6eef8; font-size: 1.05rem; }

/* mobile adjustments for hero block */
@media (max-width: 575.98px) {
  .product-card .product-img { height: 150px; }
  .site-banner-section { min-height: 180px; background-position: center top; }
  .hero-cta { height: 220px; background-position: center top; }
}

/* ===========================
   small niceties: eyebrow wrap and button
   =========================== */
.eyebrow { word-break: keep-all; white-space: normal; }
.btn-cta { background: #1f7fd4; border: none; color: #fff; font-weight:800; }
.btn-cta:hover { background: #145a9e; }

/* keep overflow hidden just as backup if anything else leaks */
html, body { overflow-x: hidden !important; }

