:root {
  /* Elegant Wedding Theme Palette */
  --primary-color: #D4AF37; /* Gold */
  --primary-dark: #B5952F;
  --secondary-color: #8E8E8E; /* Soft Gray */
  --background-color: #FAF9F6; /* Off-white / Cream */
  --surface-color: #FFFFFF;
  --text-color: #4A4A4A; /* Dark Gray */
  --text-light: #7A7A7A;
  --error-color: #ef4444;
  --success-color: #22c55e;
  
  --border-radius: 4px; /* Sharper, more elegant corners */
  --spacing-unit: 1.5rem;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-color);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-unit);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px; /* Pill shape */
  border: 1px solid var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

/* Hero Section */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Event List */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--surface-color);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.event-card-image {
  height: 200px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}

.event-card-content {
  padding: 2rem;
  text-align: center;
}

.event-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.event-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.event-details {
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.event-actions a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.event-actions a:hover {
  border-bottom-color: var(--primary-color);
}

/* Lightbox Styles */
.lightbox-modal {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.lightbox-modal::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: white;
  color: black;
}