:root {
  --gold: #d6a94a;
  --gold-dark: #b9852f;
  --black: #0b0b0b;
  --muted: #bfbfbf;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 14px;
}

body {
  background: var(--black);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* Header */
.site-header {
  background: #000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gold-dark);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 55px;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link.active, .nav-link:hover {
  color: var(--gold);
}

.btn-ghost {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: 0.3s;
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--black);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-text {
  position: relative;
  z-index: 2;
}

/* Calendar Layout */
.calendar-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  padding: 40px;
}

.event-side {
  background: var(--glass);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 20px;
}

.event-side h2 {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 8px;
}

.event-list {
  list-style: none;
  padding: 0;
}
.event-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Calendar Section */
.calendar-controls {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.calendar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.month {
  background: var(--glass);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 0 12px rgba(214, 169, 74, 0.1);
}

.month h3 {
  margin: 0 0 10px;
  color: var(--gold);
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.day {
  padding: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #ccc;
  cursor: pointer;
  transition: all 0.2s;
}
.day:hover {
  background: rgba(214, 169, 74, 0.3);
  color: #fff;
}

.day.event {
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-content {
  background: #111;
  color: var(--gold);
  padding: 20px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(214, 169, 74, 0.2);
}

.close {
  float: right;
  cursor: pointer;
  font-size: 24px;
}
.calendar-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.month {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.month h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day {
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.day:hover {
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.has-event {
  background: var(--gold-dark);
  color: #000;
  font-weight: 700;
  border: 1px solid var(--gold);
}

.has-event:hover {
  background: var(--gold);
  color: #111;
}
/* --- New Additions for Past/Upcoming & Media --- */

/* Distinguish Past vs Upcoming */
.day.event-upcoming {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(214, 169, 74, 0.4);
}

.day.event-past {
  background: #333; /* Dimmed background */
  color: #888;      /* Dimmed text */
  border: 1px solid #555;
  position: relative;
}

/* Add a small dot to indicate past events have history/media */
.day.event-past::after {
  content: '•';
  position: absolute;
  top: 2px;
  right: 5px;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

/* Modal Media Gallery */
.modal-content {
  max-width: 600px; /* Made wider for media */
  max-height: 90vh;
  overflow-y: auto; /* Scrollable if many images */
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
  border-top: 1px solid #333;
  padding-top: 15px;
}

.media-item {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  transition: transform 0.2s;
}

.media-item:hover {
  transform: scale(1.05);
  border-color: var(--gold);
}

/* Full width for video players */
video.media-item-full {
  width: 100%;
  height: auto;
  max-height: 300px;
  grid-column: 1 / -1; /* Span full width */
  border-radius: 8px;
  background: #000;
  margin-bottom: 10px;
}