:root {
  --dark: #1b1b1b;
  --muted: #6b7280;
  --accent: #7a0f1b; /* wine red */
  --bg: #ffffff;
  --container: 1180px;

  /* fluid type scale */
  --fs-sm: clamp(0.9rem, 0.8rem + 0.3vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.6rem, 1.4rem + 1.6vw, 2.25rem);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--dark);
  background-color: #2C5659; /* site bg behind hero */
  line-height: 1.5;
  font-size: var(--fs-md);
}

img, video { max-width: 100%; height: auto; display: block; }
.hidden { position: absolute; left: -9999px; }

/* Layout helpers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Trussville notice bar
   =========================== */
.notice-19{
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 6px 10px;
  font-size: var(--fs-sm);
}

/* ===========================
   Header / Nav (mobile-first)
   =========================== */
/* Header background */
.header,
.site-nav {
  background: #E1D2B3; /* your chosen background */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(28px, 6vw, 64px);
}

/* Nav + logo row */
.header .bar,
.site-nav .bar {
  position: relative;
  z-index: 1;
  gap: 24px;
  padding: 20px 40px;
}

/* Big faded phrase */
.header::after {
  content: "TRUSSVILLE";
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 2vw, 14px);
  transform: translateX(-50%) scaleX(0.75); /* your chosen squish */
  font-size: clamp(28px, 9vw, 120px);
  font-weight: 900;
  color: rgba(255,255,255,0.25);   /* your chosen faded white */
  letter-spacing: -2px;
  word-spacing: -6px;
  line-height: 0.9;
  text-align: center;
  pointer-events: none;
  z-index: 0;
  width: min(92vw, 1400px);
  white-space: normal;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

/* Logo size (balanced for header height) */
.logo img,
.site-logo img {
  height: clamp(100px, 10vw, 160px); /* min 100px, scales with screen, max 160px */
  display: block;
}

/* Details/summary toggle (no JS) */
.menu-toggle {
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
}
.nav-panel > summary::-webkit-details-marker { display: none; }

/* Menu links (mobile stack by default; desktop row handled in responsive.css) */
.site-menu {
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 8px;
  display: grid;
  gap: 8px;
  padding: 12px 0;
}
.site-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
}
.site-menu a.active { color: var(--accent); }

/* Store button */
.store-btn,
.btn-store {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--dark);
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

/* Legacy classes kept for compatibility with older headers */
.nav { display: contents; }
.nav-links { display: contents; }
.nav-cta { display: contents; }

/* ===========================
   Gift Cards submenu (no JS)
   =========================== */
.site-menu .submenu { position: relative; }
.site-menu .submenu > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--dark);
  padding: 10px 12px;
  border-radius: 10px;
}
.site-menu .submenu > summary::-webkit-details-marker { display: none; }

/* Mobile: submenu expands inline under the summary when open */
.site-menu .submenu .submenu-panel {
  display: grid;
  gap: 8px;
  padding: 8px 0 0;
}

/* Desktop: floating dropdown style (responsive.css switches .site-menu to row) */
@media (min-width: 900px) {
  .site-menu .submenu { position: relative; }
  .site-menu .submenu > summary {
    display: inline-block;
    padding: 8px 0; /* align with desktop link padding in responsive.css */
  }
  .site-menu .submenu .submenu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    z-index: 200;
  }
  .site-menu .submenu[open] .submenu-panel { display: block; }
  .site-menu .submenu .submenu-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
  }
  .site-menu .submenu .submenu-panel a:hover { background: #f3f4f6; }
}

/* ===========================
   HERO (shared helpers)
   =========================== */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 1;
  width: min(800px, 92vw);
  padding: 20px;
}

/* HERO — Trussville */
.hero--trussville {
  position: relative;
  min-height: 80vh;
  width: 100%;
  display: grid;
  place-items: center;
  background: #000 url("images/trussville-hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* HERO — Locations */
.hero--locations {
  position: relative;
  min-height: 50vh;
  width: 100%;
  display: grid;
  place-items: center;
  background: #000 url("images/locations-hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* HERO — About & Events (swap background images only) */
.hero--about,
.hero--events {
  position: relative;
  min-height: 80vh;
  width: 100%;
  display: grid;
  place-items: center;
  background: #000 center/cover no-repeat;
  overflow: hidden;
}
.hero--about { background-image: url("images/about-hero.jpg"); }
.hero--events { background-image: url("images/events-hero.jpg"); }

/* ===========================
   About page gallery
   =========================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
  margin-top: 16px;
}
.media-grid img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ===========================
   Events list
   =========================== */
.events-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.event-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 12px;
}
.event-image {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.event-item h3 { margin: 0 0 4px; }
.event-item p  { margin: 0; opacity: .95; }

@media (max-width: 520px) {
  .event-item { grid-template-columns: 1fr; }
  .event-image { width: 100%; height: 160px; }
}

/* ===========================
   Locations page blocks
   =========================== */
.locations-section {
  padding: 40px 0 60px;
  background: #2C5659;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
}
@media (max-width: 860px) {
  .locations-grid { grid-template-columns: 1fr; }
}
.location-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  color: #fff;
  padding: 20px;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.location-card h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.2vw, 28px);
}
.location-meta {
  margin: 10px 0 14px;
  line-height: 1.4;
  opacity: 0.95;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding-bottom: 2px; /* prevents last buttons being cut off */
}
.hours {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-variant-numeric: tabular-nums;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px dashed rgba(255,255,255,0.35);
  padding: 6px 0;
}
.hours li:first-child { border-top: 0; }
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===========================
   Frosted card + buttons
   =========================== */
.glass-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px);
  color: #fff;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.glass-card h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
}
.glass-card .subnote {
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
.btn-link {
  display: inline-block;
  margin-right: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.btn-link:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 420px) {
  .glass-card { padding: 18px; }
}

/* ===========================
   Forms (Jobs / Private Events)
   =========================== */
.glass-card form { display: grid; gap: 12px; }
.glass-card label { color: #fff; font-weight: 600; display: grid; gap: 6px; }
.glass-card input[type="text"],
.glass-card input[type="email"],
.glass-card input[type="tel"],
.glass-card input[type="number"],
.glass-card input[type="file"],
.glass-card select,
.glass-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.22);
  color: #fff;
  font: inherit;
}
.glass-card input::placeholder,
.glass-card textarea::placeholder { color: rgba(255,255,255,0.8); }
.glass-card input[type="file"] { background: #0f172a; }

/* Submit button: black text as requested */
.glass-card button[type="submit"],
.submit-btn {
  margin-top: 4px;
  color: #000;                 /* black submit text */
  background: rgba(255,255,255,0.9);
  border: 1px solid #000;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.glass-card button[type="submit"]:hover,
.submit-btn:hover { background: #fff; }

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a img {
  height: 22px;  /* match your SVG size */
  width: auto;   /* keep aspect ratio */
  display: block;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
}
.social-link:hover { background: rgba(255,255,255,0.08); }
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 12px 0 22px;
  text-align: center;
}

/* ---- Removed / no longer used ----
.footer {}
.hero-inner {}
.location-story {}
.location-row {}
.note-trussville {}
.dropdown, .dropdown-toggle, .dropdown-menu { display:none !important; }
----------------------------------- */
