/* PROGRAM PAGE STYLES */
:root {
  --color-day1: #184085;
  --color-day2: #00AACD;
  --color-day3: #99CC33;
  --color-day4: #F7AA2A;
  --color-day5: #Cf5512;
}

main {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 3rem;
}

section {
  padding-block: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.7);
  margin-bottom: 2rem;
}

.hero-meta-left { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.hero-meta-right { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.meta-chip.page-chip {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  color: var(--text-dark);
}

/* COUNTDOWN SECTION */
.countdown-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #2a5bb0 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: white;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(24, 64, 133, 0.25);
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cd-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cd-subtitle {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.timer-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  min-width: 90px;
  border: 1px solid rgba(255,255,255,0.15);
}

.timer-val {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.timer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* AGENDA BUTTONS */
.agenda-btn-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.agenda-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 2.2rem;
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 260px;
  flex: 1;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.agenda-btn:hover {
  transform: translateY(-4px);
}

.agenda-btn-top {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.agenda-btn-bottom {
  font-size: 1.25rem;
  font-weight: 600;
}

.agenda-btn.blue {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(24, 64, 133, 0.2);
}

.agenda-btn.white {
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid rgba(24, 64, 133, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* DAY GRID */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.day-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.d1 { border-top: 5px solid var(--color-day1); }
.d2 { border-top: 5px solid var(--color-day2); }
.d3 { border-top: 5px solid var(--color-day3); }
.d4 { border-top: 5px solid var(--color-day4); }
.d5 { border-top: 5px solid var(--color-day5); }

.d1 .day-label, .d1 .day-title { color: var(--color-day1); }
.d2 .day-label, .d2 .day-title { color: var(--color-day2); }
.d3 .day-label, .d3 .day-title { color: var(--color-day3); }
.d4 .day-label, .d4 .day-title { color: var(--color-day4); }
.d5 .day-label, .d5 .day-title { color: var(--color-day5); }

.day-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.day-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.day-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  gap: 2rem;
}

.info-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.info-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1.2rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

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

.info-list strong {
  color: var(--text-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

/* PDF MODAL */
.pdf-modal-window {
  background: #fff;
  width: 100%;
  max-width: 900px;
  height: 85vh;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .pdf-modal-window { transform: translateY(0); }
.pdf-iframe-container { flex-grow: 1; width: 100%; background: #f0f4f8; position: relative; }
.pdf-iframe { width: 100%; height: 100%; border: none; display: block; }

@media (max-width: 968px) {
  .day-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .info-grid { grid-template-columns: 1fr; }
  .agenda-btn-group { flex-direction: column; }
}
