/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Unbounded:wght@600&display=swap");

/*=============== VARIABLES ===============*/
:root {
  --first-color: hsl(265, 75%, 48%);
  --second-color: hsl(18, 88%, 58%);
  --title-color: hsl(220, 20%, 8%);
  --text-color: hsl(220, 8%, 35%);
  --white-color: hsl(0, 0%, 100%);
  --body-color: hsl(220, 4%, 99%);
  --container-color: hsl(0, 0%, 100%);
  
  --body-font: "Montserrat", sans-serif;
  --second-font: "Unbounded", sans-serif;
}

/*=============== PAGE BACKGROUND ===============*/
body {
  margin: 0;
  padding: 0;
  background: var(--body-color);
  font-family: var(--body-font);
  color: var(--text-color);
}

/*=============== WRAPPER ===============*/
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1.5rem;
  margin-bottom: 6rem;
}

/*=============== TITLES ===============*/
.section-title {
  text-align: center;
  font-family: var(--second-font);
  font-size: 2.2rem;
  color: var(--title-color);
  margin-bottom: .5rem;
}

.section-description {
  text-align: center;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

/*=============== DAY BUTTONS ===============*/
.day-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.day-btn {
  padding: 0.75rem 1.6rem;
  font-size: 1rem;
  border-radius: 30px;
  border: 2px solid var(--first-color);
  background: transparent;
  color: var(--first-color);
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
}

.day-btn span {
  display: block;
  font-size: .8rem;
  opacity: .7;
}

.day-btn:hover,
.day-btn.active {
  background: var(--first-color);
  color: white;
  border-color: var(--first-color);
}

/*=============== SCHEDULE TABLE ===============*/
.schedule-table {
  display: none;
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(0,0,0,0.05);
}

.schedule-table.active-schedule {
  display: block;
}

/*=============== ROW LAYOUT ===============*/
.schedule-heading-row,
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr; /* Time | Event | Venue */
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  align-items: center;
}

.schedule-heading {
  font-family: var(--second-font);
  font-size: 1rem;
  color: var(--title-color);
}

.schedule-item {
  font-size: .95rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* Hover effect */
.schedule-row:hover {
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}

/*=============== RESPONSIVE ===============*/
@media (max-width: 768px) {
  .schedule-heading-row,
  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-heading,
  .schedule-item {
    padding: 0.5rem 0;
  }
}
/* ===================== REPEATING SCROLL FADE ===================== */

.scroll-fade {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.3, 1),
    transform 1s cubic-bezier(0.25, 1, 0.3, 1),
    filter 1s cubic-bezier(0.25, 1, 0.3, 1);
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger system */
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .30s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .60s; }
.delay-5 { transition-delay: .75s; }
.delay-6 { transition-delay: .75s; }
.delay-7 { transition-delay: .75s; }
.delay-8 { transition-delay: .75s; }
.delay-9 { transition-delay: .75s; }

/* Mobile optimizations */
@media (max-width: 768px) {
  .scroll-fade {
    transform: translateY(30px);
    filter: blur(6px);
  }
}
