/*
  Style Guide
  ------------
  Adjust color, spacing, typography, and layout from this single file.

  Brand colors:
    --color-navy: primary brand blue
    --color-gold: accent gold
    --color-cream: soft background
    --color-slate: darker text and surface accents

  Typography:
    --font-family-base: primary readable font stack
    --font-size-base: base font size
    --line-height-base: comfortable line height
*/

:root {
  color-scheme: light;
  --color-navy: #092a55;
  --color-navy-dark: #061e3d;
  --color-gold: #d2a63e;
  --color-gold-soft: #ead8a0;
  --color-cream: #f7f0dc;
  --color-slate: #152b4b;
  --color-soft: #5c718f;
  --color-teal: #2d5f7f;
  --color-surface: #ffffff;
  --color-surface-alt: #eef5fb;
  --color-surface-muted: #f7f2e8;
  --color-border: rgba(9, 42, 85, 0.14);
  --color-shadow: rgba(9, 42, 85, 0.08);
  --font-family-base: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.65;
  --radius: 24px;
  --radius-small: 18px;
  --max-width: 1140px;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--color-slate);
  background: var(--color-surface-alt);
}

.page-shell {
  background: var(--color-surface-alt);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.hero {
  background: linear-gradient(180deg, var(--color-navy) 0%, #0f3b6e 100%);
  color: #ffffff;
  padding: var(--space-xl) 0;
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #ffffff;
}

.hero p,
.hero .hero-text,
.hero .page-intro,
.hero .eyebrow,
.page-hero p,
.page-hero .hero-text,
.page-hero .page-intro,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.94);
}

.hero .hero-actions .button-secondary,
.page-hero .button-secondary {
  background: rgba(210, 166, 62, 0.18);
  color: #ffffff;
  border: 1px solid rgba(210, 166, 62, 0.28);
}

.hero .graphic-placeholder,
.page-hero .graphic-placeholder {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}

.brand img {
  height: auto;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.nav-item.has-submenu {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-caret {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item.has-submenu.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  box-shadow: 0 18px 40px var(--color-shadow);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 30;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu,
.nav-item.has-submenu.is-open .nav-submenu {
  display: flex;
}

.nav-submenu a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--color-slate);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: var(--color-surface-alt);
  color: var(--color-navy);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-slate);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.site-nav a,
.footer-nav a {
  color: var(--color-slate);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--color-navy);
}

.header-fb {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-fb:hover {
  color: #1877f2 !important;
}

.header-fb-mobile {
  display: none;
  align-items: center;
  line-height: 0;
  color: var(--color-slate);
  margin-left: auto;
  margin-right: 1rem;
}

.header-fb-mobile:hover {
  color: #1877f2;
}

.header-ig {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-ig:hover {
  color: #e1306c !important;
}

.header-ig-mobile {
  display: none;
  align-items: center;
  line-height: 0;
  color: var(--color-slate);
  margin-right: 1rem;
}

.header-ig-mobile:hover {
  color: #e1306c;
}

.section {
  padding: var(--space-xl) 0;
}

.page-hero {
  background: linear-gradient(180deg, var(--color-navy), #0f3b6e);
  color: #ffffff;
  padding: var(--space-xl) var(--space-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
}

h1,
h2,
h3 {
  color: var(--color-slate);
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.page-intro,
.card p,
.location-card p,
.event-copy p {
  color: var(--color-slate);
}

.page-hero .hero-text,
.page-hero .page-intro,
.hero .hero-text,
.hero .page-intro,
.page-hero .eyebrow,
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.94);
}

.hero-grid,
.split-section,
.feature-row,
.contact-grid,
.event-grid,
.location-list {
  display: grid;
  gap: var(--space-lg);
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: none;
  border-radius: 999px;
  padding: 0 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-dark));
  color: #ffffff;
}

.button-secondary {
  background: rgba(210, 166, 62, 0.18);
  color: var(--color-navy);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px var(--color-shadow);
}

.page-hero {
  background: linear-gradient(180deg, var(--color-navy), #0f3b6e);
  color: #ffffff;
  padding: var(--space-xl) var(--space-lg);
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #ffffff;
}

.page-hero p,
.page-hero .page-intro,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section:not(.page-hero):not(.hero) {
  background: var(--color-surface-alt);
}

.graphic-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-surface-muted), #ffffff);
  color: var(--color-slate);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.image-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-muted);
}

.image-rotator .rotator-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-rotator .rotator-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .image-rotator .rotator-slide {
    transition: none;
  }
}

.info-card,
.contact-card,
.contact-info,
.map-block,
.location-card,
.event-card {
  padding: var(--space-lg);
}

.location-card,
.event-card,
.contact-card,
.contact-info {
  background: var(--color-surface);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.info-card a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-card a:hover {
  opacity: 0.75;
}

.split-section h2 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split-section h2 a:hover {
  color: var(--color-navy);
}

.location-card:nth-child(odd),
.event-card:nth-child(odd) {
  background: var(--color-surface-alt);
}

.location-list,
.event-grid,
.contact-grid {
  background: var(--color-surface-muted);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  display: grid;
  gap: var(--space-sm);
  background: var(--color-surface-alt);
  border-color: rgba(255, 197, 94, 0.28);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(210, 166, 62, 0.22);
  font-size: 1.4rem;
}

.split-section {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.list-style {
  margin: var(--space-md) 0 0;
  padding-left: 1.25rem;
  color: var(--color-slate);
}

.list-style li {
  margin-bottom: 0.75rem;
}

.page-intro {
  max-width: 40rem;
  margin-top: var(--space-sm);
}

.site-footer {
  margin-top: auto;
  padding: var(--space-lg) 0;
  background: var(--color-navy);
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.locator-panel {
  grid-template-columns: 1.2fr 0.8fr;
}

.locator-search {
  display: grid;
  gap: var(--space-sm);
}

.locator-search label,
.locator-search input,
.contact-grid label,
.contact-grid input,
.contact-grid textarea {
  display: block;
  width: 100%;
}

.locator-search input,
.contact-grid input,
.contact-grid textarea {
  padding: 1rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-slate);
}

.locator-search button {
  width: fit-content;
}

.location-list {
  grid-template-columns: 1fr;
}

.location-card {
  display: grid;
  gap: 0.75rem;
}

.location-meta {
  color: var(--color-gold);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1.4fr 0.9fr;
}

.form-stack {
  display: grid;
  gap: var(--space-md);
}

.form-feedback {
  margin: 0;
  color: var(--color-navy);
  min-height: 1.5rem;
}

.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  display: grid;
  gap: var(--space-md);
}

.event-copy h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .feature-row,
  .locator-panel,
  .contact-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-fb-mobile {
    display: flex;
  }

  .header-ig-mobile {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 2rem;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .site-nav a:hover {
    background-color: var(--color-surface-alt);
  }

  .nav-item.has-submenu {
    width: auto;
    text-align: center;
  }

  .nav-submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.25rem 0 0;
    align-items: center;
  }

  .nav-submenu a {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .footer-nav {
    gap: 0.75rem;
  }
}
