:root {
  --navy: #0f2540;
  --navy-light: #1c3a5e;
  --gold: #c9a24b;
  --off-white: #f7f5f1;
  --gray: #6b7280;
  --border: #e2e2e2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--off-white);
  color: #1a1a1a;
  line-height: 1.5;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  background: var(--navy);
  color: white;
  padding: 40px 0 32px;
}

header.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

header.site-header h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

header.site-header a {
  color: white;
  text-decoration: none;
}

header.site-header .tagline {
  color: var(--gold);
  font-size: 0.95rem;
}

nav.breadcrumb {
  font-size: 0.85rem;
  margin-top: 8px;
}

nav.breadcrumb a {
  color: rgba(255,255,255,0.75);
}

main {
  padding: 40px 0 60px;
}

section {
  margin-bottom: 40px;
}

h2 {
  font-size: 1.25rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.event-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.event-card .event-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}

.event-card .event-meta {
  color: var(--gray);
  font-size: 0.88rem;
  margin-top: 4px;
}

.event-card .event-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.status-open {
  background: #e7f4ea;
  color: #1f7a34;
}

.status-planning {
  background: #fdf1de;
  color: #a3670c;
}

.status-past {
  background: #f0f0f0;
  color: var(--gray);
}

.empty-state {
  color: var(--gray);
  font-style: italic;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--gray);
  font-size: 0.85rem;
}

/* Event page specific */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.info-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}

.info-box .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-box .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

table.tracker {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

table.tracker th, table.tracker td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

table.tracker th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}

table.tracker tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.pill-paid { background: #e7f4ea; color: #1f7a34; }
.pill-pending { background: #fdf1de; color: #a3670c; }
.pill-unpaid { background: #fbe4e4; color: #b02a2a; }

.itinerary li {
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  margin-top: 8px;
}
