@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

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

:root {
  --navy: #1a2d6b;
  --navy-dark: #142259;
  --steel: #6b8ba4;
  --cream: #f5f0e1;
  --cream-dark: #ede7d4;
  --red: #c0392b;
  --white: #ffffff;
  --text-dark: #1a2b5e;
  --text-mid: #3a4a6b;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
}

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--cream);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: background 0.2s;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.12);
}

.nav-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-img {
  width: 52px;
  height: 44px;
  object-fit: contain;
}

/* ── PAGE TITLE SCRIPT ── */
.script-title {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--navy);
  line-height: 1.1;
}

.script-title-light {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--cream);
  line-height: 1.1;
}

/* ── HERO ── */
.hero {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  min-height: 420px;
  flex-wrap: wrap;
}

.hero-logo {
  width: 320px;
  max-width: 100%;
  border-radius: 4px;
}


.hero-text h1 {
  font-family: 'Caveat', cursive;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-text .tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--navy);
  margin-top: 0.8rem;
}

.hero-text .address {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* ── PAGE SECTIONS ── */
.page-section {
  padding: 3.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.page-section-dark {
  background: var(--navy);
  padding: 3.5rem 1.5rem;
}

.page-section-steel {
  background: var(--steel);
  padding: 3.5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.card-navy {
  background: var(--navy);
  border-radius: 20px;
  padding: 2rem;
  color: var(--cream);
}

/* ── MEMBERSHIP PAGE ── */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.membership-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.benefits-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 2rem;
  color: var(--cream);
}

.benefits-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--cream);
}

.benefits-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.benefits-card ul li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.benefits-card ul li::before {
  content: "• ";
}

.price-tag {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
}

.cta-btn {
  display: block;
  background: var(--cream);
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--cream-dark); }

.small-note {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ── CHARITIES ── */
.charities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.charity-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.charity-card img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

.charity-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.charity-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ── PROGRAMS ── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.cal-card {
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cal-header {
  background: #e05a4e;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.cal-dots {
  display: flex;
  gap: 3px;
}

.cal-dot {
  width: 6px;
  height: 6px;
  background: #333;
  border-radius: 50%;
}

.cal-body {
  padding: 0.6rem;
}

.cal-month {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 600;
  text-transform: lowercase;
}

.cal-day {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.programs-info {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.program-panel {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.program-panel h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.program-panel p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.cal-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.cal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* ── QUILT SHOWS ── */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.show-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.show-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.show-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.show-card a {
  color: var(--navy);
  text-decoration: underline;
}

/* ── 2026 SHOW HERO ── */
.show-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 2rem;
  text-align: center;
}

.show-hero h2 {
  font-family: 'Caveat', cursive;
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}

.show-hero .show-dates {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.show-hero .show-venue {
  font-size: 1rem;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.deadline-banner {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── RULES TABLE ── */
.rules-list {
  list-style: decimal;
  padding-left: 1.4rem;
  line-height: 1.8;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.rules-list li { margin-bottom: 0.4rem; }

/* ── CATEGORIES TABLE ── */
.cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.cat-table th {
  background: var(--navy);
  color: var(--cream);
  padding: 0.7rem 1rem;
  text-align: left;
}

.cat-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}

.cat-table tr:nth-child(even) td { background: rgba(107,139,164,0.1); }

.cat-num {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ── ENTRY FEES ── */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.fee-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.fee-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.fee-card .label {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 0.3rem;
}

/* ── MEMBERS ONLY ── */
.members-section {
  background: var(--cream);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.members-box {
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  text-align: center;
}

.members-box h2 {
  font-family: 'Caveat', cursive;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: var(--cream);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  line-height: 1.8;
}

footer a { color: var(--cream); }

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-logo { width: 240px; }
  .hero-text h1 { font-size: 2.8rem; }
  .membership-grid { grid-template-columns: 1fr; }
  .charities-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(3, 1fr); }
  .fees-grid { grid-template-columns: 1fr; }
  .shows-grid { grid-template-columns: 1fr 1fr; }
  .script-title, .script-title-light { font-size: 2.5rem; }
  .nav-link { padding: 0.4rem 0.6rem; font-size: 0.7rem; }
  .nav-icon { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .shows-grid { grid-template-columns: 1fr; }
}
