/* ============ Home header background ============ */

.site-header--home {
  background:
    linear-gradient(to bottom, rgba(5, 6, 23, 0.45), rgba(5, 6, 23, 0.65)),
    url("../assets/singapore-skyline-night.jpg") center/cover no-repeat fixed;
}

/* Optional overlay pattern if you decide to re-enable it */
.site-header--home .site-header__overlay {
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.3), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(96, 165, 250, 0.3), transparent 55%);
  opacity: 0.65;
}

/* ============ Hero (home only) ============ */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero__title {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0.2rem 0 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__subtitle {
  max-width: 38rem;
  font-size: 1.05rem;
  color: #e5e7eb;
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
}

.hero__meta {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive tweak for hero only */
@media (max-width: 768px) {
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }
}

/* ============ Explore the Symposium – zigzag layout (home only) ============ */

.explore-section {
  position: relative;
  padding: 4rem 1.5rem;
  background-image: url("../assets/metal_branch.jpg"); /* your chosen background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.explore-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.explore-section > * {
  position: relative;
  z-index: 1;
}

/* Zigzag container */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.25rem;
}

/* Main stripe per row */
.zigzag__row {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.8rem 1.6rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(30, 64, 175, 0.5);
  --zigzag-accent: rgba(56, 189, 248, 0.9);
}

/* Per-row accent tint */
.zigzag__row--cfp {
  background:
    radial-gradient(circle at left, rgba(56, 189, 248, 0.14), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(56, 189, 248, 0.95);
}

.zigzag__row--program {
  background:
    radial-gradient(circle at right, rgba(129, 140, 248, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(129, 140, 248, 0.95);
}

.zigzag__row--speakers {
  background:
    radial-gradient(circle at left, rgba(236, 72, 153, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(236, 72, 153, 0.95);
}

.zigzag__row--organizers {
  background:
    radial-gradient(circle at right, rgba(96, 165, 250, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(96, 165, 250, 0.98);
}

.zigzag__row--venue {
  background:
    radial-gradient(circle at left, rgba(34, 197, 94, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(34, 197, 94, 0.95);
}

.zigzag__row--registration {
  background:
    radial-gradient(circle at right, rgba(251, 191, 36, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.96);
  --zigzag-accent: rgba(251, 191, 36, 0.98);
}

/* Card content */
.zigzag__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  padding: 1.4rem 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.zigzag__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin: 0 0 0.4rem;
}

.zigzag__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.zigzag__text {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.zigzag__actions {
  display: flex;
  gap: 0.75rem;
}

/* Alignment left/right */
.zigzag__row--right .zigzag__content {
  margin-right: auto;
}

.zigzag__row--left .zigzag__content {
  margin-left: auto;
}

/* SVG decor (branches) */
.zigzag__decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  pointer-events: none;
  opacity: 0.85;
}

.zigzag__row--right .zigzag__decor {
  right: 0;
}

.zigzag__row--left .zigzag__decor {
  left: 0;
}

.zigzag__svg {
  width: 100%;
  height: 100%;
}

/* Branch paths: broken metallic lines */
.zigzag__branch {
  fill: none;
  stroke: var(--zigzag-accent);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 4;
  stroke-dashoffset: 80;
  opacity: 0.65;
}

/* Nodes: shiny points */
.zigzag__node {
  fill: var(--zigzag-accent);
  opacity: 0;
}

/* Looping animations */
@keyframes zigzag-branch-grow-loop {
  0% {
    stroke-dashoffset: 80;
    opacity: 0;
  }
  40% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }
  90% {
    stroke-dashoffset: 80;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 80;
    opacity: 0;
  }
}

@keyframes zigzag-node-twinkle-loop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.zigzag__branch {
  animation: zigzag-branch-grow-loop 3.4s ease-in-out infinite;
}

.zigzag__node {
  animation: zigzag-node-twinkle-loop 2.5s ease-in-out infinite;
  transform-origin: center;
}

.zigzag__node:nth-of-type(1) { animation-delay: 0.2s; }
.zigzag__node:nth-of-type(2) { animation-delay: 0.4s; }
.zigzag__node:nth-of-type(3) { animation-delay: 0.6s; }
.zigzag__node:nth-of-type(4) { animation-delay: 0.8s; }
.zigzag__node:nth-of-type(5) { animation-delay: 1s; }
.zigzag__node:nth-of-type(6) { animation-delay: 1.2s; }

/* Zigzag responsive */
@media (max-width: 768px) {
  .zigzag__content {
    margin: 0 !important;
  }

  .zigzag {
    gap: 1.5rem;
  }

  .zigzag__row {
    padding: 1.4rem 1.2rem;
  }

  .zigzag__decor {
    display: none;
  }
}

/* ============ Questions teaser (home only) ============ */

.questions-teaser {
  position: relative;
  max-width: 820px;
  margin: 2.5rem auto 3rem;
  padding: 1.5rem 1.75rem;
  text-align: center;

  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.qt-content h2 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.qt-content p {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  opacity: 0.8;
}

.qt-link {
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--color-accent);
  border-bottom: 1px dashed var(--color-accent);
}

/* Side rails */
.questions-teaser::before,
.questions-teaser::after {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  width: 1px;
  opacity: 0.75;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 10%,
      var(--color-accent) 50%,
      rgba(255, 255, 255, 0.15) 90%,
      transparent 100%
    );
  animation: railPulse 9s ease-in-out infinite;
}

.questions-teaser::before {
  left: 6%;
}

.questions-teaser::after {
  right: 6%;
}

@keyframes railPulse {
  0% { box-shadow: 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 0 18px rgba(56, 189, 248, 0.35); }
  100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}
