/* ==========================================================================
   Agenda Page — Charter Connect
   ========================================================================== */

/* ── Base — full-page background ───────────────────────────────────────────── */

.agenda-page {
  position: relative;
  min-height: 100vh;
  /* Dark gradient spans the entire page */
  background:
    radial-gradient(
      ellipse at 48% 15%,
      rgba(3, 26, 81, 0.28) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #071223 0%, #092828 55%, #01110b 100%);
  overflow-x: hidden;
}

/* Topo pattern — covers the full page, same as hero */
.agenda-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bkg3.png") 80% 20% / 160% auto no-repeat;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  animation: cc-topo-rtl 90s ease-in-out infinite alternate;
}

/* ── Banner ────────────────────────────────────────────────────────────────── */

.agenda-banner {
  position: relative;
  padding: 160px 0 90px;
  /* transparent — inherits page background */
}

/* Background photo (same source as hero) */
.agenda-banner-bg {
  position: absolute;
  inset: -5%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  animation: cc-hero-pan 40s ease-in-out infinite alternate;
  opacity: 0.35;
  z-index: 0;
}

.agenda-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.agenda-banner-title {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: -3px;
  line-height: 0.92;
  margin: 0 0 28px;
}

.agenda-banner-accent {
  width: 100px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 32px;
  border-radius: 2px;
}

.agenda-banner-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  line-height: 1.65;
  max-width: 460px;
  margin: 0;
}

/* ── Content section ───────────────────────────────────────────────────────── */

.agenda-content {
  position: relative;
  /* transparent — inherits page background */
  padding: 0 0 100px;
}

.agenda-content-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

/* ── Day columns ───────────────────────────────────────────────────────────── */

.agenda-days-row {
  align-items: flex-start;
}

.agenda-day-col {
  padding: 0 48px;
}

.agenda-day-col:first-child {
  padding-left: 16px;
}

.agenda-day-col:last-child {
  padding-right: 16px;
}

/* ── Day header ────────────────────────────────────────────────────────────── */

.agenda-day-header {
  margin-bottom: 36px;
}

.agenda-day-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.agenda-day-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 0 0 10px;
}

.agenda-day-rule {
  width: 100%;
  height: 1px;
  background: rgba(55, 124, 124, 0.35);
}

/* ── Timeline ──────────────────────────────────────────────────────────────── */

.agenda-timeline {
  position: relative;
  padding-left: 48px;
}

/* Vertical solid line — left: 8px = center of the 14px dot */
.agenda-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(55, 124, 124, 0.3);
}

.agenda-event-item {
  position: relative;
  margin-bottom: 36px;
}

.agenda-event-item:last-child {
  margin-bottom: 0;
}

/* Teal circle dot — aligned to top of card */
.agenda-dot {
  position: absolute;
  left: -47px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}

.agenda-event-item:hover .agenda-dot {
  box-shadow: 0 0 0 5px rgba(55, 124, 124, 0.25);
}

/* ── Event card ────────────────────────────────────────────────────────────── */

.agenda-event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 24px 20px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  cursor: default;
}

.agenda-event-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(55, 124, 124, 0.3);
}

.agenda-event-time {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.agenda-event-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
}

/* ── Return button ─────────────────────────────────────────────────────────── */

.agenda-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.agenda-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    transform 0.3s ease;

  &:hover {
    background: #2d6363;
    color: white;
    transform: translateY(-2px);
  }

  svg {
    flex-shrink: 0;
  }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1199px) {
  .agenda-day-col {
    padding: 0 32px;
  }
}

@media (max-width: 991px) {
  .agenda-banner {
    padding: 120px 0 60px;
  }

  .agenda-day-col,
  .agenda-day-col:first-child,
  .agenda-day-col:last-child {
    padding: 0 16px;
    border-left: none;
  }

  .agenda-day-col + .agenda-day-col {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 767px) {
  .agenda-banner-title {
    font-size: 72px;
    letter-spacing: -2px;
  }

  .agenda-day-title {
    font-size: 40px;
  }

  .agenda-content {
    padding: 56px 0 80px;
  }
}
