/* ---- Kentucky Derby Fundraiser - Classic Derby Theme ---- */
:root {
  --rose: #B22234;
  --rose-dark: #7A0E1F;
  --green: #1B4332;
  --green-light: #2D5A3D;
  --gold: #C9A961;
  --gold-light: #E8D08A;
  --cream: #FAF6EE;
  --cream-dark: #F0E9D8;
  --ink: #1A1A1A;
  --muted: #5A5A5A;
}

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

body {
  font-family: 'Georgia', 'Playfair Display', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header / Nav ---- */
.site-header {
  background: var(--green);
  color: var(--cream);
  padding: 1rem 2rem;
  border-bottom: 4px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--cream);
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201,169,97,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(201,169,97,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero .year-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero p.lede {
  font-size: 1.25rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero .beneficiary {
  margin-top: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(0,0,0,0.25);
  border-left: 4px solid var(--gold);
  display: inline-block;
  text-align: left;
  border-radius: 4px;
}

.hero .beneficiary span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.hero .beneficiary strong {
  font-size: 1.4rem;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---- Main / Sections ---- */
main { flex: 1; }

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 3rem;
}

/* ---- Carousel: horizontal swipe-friendly ---- */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border: 4px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  background: var(--cream-dark);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  aspect-ratio: 16 / 9;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.carousel-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--cream);
  padding: 2rem 1.5rem 1rem;
  font-style: italic;
  font-size: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(178,34,52,0.85);
  color: var(--cream);
  border: 2px solid var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}

.carousel-btn:hover { background: var(--rose-dark); }

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--cream-dark);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .carousel-btn { display: none; }
  .carousel-dots { padding: 0.5rem; gap: 0.35rem; }
  .carousel-dot { width: 8px; height: 8px; }
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active { background: var(--gold); }

/* ---- Sponsors ---- */
.sponsor-tier { margin-bottom: 3rem; }

.tier-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tier-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tier-header .tier-amount {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-style: italic;
}

.tier-triple-crown h3 { color: var(--gold); }
.tier-triple-crown h3::before { content: "♛ "; }
.tier-triple-crown h3::after { content: " ♛"; }

.tier-roses h3 { color: var(--rose); }
.tier-jockey h3 { color: var(--green); }
.tier-bugle h3 { color: var(--muted); }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sponsor-card {
  background: var(--cream-dark);
  padding: 1.25rem;
  text-align: center;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsor-card .role {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.tier-triple-crown .sponsor-card { border-left-color: var(--gold); background: linear-gradient(135deg, var(--cream-dark), #fff); font-size: 1.1rem; }
.tier-roses .sponsor-card { border-left-color: var(--rose); }
.tier-jockey .sponsor-card { border-left-color: var(--green); }
.tier-bugle .sponsor-card { border-left-color: var(--muted); font-size: 0.9rem; }

/* ---- Raffle ---- */
.raffle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.raffle-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  border-top: 4px solid var(--rose);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.raffle-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.raffle-card .donor {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--cream-dark);
}

/* ---- Year Navigation Strip ---- */
.year-nav {
  background: var(--cream-dark);
  padding: 1.5rem 2rem;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.year-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.year-link {
  background: var(--cream);
  color: var(--green);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--green);
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.year-link:hover { background: var(--green); color: var(--cream); }
.year-link.current { background: var(--rose); color: var(--cream); border-color: var(--rose); }

/* ---- Home page specifics ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-grid img {
  width: 100%;
  border-radius: 6px;
  border: 4px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.year-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.year-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.year-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--green);
  position: relative;
}

.year-card-img::after {
  content: attr(data-year);
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  background: var(--rose);
  color: var(--cream);
  padding: 0.25rem 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 3px;
}

.year-card-body { padding: 1.25rem; }
.year-card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.year-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.bio {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  border-top: 4px solid var(--rose);
  text-align: center;
}

.bio-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 4px solid var(--gold);
  margin: 0 auto 1rem;
  background-size: cover;
  background-position: center;
}

.bio h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.bio .role {
  color: var(--rose);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---- Forms ---- */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 6px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.btn {
  display: inline-block;
  background: var(--rose);
  color: var(--cream);
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--green); }
.btn-secondary:hover { background: var(--green-light); }

/* ---- Sponsor info page ---- */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tier-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  border-top: 6px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.tier-card.tc-roses { border-top-color: var(--rose); }
.tier-card.tc-jockey { border-top-color: var(--green); }
.tier-card.tc-bugle { border-top-color: var(--muted); }

.tier-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.tier-card .price {
  font-size: 2rem;
  color: var(--rose);
  font-weight: bold;
  margin-bottom: 1rem;
}

.tier-card ul {
  list-style: none;
  text-align: left;
  font-size: 0.9rem;
}

.tier-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--cream-dark);
}

.tier-card ul li::before { content: "✓ "; color: var(--green); font-weight: bold; }

/* ---- Footer ---- */
footer {
  background: var(--green);
  color: var(--cream);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 4px solid var(--gold);
  margin-top: 3rem;
}

footer p { margin: 0.4rem 0; font-size: 0.9rem; }
footer .small { color: var(--gold-light); font-size: 0.8rem; }
footer a { color: var(--gold-light); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .intro-grid, .bios { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.5rem; }
  section { padding: 3rem 1.5rem; }
  nav ul { gap: 1rem; }
  nav a { font-size: 0.85rem; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .header-inner { flex-direction: column