/* ---------- Base ---------- */
:root {
  --green: #1a4525;
  --green-dark: #133319;
  --brown: #432209;
  --brown-light: #4f2a10;
  --gold: rgb(252, 204, 1);
  --gold-bright: rgb(252, 204, 1);
  --cream: #f6efe0;
  --text-on-dark: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  background: var(--brown);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Top announcement bar ---------- */
.top-bar {
  background: var(--brown);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
}

.top-bar a {
  color: #fff;
  text-decoration: underline;
  margin: 0 0.6rem;
}

.top-bar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  background: var(--green);
  padding: 1.5rem 1rem 1.8rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.search-btn,
.social-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  justify-self: start;
  padding: 0.4rem;
}

.social-btn { justify-self: end; }

.search-btn:hover,
.social-btn:hover { color: var(--gold); }

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
}

.brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ---------- Primary nav ---------- */
.primary-nav {
  background: var(--brown);
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.primary-nav li { }

.primary-nav a {
  display: block;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.15s;
}

.primary-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green);
  padding: 0 0 0;
}

.hero-img-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.hero-img-wrap img,
.hero-img-wrap video {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  background: #000;
}

/* ---------- Quick links circles ---------- */
.quick-links {
  background: var(--brown);
  padding: 3rem 1rem 2rem;
}

.quick-links-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  justify-items: center;
}

.ql-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  text-align: center;
  transition: transform 0.2s ease;
}

.ql-item:hover { transform: translateY(-4px); }

.ql-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.ql-item:hover .ql-circle {
  background: var(--green-dark);
}

.ql-label {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.3px;
}

/* ---------- Calendar ---------- */
.calendar {
  background: var(--green);
  padding: 3rem 1rem 3.5rem;
  text-align: center;
}

.calendar-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

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

.calendar-title a:hover { text-decoration: underline; }

.calendar-events {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.cal-arrow {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
}

.cal-arrow:hover { color: var(--gold); }

.event {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.event-date {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.event-month {
  font-size: 1.15rem;
  font-weight: 400;
}

.event-day {
  font-size: 2rem;
  font-weight: 400;
}

.event-name {
  color: #fff;
  font-size: 1.1rem;
}

.calendar-cta {
  margin-top: 2rem;
}

.show-all {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.5px;
}

.show-all:hover { color: var(--gold); }

/* ---------- State-reporting widget ---------- */
.state-widget {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 0.75rem 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 60;
}

.state-widget.is-closed { display: none; }

.state-widget img {
  width: 100%;
  height: auto;
  display: block;
}

.state-widget a {
  display: block;
  transition: opacity 0.15s ease;
}

.state-widget a:hover { opacity: 0.85; }

.state-widget-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.state-widget-close:hover { background: var(--green-dark); }

@media (max-width: 800px) {
  .state-widget {
    width: 110px;
    right: 8px;
    padding: 0.6rem 0.5rem 0.5rem;
    gap: 0.5rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: #fff;
  padding: 3rem 1rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.brand-footer .brand-name {
  font-size: 1.9rem;
}

.brand-footer .brand-logo {
  width: 60px;
  height: 60px;
}

.footer-address {
  font-style: normal;
  line-height: 1.55;
  font-size: 0.95rem;
}

.footer-address a {
  color: #fff;
  text-decoration: underline;
}

.footer-phone {
  margin-top: 0.4rem;
}

.footer-auth {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .brand-name { font-size: 1.6rem; }
  .brand-logo { width: 55px; height: 55px; }

  .primary-nav a { padding: 0.8rem 1rem; font-size: 0.95rem; }

  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .ql-circle { width: 110px; height: 110px; font-size: 2.5rem; }

  .hero-img-wrap img { height: 280px; }

  .calendar-title { font-size: 2rem; }

  .event-date { width: 90px; height: 90px; }
  .event-day { font-size: 1.6rem; }

  .side-tab { font-size: 0.7rem; max-width: 100px; }
}

@media (max-width: 480px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand { flex-direction: column; gap: 0.4rem; }
  .brand-name { font-size: 1.2rem; text-align: center; }

  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  .ql-circle { width: 95px; height: 95px; font-size: 2rem; }
  .ql-label { font-size: 0.85rem; }
}
