/* Veterans Adventure League - cleaned stylesheet (static site) */

/* Fonts */
@font-face {
  font-family: "val-font";
  src: url("../fonts/VAL.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "val-header";
  src: url("../fonts/VAL-header.ttf") format("truetype");
  font-display: swap;
}

/* Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Verdana, sans-serif;
  line-height: 1.4;
  background-image: url("../img/paper.png");
  background-repeat: repeat;
  color: #111;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


main {
  flex: 1;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:root {
  --brand-1: rgb(158, 42, 43);
  --brand-2: rgb(124, 37, 41);
  --paper: url("../img/paper.png"); /* unified asset */
  --maxw: 1200px;
}

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

.section {
  padding: 26px 0; /* canonical default */
}

.section.tight {
  padding: 24px 0;
}

.section.paper {
  background-image: var(--paper);
  background-repeat: repeat;
}

/* Header */
.site-header {
  background-image: linear-gradient(to right, var(--brand-1), var(--brand-2));
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 72px;
  height: 80px;
  background: #fff;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-name {
  color: #fff;
  font-family: "val-header", Verdana, sans-serif;
  letter-spacing: 2px;
  line-height: 1;
  font-size: 22px;
  text-transform: uppercase;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

/* Overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 100;
}

.menu-overlay[aria-hidden="false"] {
  display: block;
}

.menu-panel {
  max-width: 420px;
  margin: 72px auto 0 auto;
  padding: 24px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-list li {
  padding: 12px 0;
}

.menu-list a {
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  height: 400px; /* fixed height */
  max-height: 450px; /* safety cap */
  background: #222;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-image-small.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  height: 100%; /* fill hero */
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 16px; /* remove vertical padding */
}

.hero-title {
  font-family: "val-header", Verdana, sans-serif;
  color: #fff;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: 4px;
  margin: 0 0 10px 0;
}

.hero-tagline {
  font-family: "val-header", Verdana, sans-serif;
  color: #fff;
  font-size: clamp(18px, 3vw, 32px);
  margin: 0;
  opacity: 0.95;
}

/* Content */
.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px; /* canonical default */
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}

.col-6 {
  grid-column: span 6;
}

.col-12 {
  grid-column: span 12;
}

/* Typography helpers */
.h2 {
  font-family: "val-header", Verdana, sans-serif;
  letter-spacing: 2px;
  font-size: 34px;
  line-height: 1;
  margin: 0 0 14px 0;
}

.p {
  margin: 0 0 12px 0;
}

/* Section headers (for plain <h2> without the .h2 class) */
.section h2 {
  font-family: "val-font", Verdana, sans-serif;
  letter-spacing: 2px;
  font-size: 34px;
  line-height: 1;
  margin: 0 0 14px 0;
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e9e9e9;
  padding: 24px 0;
  background: #fff;
}

.footer-small {
  font-size: 12px;
  color: #444;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}

.footer-links a {
  text-decoration: underline;
}

/* Calendar + Social */
.center {
  text-align: center;
}

/* Generic icon helper (leave as-is if used elsewhere) */
.icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
}

/* Social row (lighter + tighter) */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;          /* was 16px */
  margin-top: 8px;    /* was 12px */
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;           /* was 10px */
  padding: 6px 10px;  /* was 10px 14px */
  border: 1px solid rgba(0, 0, 0, 0.08); /* was 0.12 */
  border-radius: 8px; /* was 12px */
  background: transparent; /* was rgba(...) */
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.social-link img {
  width: 20px;        /* was 28px */
  height: 20px;       /* was 28px */
  object-fit: contain;
}

.social-link:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.calendar-link {
  color: inherit;
  text-decoration: none;
}

/* Donation Link */
.nav-donate img {
  height: 62px;     /* scales 242x137 nicely into menu */
  width: auto;
  vertical-align: middle;
}

.nav-donate img:hover {
  opacity: 0.85;
}

.donate-link img:hover {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .col-6 {
    grid-column: span 12;
  }
}
