.program-page {
  padding: 3rem 0 8rem;
  background: linear-gradient(to bottom, var(--color-tertiary-300), var(--color-tertiary-400), var(--color-primary-200));
  color: #4a4a4a;
  min-height: 100vh;
}

.program-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .program-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .program-page {
    padding: 5rem 0 10rem;
  }

  .program-container {
    padding: 0 2rem;
  }
}

/* Page Header */
.program-header {
  text-align: center;
  margin-bottom: 4rem;
}

.program-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--color-dark-secondary-900);
}

@media (min-width: 640px) {
  .program-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .program-title {
    font-size: 3.75rem;
  }
}

.program-date-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-date {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .program-date {
    font-size: 1.875rem;
  }
}

.program-heart-icon {
  margin-left: 1rem;
  width: 2em;
  height: 2em;
  color: var(--color-secondary-800);
}

/* Location Card */
.location-section {
  margin-bottom: 3rem;
}

.location-card {
  max-width: 28rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.location-image {
  height: 12rem;
  background-size: cover;
  background-position: center;
}

.location-divider {
  height: 1px;
  background: #d1d5db;
  margin: 0 1.5rem;
}

.location-content {
  padding: 1.5rem;
  text-align: center;
}

.location-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.location-address {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.location-nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.location-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.location-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.location-nav-link.maps {
  background: var(--color-secondary-800);
}

.location-nav-link.maps:hover {
  background: var(--color-dark-secondary-200);
}

.location-nav-link.waze {
  background: #05C8F7;
}

.location-nav-link.waze:hover {
  background: #97C6D1;
}

.location-nav-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: white;
  filter: brightness(0) invert(1);
}

.location-nav-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.location-nav-hint {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* Timeline Container */
.timeline-wrapper {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.timeline-container {
  position: relative;
  overflow: hidden;
}

/* Central Line */
.timeline-line {
  position: absolute;
  left: 50%;
  height: 100%;
  border-left: 2px solid rgba(75, 85, 99, 0.2);
  z-index: 0;
}

/* Day Headers */
.timeline-day-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.timeline-day-header.sunday {
  margin-top: 4rem;
}

.timeline-day-badge {
  z-index: 20;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 1rem 2rem;
}

.timeline-day-badge.saturday {
  background: var(--color-secondary-800);
}

.timeline-day-badge.sunday {
  background: var(--color-tertiary-800);
}

.timeline-day-title {
  font-weight: bold;
  color: var(--color-dark-secondary-900);
  font-size: 1.25rem;
  text-align: center;
}

/* Timeline Items */
.timeline-item {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .timeline-item {
    flex-wrap: nowrap;
  }
}

.timeline-item.right .timeline-spacer {
  order: 1;
  width: 100%;
}

.timeline-item.right .timeline-time {
  order: 1;
}

.timeline-item.right .timeline-content {
  order: 1;
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .timeline-item.right .timeline-spacer {
    width: 41.666667%;
  }

  .timeline-item.right .timeline-content {
    width: 41.666667%;
    margin-top: 0;
  }
}

.timeline-item.left {
  flex-direction: row-reverse;
}

.timeline-item.left .timeline-spacer {
  order: 1;
  width: 100%;
}

.timeline-item.left .timeline-time {
  order: 1;
}

.timeline-item.left .timeline-content {
  order: 1;
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .timeline-item.left .timeline-spacer {
    width: 41.666667%;
  }

  .timeline-item.left .timeline-content {
    width: 41.666667%;
    margin-top: 0;
  }
}

.timeline-spacer {
  order: 1;
}

.timeline-time {
  z-index: 20;
  display: flex;
  align-items: center;
  order: 1;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
}

.timeline-time.secondary {
  background: var(--color-secondary-800);
}

.timeline-time.tertiary {
  background: var(--color-tertiary-800);
}

.timeline-time-text {
  margin: 0 auto;
  font-weight: 600;
  font-size: 0.875rem;
  color: #1f2937;
}

.timeline-content {
  z-index: 20;
  order: 1;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
}

.timeline-content.secondary {
  background: var(--color-secondary-800);
}

.timeline-content.tertiary {
  background: var(--color-tertiary-800);
}

.timeline-content-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.75rem;
}

.timeline-icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

.timeline-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #1f2937;
  filter: brightness(0) saturate(100%);
}

.timeline-content-title {
  font-weight: bold;
  color: var(--color-dark-secondary-900);
  font-size: 1.125rem;
}

.timeline-content-description {
  font-size: 0.875rem;
  line-height: 1.375;
  letter-spacing: 0.025em;
  color: #1f2937;
  opacity: 0.9;
}

/* Back to Home Button */
.program-back-wrapper {
  text-align: center;
  margin-top: 4rem;
}

.program-back-link {
  display: inline-block;
  background: var(--color-secondary-800);
  color: #1f2937;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.program-back-link:hover {
  background: var(--color-tertiary-800);
}

/* Closing Message */
.program-closing {
  text-align: center;
  margin-top: 4rem;
}

.program-closing-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #1f2937;
}

.program-closing-heart {
  margin: 1rem auto 0;
  width: 40px;
  height: 40px;
  fill: var(--color-secondary-800);
}
