/* ---------- Theme ---------- */
:root{
  --maroon: #8c1f2f;
  --gold:   #f2c14e;
  --ink:    #151515;
  --white:  #ffffff;
  --page-max: 1100px; /* shared centered width */
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
img{ max-width:100%; display:block; }

/* ---------- Base ---------- */
html, body{ height:100%; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

/* Reusable centered wrapper */
.page-wrap{
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}

/* ---------- Header ---------- */
.site-header{
  display: grid;
  grid-template-columns: 220px 1fr 150px;   /* left menu / center title / right logo */
  align-items: center;
  gap: 1rem;
  padding-block: 20px;
  /* center the header contents to page width */
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  background: var(--white);
  position: relative;
  z-index: 10;
}

/* Left vertical menu */
.side-links{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-links a{
  font-family: Oswald, Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
  color: var(--maroon);
}
.side-links a[aria-current="page"]{
  font-weight: 700;
}

/* Big center title */
.page-title{
  font-family: Anton, Impact, Oswald, sans-serif;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1;
}

/* Right logo */
.logo{ justify-self: end; }
.logo img{ height: 76px; width: auto; }

/* ---------- Hero (slideshow) ---------- */
.hero {
  position: relative;
  height: min(60vh, 500px); /* shorter overall height */
  overflow: hidden;
  background: #000;
}


/* Make slides fill the hero, behind everything */
.hero-slides{
  position: absolute;   /* was relative */
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-slide{
  position: absolute;   /* was static */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
}
.hero-slide.is-active{ display: block; }

/* Tint overlay above slides, below text */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* add your tint */
  z-index: 1;
}

/* Put the inner content OVER the overlay and center it */
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end; /* keep it bottom-aligned */
  justify-content: center;
  pointer-events: none;
  padding-bottom: 40px; /* pushes tagline further down */
}

.tagline {
  pointer-events: auto;
  background: var(--maroon);
  color: #fff;
  border: 3px solid var(--gold);
  padding: 1px 28px;
  width: min(780px, 100%);
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}


/* White space below like your mock */

/* ---------- Responsive tweaks ---------- */
@media (max-width: 900px){
  .site-header{
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "menu"
      "logo";
    justify-items: center;
    text-align: center;
    row-gap: 12px;
  }
  .page-title{ grid-area: title; }
  .side-links{
    grid-area: menu;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
  }
  .logo{ grid-area: logo; justify-self: center; }
}
@media (max-width: 520px) {
  .hero {
    height: 50vh; /* shorter hero for mobile */
    min-height: 300px;
  }
}
@media (max-width: 520px) {
  .hero-inner {
    padding-bottom: 10px; /* less space below */
  }
  .tagline {
    margin-bottom: 0; /* remove extra margin */
    font-size: 0.9rem; /* optional: shrink text slightly */
    padding: 12px 16px;
  }
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition: none; }
}
