:root{
  --brand:#cb0007;        /* dark red */
  --brand-2:#c8020c;      /* deeper red */
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --surface:#ffffff;
  --surface-2:#f8fafc;
}

html { scroll-behavior: smooth; }

body{
  color: var(--text);
  background: #fff;
}

/* Section spacing */
.section-pad{ padding: 4rem 0; }

/* Navbar */
.navbar-brand{ letter-spacing: .2px; }

/* Softer badge */
.badge-soft{
  background: rgba(122,14,18,.10);
  color: var(--brand);
  border: 1px solid rgba(122,14,18,.22);
}

/* Cards */
.card{
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.card.shadow-sm{
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.06) !important;
}

/* Rounded utility */
.rounded-4{ border-radius: 1rem !important; }

/* Buttons: use brand red */
.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover,
.btn-primary:focus{
  background: var(--brand-2);
  border-color: var(--brand-2);
}
.btn-outline-primary{
  color: var(--brand);
  border-color: rgba(122,14,18,.55);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
  background: var(--brand);
  border-color: var(--brand);
}

/* HERO: full-width background image + overlay */
.hero{
  position: relative;
  min-height: calc(100vh - 72px); /* approx navbar height */
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

/* Dark overlay for text readability */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.20) 100%
  );
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
}

/* Hero “card” behind text for readability on bright photos */
.hero-panel{
  max-width: 720px;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

.hero h1{ text-shadow: 0 10px 24px rgba(0,0,0,.35); }
.hero p{ color: rgba(255,255,255,.88); }

/* Image framing for other sections */
.site-img{
  width: 100%;
  height: auto;
  border-radius: .9rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: block;
  object-fit: cover;
}
.site-img.tall { min-height: 320px; }
.img-frame{
  border-radius: .9rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

/* Mobile sticky CTA bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  padding: .75rem;
  background: rgba(255,255,255,.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.mobile-cta .btn {
  border-radius: 999px;
  font-weight: 800;
}

/* Only show sticky bar on small screens */
@media (min-width: 768px){
  .mobile-cta { display: none; }
}
@media (max-width: 767.98px){
  body { padding-bottom: 84px; }
  .hero{
    min-height: calc(92vh - 72px);
  }
  .hero-content{
    padding: 4rem 0;
  }
  .display-5{ font-size: 2.0rem; }
}

/* Footer links */
footer a{ color: var(--brand); }
footer a:hover{ color: var(--brand-2); }
