/* ==========================================================================
   Page Styles — index.css
   Page-specific styles for the panoramic scroll concept.
   Depends on: shared/tokens.css, shared/base.css, shared/components/*.css
   ========================================================================== */

/* ========== VERTICAL SCROLL CONTAINER ========== */
.scroll-container {
  display: block;
  scroll-snap-type: y proximity;
  position: relative;
}

/* ========== PANORAMIC BACKGROUND ========== */
.panoramic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('shared/assets/panoramic.jpg');
  background-size: auto 100vh;
  background-position: center left;
  background-repeat: no-repeat;
  background-position-x: 0%;
  z-index: -1;
  will-change: background-position;
  transition: background-position-x 0.1s ease-out;
}

/* ========== PANEL 0 — LANDING ========== */
#panel-0 {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 20vh;
}

.logo-container {
  margin-bottom: 48px;
}

.bird-logo-wrapper {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 24px;
}

.logo-img {
  width: 96px;
  height: 96px;
  background-image: url('/assets/images/a-broken-umbrella-logo.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;  
}

.wordmark {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.tagline {
  font-size: 14px;
  margin-top: 18px;
  color: var(--white-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-detail {
  max-width: 34rem;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white-dim);
}

.hero-motto {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========== SHARED SECTION STYLES ========== */
.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ========== PANEL 1 — ABOUT ========== */
.about-lead {
  font-size: 18px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-block {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-block p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ========== PANEL 2 — EVENTS ========== */
.event-featured {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
}

.event-featured.upcoming {
  border-left-color: var(--teal);
}

.event-featured.past-highlight {
  border-left-color: var(--white-muted);
}

.event-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.event-badge.development {
  background: rgba(212, 168, 67, 0.2);
  color: var(--gold);
}

.event-badge.community {
  background: rgba(26, 188, 156, 0.2);
  color: var(--teal);
}

.event-badge.mainstage {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-dim);
}

.show-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.2;
}

.show-details {
  font-size: 16px;
  color: var(--white-dim);
  margin-bottom: 4px;
}

.show-venue {
  font-size: 14px;
  color: var(--white-muted);
  margin-bottom: 12px;
}

.development-note {
  font-size: 13px;
  color: var(--white-muted);
  line-height: 1.5;
  font-style: italic;
}

.event-featured-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.event-featured-details {
  font-size: 14px;
  color: var(--white-dim);
  margin-bottom: 4px;
}

.event-featured-venue {
  font-size: 13px;
  color: var(--white-muted);
  margin-bottom: 8px;
}

.cta-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.events-list {
  max-height: 200px;
  overflow-y: auto;
}

.event-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background 0.2s;
  cursor: pointer;
}

.event-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.event-date {
  min-width: 60px;
  font-weight: 600;
  color: var(--gold);
}

.event-info {
  margin-left: 16px;
}

.event-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.event-venue {
  font-size: 12px;
  color: var(--white-muted);
}

/* ========== PANEL 3 — DONATE ========== */
.donate-lead {
  font-size: 18px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.donate-reasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.donate-reason {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.5;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.donate-reason strong {
  color: var(--gold);
}

.donate-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.donate-footnote {
  font-size: 12px;
  color: var(--white-muted);
}

/* ========== PANEL 4 — PAST SHOWS ========== */
.shows-lead {
  font-size: 16px;
  color: var(--white-dim);
  margin-bottom: 20px;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.production-card {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.production-card:hover {
  transform: scale(1.05);
}

.production-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.production-card:hover .production-overlay {
  opacity: 1;
}

.production-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.production-year {
  font-size: 11px;
  color: var(--white-muted);
}

.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 8px;
  margin-top: 16px;
}

.quote-source {
  font-size: 13px;
  color: var(--white-muted);
}

/* ========== PANEL 5 — ENSEMBLE ========== */
.ensemble-stats {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ensemble-mission {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
}

.ensemble-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ========== PANEL 6 — EDUCATION ========== */
.education-lead {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.education-featured {
  margin-bottom: 20px;
}

.camp-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.camp-offerings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.camp-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 16px;
}

.camp-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.camp-card p {
  font-size: 13px;
  color: var(--white-dim);
}

.camp-desc {
  margin-top: 8px;
  font-style: italic;
}

.registration-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.education-goals {
  margin-bottom: 16px;
}

.education-subhead {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.goals-list {
  list-style: none;
  padding: 0;
}

.goals-list li {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
  padding: 4px 0 4px 16px;
  position: relative;
}

.goals-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.education-partners {
  margin-bottom: 16px;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--white-dim);
}

/* ========== PANEL 7 — LOCAL HISTORY ========== */
.history-lead {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.history-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.history-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.history-year {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  min-width: 64px;
}

.history-card p {
  font-size: 14px;
  color: var(--white-dim);
}

/* ========== PANEL 8 — CONTACT ========== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-block {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-link {
  font-size: 16px;
  color: var(--white);
}

.contact-block p {
  font-size: 14px;
  color: var(--white-dim);
}

.contact-social {
  margin-top: 8px;
}

.contact-cta {
  text-align: center;
}

.contact-cta p {
  font-size: 14px;
  color: var(--white-dim);
  margin-bottom: 12px;
}

/* ========== PANEL 9 — THE UMBRELLA ========== */
.coming-soon-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(212, 168, 67, 0.2);
  color: var(--gold);
  margin-bottom: 16px;
}

.umbrella-title {
  font-size: 36px;
}

.umbrella-pitch {
  font-size: 18px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.umbrella-features {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-dim);
  font-size: 13px;
}

.feature-icon {
  font-size: 18px;
  opacity: 0.8;
}

.umbrella-progress {
  margin-bottom: 16px;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 65%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.progress-label {
  font-size: 13px;
  color: var(--white-muted);
}

.umbrella-grant {
  font-size: 14px;
  color: var(--white-dim);
  margin-bottom: 16px;
}

.umbrella-vision h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.vision-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.vision-list li {
  font-size: 13px;
  color: var(--white-dim);
  padding: 3px 0 3px 16px;
  position: relative;
}

.vision-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.donation-tiers {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* ========== MODAL CONTENT (typography only — structure in glass-panel.css) ========== */
.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 16px;
}

.modal-date {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-venue {
  color: var(--white-dim);
  margin-bottom: 16px;
}

.modal-description {
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-actions .primary {
  background: var(--gold);
  color: var(--charcoal);
}

.modal-actions .secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .panel {
    padding: 80px 5vw 48px;
  }

  .panel-content {
    max-width: 100%;
    padding: 24px;
  }

  .nav-links {
    display: none;
  }

  .progress-dots {
    display: none;
  }

  .show-title {
    font-size: 24px;
  }

  .production-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .camp-offerings {
    grid-template-columns: 1fr;
  }

  .donate-actions {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    padding: 24px;
  }

  .modal-actions {
    flex-direction: column;
  }
}
