/* =========================================================
   ACDC — Arkansas Culture and Dialog Center
   Design tokens & base styles
   ========================================================= */

:root {
  --teal:       #1a5c6b;
  --teal-dark:  #133f4b;
  --teal-light: #e8f3f5;
  --gold:       #c8952a;
  --gold-hover: #a97820;
  --sand:       #f5f0e8;
  --text:       #2d3a3a;
  --text-light: #56706e;
  --white:      #ffffff;
  --border:     #d6cfc4;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 4px;
  --max-w:  1080px;
  --section-gap: 4rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--teal); text-decoration: underline; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--teal-dark);
}

p { max-width: 68ch; }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--section-gap);
}

.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal h3 { color: var(--white); }

/* =========================================================
   Header & Nav
   ========================================================= */

.site-header {
  background: var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.site-nav {
  display: flex;
  gap: .25rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

/* Last nav item (Donate) styled as CTA */
.site-nav a:last-child {
  background: var(--gold);
  color: var(--white);
  margin-left: .5rem;
}
.site-nav a:last-child:hover { background: var(--gold-hover); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200,149,42,.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo {
  width: 140px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-inline: auto;
  max-width: 48ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

/* =========================================================
   Mission strip
   ========================================================= */

.mission {
  padding-block: 3rem;
  border-bottom: 1px solid var(--border);
}

.mission p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 72ch;
}

/* =========================================================
   Section headings
   ========================================================= */

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: .4rem;
}

.section-heading .rule {
  width: 3rem;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0;
}

/* =========================================================
   Our Work photos
   ========================================================= */

.work-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.work-row-img {
  flex: 0 0 40%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.work-row-img img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}

.work-row-text {
  flex: 1;
}

.work-row-text h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
}

.work-row-text p {
  color: var(--text-light);
  font-size: .95rem;
}

/* =========================================================
   Events grid
   ========================================================= */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.event-card-date {
  background: var(--teal);
  color: var(--white);
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.event-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.event-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.event-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  max-width: 100%;
}

.events-empty {
  color: var(--text-light);
  font-style: italic;
}

/* =========================================================
   Donate CTA band
   ========================================================= */

.cta-band {
  text-align: center;
  padding-block: 3.5rem;
}

.cta-band h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-band p {
  color: rgba(255,255,255,.82);
  margin-inline: auto;
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

/* =========================================================
   Contact section
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info p {
  margin-bottom: .5rem;
  color: var(--text-light);
}

.contact-info strong { color: var(--text); }

.contact-form .form-group {
  margin-bottom: 1.1rem;
}

.contact-form label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: .3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,92,107,.15);
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.form-status {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-top: .75rem;
  display: none;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-status.error   { background: #fdecea; color: #c62828; display: block; }

/* =========================================================
   About page
   ========================================================= */

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 68ch;
  margin-bottom: 2rem;
}

/* =========================================================
   Donate page
   ========================================================= */

.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-block: 2rem;
}

.donate-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.donate-option:hover,
.donate-option.selected {
  border-color: var(--teal);
  background: var(--teal-light);
}

.donate-option .amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
}

.donate-option .label {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: .25rem;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,.8);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-grid p, .footer-grid td {
  font-size: .875rem;
  line-height: 1.8;
}

.footer-grid a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }

.footer-section-label {
  font-weight: 600;
  color: var(--white);
  margin-bottom: .75rem;
  font-size: .875rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.hours-table { border-collapse: collapse; }
.hours-table td { padding-right: 1.25rem; font-size: .875rem; }

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.social-links a {
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.social-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-dark);
    padding: 1rem 1.5rem;
    gap: .25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: .65rem .75rem; }
  .site-nav a:last-child { margin-left: 0; margin-top: .5rem; text-align: center; }

  .site-header { position: relative; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid  { grid-template-columns: 1fr; gap: 1.75rem; }

  .work-row { flex-direction: column; align-items: stretch; gap: 1rem; }
  .work-row-img { flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Required field marker */
.required { color: #b91c1c; font-weight: 600; }
.form-note { font-size: .8rem; color: var(--text-light); margin-bottom: 1rem; }

/* reCAPTCHA disclosure text */
.recaptcha-note { font-size: .75rem; color: var(--text-light); margin-top: .85rem; max-width: 100%; }
