/* ==========================================================================
   Youth Conference (YC) landing page
   Standalone template: /site/templates/yc.php

   Goals:
   - Maintain the visual feel of the archived Webflow page
   - Keep CSS readable, minimal, and scoped to this page
   - Avoid collisions with main site styles by scoping under .yc
   ========================================================================== */

:root {
  --yc-bg: #0b0f19;
  --yc-bg-2: #0f172a;
  --yc-surface: rgba(255, 255, 255, 0.06);
  --yc-surface-2: rgba(255, 255, 255, 0.1);
  --yc-text: #ffffff;
  --yc-text-muted: rgba(255, 255, 255, 0.82);
  --yc-text-soft: rgba(255, 255, 255, 0.65);

  --yc-primary-color: #0071f3;
  --yc-primary-color-hover: hsl(212, 100%, 38%);
  --yc-green: var(--yc-primary-color); /* Backwards compatibility alias */
  --yc-accent: #ffffff;

  --yc-max: 1100px;
  --yc-gutter: 20px;

  --yc-radius: 12px;
  --yc-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);

  --yc-font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --yc-font-alt: "Libre Franklin", var(--yc-font-sans);
  --yc-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.yc {
  margin: 0;
  min-height: 100%;
  background: var(--yc-bg);
  color: var(--yc-text);
  font-family: var(--yc-font-sans);
  line-height: 1.5;
}

.yc img {
  max-width: 100%;
  display: block;
}

.yc a {
  color: inherit;
  text-decoration: none;
}

.yc a:hover {
  text-decoration: none;
}

.yc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.yc-skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.yc-skip-link:focus {
  left: 10px;
}

.yc-container {
  width: 100%;
  max-width: var(--yc-max);
  margin: 0 auto;
  padding: 0 var(--yc-gutter);
}

/* Buttons */
.yc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.yc-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.yc-button--primary {
  background: var(--yc-green);
  color: #0b0f19;
  border-color: var(--yc-green);
}

.yc-button--primary:hover {
  background: var(--yc-primary-color-hover);
  border-color: var(--yc-primary-color-hover);
}

.yc-button--nav {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yc-green);
  color: #0b0f19;
  border-color: transparent;
  font-weight: 800;
}

.yc-button--nav:hover {
  background: var(--yc-primary-color-hover);
}

.yc-button--cta {
  background: var(--yc-primary-color);
  color: #0b0f19;
  border-color: var(--yc-primary-color);
  font-weight: 800;
  padding: 14px 18px;
}

.yc-button--cta:hover {
  background: var(--yc-primary-color-hover);
  border-color: var(--yc-primary-color-hover);
}

/* Nav */
.yc-nav {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 14px;
}

.yc-nav__logo img {
  width: 100px;
  height: auto;
}

.yc-nav__menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yc-nav__link {
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--yc-text-muted);
  font-weight: 600;
}

.yc-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.yc-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.yc-nav__toggle-icon {
  width: 18px;
  height: 2px;
  background: #fff;
  display: inline-block;
  position: relative;
}

.yc-nav__toggle-icon::before,
.yc-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.yc-nav__toggle-icon::before {
  top: -6px;
}

.yc-nav__toggle-icon::after {
  top: 6px;
}

/* Mobile nav */
@media (max-width: 820px) {
  .yc-nav__toggle {
    display: inline-flex;
  }

  .yc-nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: rgba(10, 12, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    padding: 14px var(--yc-gutter) 18px;
    gap: 8px;
  }

  .yc-nav[data-open="true"] .yc-nav__menu {
    display: flex;
  }

  .yc-nav__link,
  .yc-button--nav {
    width: 100%;
    justify-content: center;
  }
}

/* Hero */
.yc-hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.2), rgba(11, 15, 25, 0.86)),
    var(--yc-hero-bg);
  background-size: cover;
  background-position: center;
}

.yc-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(52, 211, 153, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.yc-hero__content {
  position: relative;
  padding: 72px 0 90px;
}

.yc-hero__title {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.yc-hero__title-accent {
  color: var(--yc-green);
}

.yc-hero__subtitle {
  margin: 0 0 22px;
  font-family: var(--yc-font-alt);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 22px);
}

.yc-hero__meta {
  margin: 0 0 22px;
  font-family: var(--yc-font-alt);
  font-size: clamp(16px, 2vw, 22px);
}

.yc-hero__date {
  display: block;
  font-weight: 700;
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.9);
}

.yc-hero__host {
  display: block;
  font-weight: 600;
  font-size: 0.95em;
  color: var(--yc-text-soft);
}

/* Intro */
.yc-intro {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, var(--yc-bg), var(--yc-bg-2));
}

.yc-intro__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.yc-intro__headline {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.25;
  font-weight: 800;
}

.yc-green {
  color: var(--yc-green);
}

.yc-intro__subhead {
  margin: 0;
  color: var(--yc-text-muted);
  font-size: clamp(14px, 1.6vw, 18px);
  font-family: var(--yc-font-alt);
}

/* Section titles */
.yc-section {
  padding: 70px 0;
}

.yc-section__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.02em;
}

/* Speakers */
.yc-speakers {
  background: var(--yc-bg-2);
}

.yc-speakers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.yc-speaker {
  background: var(--yc-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--yc-radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--yc-shadow);
}

.yc-speaker__img {
  width: 230px;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.yc-speaker__name {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 18px;
}

.yc-speaker__sub {
  margin: 0;
  font-family: var(--yc-font-alt);
  color: var(--yc-text-soft);
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .yc-speakers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .yc-speakers__grid {
    grid-template-columns: 1fr;
  }
}

/* Slider */
.yc-slider {
  background: #0a0c14;
  padding: 0;
}

.yc-slider__viewport {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  height: clamp(280px, 50vh, 520px);
  overflow: hidden;
}

.yc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}

.yc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-slide.is-active {
  opacity: 1;
}

.yc-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.yc-slider__arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.yc-slider__arrow--prev {
  left: 14px;
}

.yc-slider__arrow--next {
  right: 14px;
}

.yc-slider__arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.yc-slider__arrow--prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.yc-slider__arrow--next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.yc-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.yc-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.yc-slider__dot.is-active {
  background: #fff;
  border-color: #fff;
}

/* Quote */
.yc-quote {
  padding: 76px 0 50px;
  background: linear-gradient(180deg, #0a0c14, var(--yc-bg-2));
  text-align: center;
}

.yc-quote__text {
  margin: 0 auto 14px;
  max-width: 900px;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 700;
}

.yc-quote__lead {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.yc-quote__em {
  color: #fff;
  font-weight: 900;
}

.yc-quote__by {
  margin: 0;
  color: var(--yc-text-soft);
  font-family: var(--yc-font-alt);
}

/* Separator */
.yc-separator {
  background: var(--yc-bg-2);
  padding: 0;
}

.yc-separator__line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Split rows */
.yc-features {
  background: var(--yc-bg-2);
  padding: 70px 0;
}

.yc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 26px 0;
}

.yc-split--reverse {
  grid-template-columns: 1fr 1fr;
}

.yc-split--reverse .yc-split__media {
  order: 2;
}

.yc-split__media img {
  border-radius: var(--yc-radius);
  box-shadow: var(--yc-shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.yc-split__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 900;
}

.yc-accent {
  color: var(--yc-green);
}

.yc-split__body {
  margin: 0;
  color: var(--yc-text-muted);
  font-family: var(--yc-font-alt);
}

@media (max-width: 900px) {
  .yc-split,
  .yc-split--reverse {
    grid-template-columns: 1fr;
  }

  .yc-split--reverse .yc-split__media {
    order: 0;
  }
}

/* CTA */
.yc-cta {
  padding: 70px 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.92), rgba(11, 15, 25, 0.92)),
    var(--yc-cta-bg);
  background-size: cover;
  background-position: center;
}

.yc-cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: center;
}

.yc-cta__quote {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--yc-radius);
  padding: 18px 18px;
  box-shadow: var(--yc-shadow);
}

.yc-cta__quote-text {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.yc-cta__quote-lead {
  font-weight: 900;
}

.yc-cta__quote-body {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--yc-font-alt);
}

.yc-cta__quote-by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yc-cta__line {
  height: 2px;
  width: 32px;
  background: var(--yc-green);
}

.yc-cta__name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.yc-cta__action {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .yc-cta__inner {
    grid-template-columns: 1fr;
  }

  .yc-cta__action {
    justify-content: flex-start;
  }
}

/* About */
.yc-about {
  padding: 80px 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.2), rgba(11, 15, 25, 0.92)),
    var(--yc-about-bg);
  background-size: cover;
  background-position: center;
}

.yc-about__title {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  font-weight: 900;
}

.yc-about__title-accent {
  color: var(--yc-green);
}

.yc-about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.yc-about__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.yc-person {
  margin: 0;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--yc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}

.yc-person__img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  margin-bottom: 12px;
}

.yc-person__name {
  padding: 12px 14px;
  font-weight: 800;
}

.yc-about__copy {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--yc-radius);
  padding: 16px 16px;
}

.yc-about__values {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 18px;
}

.yc-about__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--yc-font-alt);
}

@media (max-width: 900px) {
  .yc-about__grid {
    grid-template-columns: 1fr;
  }

  .yc-about__people {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .yc-person__img {
    width: 120px;
    height: 120px;
  }
}

/* Footer */
.yc-footer {
  background: #06070c;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yc-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.yc-footer__logo img {
  width: 120px;
  height: auto;
}

.yc-footer__copyright {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.yc-footer__links {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  justify-content: end;
}

.yc-footer__link-list {
  display: grid;
  gap: 8px;
  text-align: right;
}

.yc-footer__link-list a {
  color: rgba(255, 255, 255, 0.78);
}

.yc-footer__link-list a:hover {
  color: #fff;
}

.yc-footer__social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.yc-footer__social img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

@media (max-width: 820px) {
  .yc-footer__inner {
    grid-template-columns: 1fr;
  }

  .yc-footer__links {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .yc-footer__link-list {
    text-align: left;
  }

  .yc-footer__social {
    justify-content: flex-start;
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  .yc * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
