:root {
  --primary-blue: #19376d; /* Darker blue from flyer */
  --secondary-blue: #577b8d; /* Mid-blue */
  --light-blue: #a5d7e8; /* Lighter blue for accents */
  --accent-gold: #ffc94a; /* Inspired by candle light */
  --text-light: #f8f9fa;
  --text-dark: #333333;
  --font-main-title: "Montserrat", sans-serif;
  --font-subtitle: "Dancing Script", cursive;
  --font-body: "Open Sans", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f4f7f6; /* Soft off-white background */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-main-title);
  font-size: 1.5em;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.logo img {
  height: 30px;
  margin-right: 8px;
  filter: brightness(0) invert(1); /* Make logo white if it's dark */
}

.site-header nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-header nav a:hover {
  color: var(--accent-gold);
}

.site-header nav .jedtalks-link {
  background-color: var(--accent-gold);
  color: var(--primary-blue) !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 800;
  margin-left: 28px;
  box-shadow: 0 2px 8px rgba(25, 55, 109, 0.08);
  border: 2px solid var(--accent-gold);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.site-header nav .jedtalks-link:hover {
  background-color: #e6b43a;
  color: var(--primary-blue) !important;
  box-shadow: 0 4px 16px rgba(25, 55, 109, 0.13);
  text-decoration: none;
}

/* Hero Section */
.hero {
  /* Use a background image that evokes the Chuppah. For now, a gradient */
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 70%,
    var(--light-blue) 100%
  );
  background-image: url("chuppah-3-blurred.png");
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.hero-overlay {
  /* Optional overlay for better text readability over image */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 55, 109, 0.5); /* Primary blue with opacity */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero .pre-title {
  font-size: 0.9em;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--light-blue);
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-main-title);
  font-size: 3.5em; /* Large title */
  margin-bottom: 0;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero h1 span {
  /* "the" in a lighter weight or style */
  font-weight: 700;
  font-style: italic; /* Or a slightly different style */
}

.hero .subtitle {
  font-family: var(--font-subtitle);
  font-size: 2.2em;
  margin-top: 0px;
  margin-bottom: 20px;
  color: var(--accent-gold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero .series-intro {
  font-size: 1.1em;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero .availability-cost {
  font-size: 1em;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px; /* Rounded buttons like flyer */
  font-weight: bold;
  margin: 10px 5px;
  transition: transform 0.2s ease, background-color 0.3s ease;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.5px;
}

.buy-now-button {
  background-color: var(--accent-gold); /* Prominent color for buy */
  color: var(--primary-blue);
  border: 2px solid var(--accent-gold);
}

.buy-now-button:hover {
  background-color: #e6b43a; /* Darker gold */
  transform: translateY(-2px);
}

.trailer-button {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.trailer-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Series Details Section */
.series-details {
  padding: 60px 0;
  background-color: var(--text-light); /* White or very light gray */
}

.series-details h2 {
  text-align: center;
  font-family: var(--font-main-title);
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-blue);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

@media (max-width: 700px) {
  .series-grid {
    grid-template-columns: 1fr;
  }
}

.series-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.series-card h3 {
  /* PART ONE, TWO... */
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.series-card h4 {
  /* Title of the part */
  font-family: var(--font-main-title);
  font-size: 1.4em;
  color: var(--primary-blue);
  margin-bottom: 10px;
  min-height: 3em; /* Ensure consistent height for titles */
}

.series-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 5px;
}
.series-card p.speaker {
  font-weight: bold;
  color: var(--primary-blue);
  font-size: 1.05em;
}

/* Final CTA Section */
.final-cta {
  background-color: var(--secondary-blue); /* A different blue */
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-main-title);
  font-size: 2.2em;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .buy-now-button.large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Footer */
.site-footer-bottom {
  background-color: var(--primary-blue);
  color: var(--light-blue);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9em;
}

.site-footer-bottom .footer-logo {
  height: 50px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1); /* Make logo white if it's dark */
}

.site-footer-bottom p {
  margin: 5px 0;
}

.site-footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
}

.site-footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8em;
  }
  .hero .subtitle {
    font-size: 1.8em;
  }
  .series-grid {
    grid-template-columns: 1fr; /* Stack cards on smaller screens */
  }
  .site-header .container {
    flex-direction: column;
  }
  .site-header nav {
    margin-top: 10px;
  }
  .site-header nav a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2em;
  }
  .hero .subtitle {
    font-size: 1.5em;
  }
  .cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .final-cta .buy-now-button.large {
    padding: 15px 30px;
    font-size: 1em;
  }
}

.flyer-section {
  padding: 50px 0 40px 0;
  background: #f8f9fa;
  text-align: center;
}
.flyer-section h2 {
  font-family: var(--font-main-title);
  color: var(--primary-blue);
  margin-bottom: 24px;
}
.flyer-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(25, 55, 109, 0.1);
}
