:root{
  --brand-red:#c62828;

  /* Modern neutrals */
  --ink-900:#0f1115;
  --ink-800:#151821;
  --ink-700:#1d2230;

  --paper-100:#f3f4f6;
  --paper-200:#e5e7eb;

  --text:#111827;
  --muted:#4b5563;
}

/* =========================
   BASE
   ========================= */
body{
  background: var(--ink-900);
  margin: 0;
  font-feature-settings: "kern" 1, "liga" 1;
}

tbody, td, tfoot, th, thead, tr {
  border-color: inherit;
  border-style: solid;
  border-width: 1px;
  padding: .5rem;
  border-color: #c6c6c6;
}

/* =========================
   HEADER / NAV
   ========================= */
.site-header{
  background: var(--brand-red);
}

.logo{
  width: 240px;
  height: auto;
  display: block;
  padding: 1rem 0;
}

.navbar-nav .nav-link{
  color: #fff;
  font-weight: 400;
  padding: .9rem .95rem;
  text-transform: capitalize;
  transition: opacity .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover{
  opacity: .9;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.navbar-toggler{
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus{
  box-shadow: none !important;
}

.navbar-toggler-icon{
  filter: invert(1);
}

.navbar-collapse{
  background: var(--brand-red);
}

@media (min-width: 992px){
  .navbar-collapse{ background: transparent; }
}

/* =========================
   MOTION (NO JS)
   ========================= */
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: translateY(0); }
}

.hero-photo,
.headline-band,
.product-panel{
  animation: fadeUp .8s ease both;
}

.headline-band{ animation-delay: .12s; }
.product-panel{ animation-delay: .22s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-photo,
  .headline-band,
  .product-panel{
    animation: none;
  }
}

/* =========================
   HERO
   ========================= */
@keyframes heroZoom{
  from{ transform: scale(1); }
  to{ transform: scale(1.04); }
}

/* Default (contained) hero */
.hero-photo{
  padding: 1.5rem 0;
}

.hero-media{
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: var(--ink-800);
  overflow: hidden;
}

.hero-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center center;
  animation: heroZoom 28s ease-in-out infinite alternate;
  
    /* Favor the left/sign area */
  /* object-position: 15% 20%;  */
  
}



/* Full-bleed hero modifier */
.hero-photo--bleed{
  padding: 0;
  width: 100%;
}

.hero-photo--bleed .hero-media{
  height: clamp(380px, 55vh, 620px); /* was 460/65vh/720 */
  border: 0;
  border-radius: 0;
}

/* Hero height variants */
/* Half-height for sub-pages (about, products, contact, gallery, rhino-roller) */
.hero-photo--bleed.hero-photo--half .hero-media{
  height: clamp(200px, 30vh, 350px);
}

/* Hero image position anchors (control focal point) */
.hero-media img.hero-img--top {
  object-position: center top;
}

.hero-media img.hero-img--center {
  object-position: center center;
}

.hero-media img.hero-img--bottom {
  object-position: center bottom;
}

/* Left/right variants for more precise control */
.hero-media img.hero-img--left-top {
  object-position: left top;
}

.hero-media img.hero-img--left-center {
  object-position: left center;
}

.hero-media img.hero-img--left-bottom {
  object-position: left bottom;
}

.hero-media img.hero-img--right-top {
  object-position: right top;
}

.hero-media img.hero-img--right-center {
  object-position: right center;
}

.hero-media img.hero-img--right-bottom {
  object-position: right bottom;
}

@media (prefers-reduced-motion: reduce){
  .hero-media img{
    animation: none;
  }
}



/* =========================
   HEADLINE BAND
   ========================= */
.headline-band{
  background: #233382;
  padding: 1.25rem 0;

}

.headline-band h1{
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(1.25rem, 3.3vw, 2.0rem);
  letter-spacing: .01em;
  position: relative;
  padding-bottom: .75rem;
}

.headline-band h1::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  margin: .75rem auto 0;
  border-radius: 999px;
}



.headline-band h2{
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(1.25rem, 3.3vw, 2.0rem);
  letter-spacing: .01em;
  position: relative;
  padding-bottom: .75rem;
}

.headline-band h2::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  margin: .75rem auto 0;
  border-radius: 999px;
}

/* =========================
   PRODUCT
   ========================= */
.product-panel{
  background: #fff;
  padding: 2.25rem 0;
}

.product-image{
  border-radius: 6px;
}

.copy{
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.pill-btn{
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .75rem 2.25rem;
  font-weight: 700;
  box-shadow: none !important;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.pill-btn:hover{
  background: #b71f1f;
  color: #fff;
  transform: translateY(-1px);
}

.pill-btn:active{
  transform: translateY(0);
}


/* Alternate feature section (light gray background) */
.feature-links--alt{
  background:#233382 !important
}

/* Video card tweak */
.feature-card--video{
  cursor: default;
}

/* Download list styling */
.download-list{
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.download-list li{
  margin-bottom: .5rem;
}

.download-list a{
  font-weight: 600;
  text-decoration: none;
}

.download-list a:hover{
  text-decoration: underline;
}


/* =========================
   FEATURE LINKS
   ========================= */
.feature-links{
  padding: 2.25rem 0;
  background: #233382;
  border-top: 1px solid rgba(255,255,255,.08);
}

.feature-card{
  display: block;
  height: 100%;
  padding: 1.35rem 1.25rem 1.15rem;
  text-decoration: none;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  color: #fff;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.feature-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}

.feature-header{ display: block; }

.feature-eyebrow{
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .15rem;
}

.feature-title{
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.15;
}

.feature-body{
  margin-top: .75rem;
  color: rgba(255,255,255,.80);
  line-height: 1.55;
}

.feature-cta{
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 650;
}

.feature-arrow{
  display: inline-block;
  transition: transform .18s ease;
}

.feature-card:hover .feature-arrow{
  transform: translateX(3px);
}


/* VIDEO */

   .video-block {
      max-width: 100%;
      margin: 0 auto;
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
    }

    .video-block video {
      display: block;
      width: 100%;
      height: auto;
    }

    .play-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: opacity .3s ease;
    }

    .play-overlay.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .play-button {
      width: 70px;
      height: 70px;
      background: rgba(255,255,255,.95);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 25px rgba(0,0,0,.3);
      transition: transform .2s ease;
    }

    .play-button:hover {
      transform: scale(1.08);
    }

    .play-button::before {
      content: "";
      display: block;
      margin-left: 5px;
      width: 0;
      height: 0;
      border-left: 18px solid #000;
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
    }


/* ===========================
   GALLERY
=========================== */

.gallery-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateZ(0);
}

/* nice consistent tile height */
.gallery-card::before{
  content:"";
  display:block;
  padding-top: 72%; /* aspect ratio (height / width) */
}

.gallery-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.gallery-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 35%,
    rgba(0,0,0,.55) 100%
  );
  opacity: .95;
  transition: opacity .35s ease;
}

.gallery-meta{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem .95rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
}

.gallery-title{
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .2px;
}

/* hover/focus */
.gallery-card:hover{
  box-shadow: var(--shadowHover);
}

.gallery-card:hover .gallery-img{
  transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay{
  opacity: 1;
}

.gallery-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(59,130,246,.35), var(--shadowHover);
}

/* ===========================
   GLightbox minor tweaks
=========================== */
.glightbox-clean .gslide-title{
  font-weight: 600;
}


/* =========================
   FOOTER
   ========================= */
.site-footer{
  background: #0b0b0b;
  color: #d8d8d8;
  padding: 2rem 0;
  text-align: left;
  border-top: 0;
}


.contact-bg {
  background: #d1d1d1;
  border-radius: 8px;
}

/* FORM OVERRIDES */

.form-control, .form-select {
  border: 1px solid #bebebe;
}


