/* ===================================================================
   Rocket City Lacrosse Directory — Shared styles for legal & info
   pages (privacy, terms, about, contact, disclaimer, accessibility,
   cookies, 404). The main directory page and the submit form keep
   their own page-specific stylesheets inlined.
   =================================================================== */

:root {
  --uah-blue: #00457C;
  --uah-blue-dark: #002D52;
  --uah-blue-light: #1E6BA8;
  --uah-white: #FFFFFF;
  --uah-gray: #F4F6F9;
  --uah-text: #1A1A1A;
  --uah-muted: #5A6B7D;
  --shadow-sm: 0 2px 4px rgba(0, 69, 124, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 69, 124, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 69, 124, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--uah-gray);
  color: var(--uah-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAV / HEADER ---------- */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 69, 124, 0.1);
  z-index: 100;
}
.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--uah-blue);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--uah-blue) 0%, var(--uah-blue-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.back-link {
  color: var(--uah-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { color: var(--uah-blue); }

/* ---------- PAGE HERO ---------- */
.page-hero {
  color: white;
  padding: 80px 32px 110px;
  position: relative;
  overflow: hidden;
  background-color: var(--uah-blue-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-lacrosse.svg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(0, 45, 82, 0.94) 0%,
    rgba(0, 69, 124, 0.82) 45%,
    rgba(30, 107, 168, 0.6) 80%,
    rgba(0, 45, 82, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 620px;
}

/* ---------- DOCUMENT ---------- */
main {
  max-width: 820px;
  margin: -60px auto 80px;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.doc {
  background: white;
  border-radius: 18px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  color: var(--uah-text);
}
.doc .last-updated {
  color: var(--uah-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(0, 69, 124, 0.1);
}
.doc h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--uah-blue);
  margin-top: 36px;
  margin-bottom: 12px;
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--uah-text);
}
.doc p {
  margin-bottom: 14px;
  font-size: 0.97rem;
  color: #2C3A4A;
}
.doc ul, .doc ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.doc li {
  margin-bottom: 8px;
  font-size: 0.97rem;
  color: #2C3A4A;
}
.doc a {
  color: var(--uah-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 69, 124, 0.25);
}
.doc a:hover { border-bottom-color: var(--uah-blue); }

.callout {
  background: #F4F6F9;
  border-left: 4px solid var(--uah-blue);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--uah-text);
}
.callout strong { color: var(--uah-blue); }

.btn {
  display: inline-block;
  background: var(--uah-blue);
  color: white !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
  border: none !important;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}
.btn:hover {
  background: var(--uah-blue-dark);
  transform: translateY(-2px);
}

/* Contact form styling (used on contact.html) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row .full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--uah-text);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--uah-gray);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--uah-blue);
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

/* ---------- FOOTER ---------- */
footer.site-foot {
  background: var(--uah-blue-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 32px 28px;
}
.foot-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.foot-inner .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 14px;
}
.foot-inner a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}
.foot-inner a:hover { color: white; text-decoration: underline; }
.foot-inner .copy {
  font-size: 0.85rem;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .doc { padding: 28px 22px; }
  .page-hero { padding: 56px 24px 90px; }
  .form-row { grid-template-columns: 1fr; }
}
