/* ============================================================
   STEPC 重力樂園 — style.css
   Brand: Yellow #F5C518 / Black #0a0a0a / White #ffffff
   Framework: Bootstrap 5.3 + custom
   ============================================================ */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --yellow:      #F5C518;
  --yellow-dark: #d4a800;
  --yellow-glow: rgba(245, 197, 24, 0.35);
  --black:       #0a0a0a;
  --black-mid:   #111111;
  --black-card:  #161616;
  --black-deep:  #050505;
  --white:       #ffffff;
  --gray-text:   #aaaaaa;
  --gray-border: #2a2a2a;
  --gray-ph:     #1a1a1a;

  /* accent colours for brand words */
  --accent-sleep:    #7ec8e3;
  --accent-train:    #F5C518;
  --accent-eat:      #ff7c5c;
  --accent-party:    #c084fc;
  --accent-carnival: #4ade80;

  /* typography */
  --font-tc:   'Noto Sans TC', sans-serif;
  --font-en:   'Inter', sans-serif;
  --font-deco: 'Abril Fatface', serif;

  /* spacing */
  --section-py: 100px;
  --nav-h:      72px;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-tc);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow); }

ul { list-style: none; padding: 0; margin: 0; }

/* ─── 3. UTILITY ────────────────────────────────────────────── */
.text-yellow { color: var(--yellow); }

.section-padding {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-tc);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-title-bar {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Image placeholder */
.img-placeholder {
  background-color: var(--gray-ph);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #444;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gray-border);
}

.img-placeholder i {
  font-size: 1.8rem;
  opacity: 0.4;
}

/* ─── 4. NAVIGATION ─────────────────────────────────────────── */
.stepc-nav {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  height: var(--nav-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.stepc-nav.nav-scrolled {
  background-color: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* Logo */
.stepc-logo {
  font-family: var(--font-deco);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.stepc-logo:hover { color: var(--white); }

.stepc-logo .text-yellow { transition: text-shadow 0.2s; }

.stepc-logo:hover .text-yellow {
  text-shadow: 0 0 14px var(--yellow);
}

/* Nav links */
.stepc-nav .navbar-nav .nav-link {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  text-transform: uppercase;
}

.stepc-nav .navbar-nav .nav-link:hover,
.stepc-nav .navbar-nav .nav-link.active {
  color: var(--yellow);
  background-color: rgba(245, 197, 24, 0.08);
}

/* CTA button */
.btn-register {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  padding: 8px 20px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-register:hover {
  background-color: transparent;
  color: var(--yellow);
  box-shadow: 0 0 18px var(--yellow-glow);
}

/* Hamburger icon */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  background: transparent;
  box-shadow: none;
}

.navbar-toggler:focus { box-shadow: none; outline: none; }

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav collapse */
@media (max-width: 991.98px) {
  .stepc-nav .navbar-collapse {
    background-color: rgba(10, 10, 10, 0.98);
    padding: 20px 0;
    border-top: 1px solid var(--gray-border);
    margin-top: 8px;
  }

  .stepc-nav .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .nav-cta { padding-top: 16px; }

  .btn-register {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }
}

/* ─── 5. SIDE FLOATING BUTTONS ──────────────────────────────── */
.side-float-buttons {
  position: fixed;
  left: 20px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.side-float-buttons.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.side-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  color: var(--gray-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.side-btn:hover {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 0 16px var(--yellow-glow);
}

/* ─── 6. HERO SECTION ───────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-color: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Video / background placeholder */
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  background-color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-placeholder .placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #2a2a2a;
  pointer-events: none;
  user-select: none;
}

.hero-video-placeholder .placeholder-inner i { font-size: 4rem; }

.hero-video-placeholder .placeholder-inner span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-weight: 600;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.70) 50%,
    rgba(10, 10, 10, 0.55) 100%
  );
  z-index: 1;
}

/* Content sits above overlay */
.hero-section .container-fluid {
  position: relative;
  z-index: 2;
}

/* Brand acronym stack */
.hero-brand-stack { margin-bottom: 24px; }

.brand-line {
  font-family: var(--font-deco);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.letter-yellow { color: var(--yellow); display: inline; }
.letter-white  { color: rgba(255, 255, 255, 0.9); display: inline; }

.hero-subtitle {
  font-family: var(--font-tc);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: 0.15em;
  margin-top: 8px;
}

/* Large hero logo */
.hero-logo-large {
  font-family: var(--font-deco);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 0 60px rgba(245, 197, 24, 0.15);
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.55rem, 1.2vw, 0.72rem);
  letter-spacing: 0.35em;
  color: var(--gray-text);
  font-weight: 500;
  margin-bottom: 40px;
}

/* Countdown */
.hero-countdown { display: inline-block; }

.countdown-label {
  font-family: var(--font-tc);
  font-size: 0.8rem;
  color: var(--gray-text);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.countdown-blocks {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

@media (min-width: 768px) {
  .countdown-blocks { justify-content: flex-end; }
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.countdown-num {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  background-color: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.25);
  padding: 8px 14px;
  border-radius: 6px;
}

.countdown-unit {
  font-family: var(--font-tc);
  font-size: 0.65rem;
  color: var(--gray-text);
  letter-spacing: 0.1em;
}

.countdown-sep {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  padding-bottom: 16px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gray-text);
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── 6b. LIGHT SECTION THEME ──────────────────────────────── */
/* Apply .section-light to any section for white background mode */
.section-light {
  background-color: #ffffff !important;
  color: #1a1a1a;
}

.section-light .section-title {
  color: var(--black);
}

.section-light .section-title-bar {
  background: var(--black);
}

.section-light .section-subtitle {
  color: #666;
}

.section-light .img-placeholder {
  background-color: #f0f0f0;
  border-color: #ddd;
  color: #bbb;
}

.section-light .img-placeholder i {
  opacity: 0.3;
}

/* Brand section — light overrides */
.section-light.brand-section .brand-body-text {
  color: #444;
}

.section-light.brand-section .brand-word-dot {
  color: #ccc;
}

.section-light.brand-section .stat-card {
  background-color: #fafafa;
  border-color: #e5e5e5;
}

.section-light.brand-section .stat-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.15);
}

.section-light.brand-section .stat-desc {
  color: #888;
}

/* Review section — light overrides */
.section-light.review-section .marquee-img {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
}

/* Calendar section — light overrides */
.section-light.calendar-section .timeline::before {
  background: linear-gradient(to bottom, transparent, #ddd 10%, #ddd 90%, transparent);
}

.section-light.calendar-section .tl-marker {
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(245, 197, 24, 0.3);
}

.section-light.calendar-section .tl-card {
  background-color: #fafafa;
  border-color: #e5e5e5;
}

.section-light.calendar-section .tl-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.12);
}

.section-light.calendar-section .tl-img {
  background-color: #f0f0f0;
  border-bottom-color: #e5e5e5;
}

.section-light.calendar-section .tl-event-name {
  color: #1a1a1a;
}

.section-light.calendar-section .tl-desc {
  color: #666;
}

/* Events section — light overrides */
.section-light.events-section .event-card {
  background-color: #fafafa;
  border-color: #e5e5e5;
}

.section-light.events-section .event-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 12px 32px rgba(245, 197, 24, 0.12);
}

.section-light.events-section .event-card-title {
  color: #1a1a1a;
}

.section-light.events-section .event-card-subtitle {
  color: #888;
}

.section-light.events-section .event-card-tags li {
  color: #555;
}

.section-light.events-section .event-card-img .img-placeholder {
  background-color: #eee;
  border-color: #ddd;
}

/* Generic light overrides for any page-specific sections */
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #1a1a1a;
}

.section-light p,
.section-light li {
  color: #555;
}

.section-light a:not(.btn):not(.nav-link) {
  color: #333;
}

.section-light a:not(.btn):not(.nav-link):hover {
  color: var(--yellow-dark);
}

.section-light .section-title {
  color: var(--black) !important;
}

/* Generic light card override */
.section-light [class*="-card"],
.section-light [class*="_card"] {
  background-color: #fafafa;
  border-color: #e5e5e5;
  color: #333;
}

.section-light [class*="-card"]:hover,
.section-light [class*="_card"]:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.section-light [class*="-card"] h3,
.section-light [class*="-card"] h4 {
  color: #1a1a1a;
}

/* Light section FAQ accordion override */
.section-light details {
  background-color: #fafafa;
  border-color: #e5e5e5;
}

.section-light details summary {
  color: #1a1a1a;
}

.section-light details p,
.section-light details div {
  color: #555;
}

/* ─── 7. BRAND SECTION ──────────────────────────────────────── */
.brand-section { background-color: var(--black-mid); }

/* Brand word list */
.brand-word-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 30px;
}

.brand-word {
  font-family: var(--font-deco);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
}

.brand-word-dot {
  color: var(--gray-border);
  font-size: 1.5rem;
}

.bw-sleep    { color: var(--accent-sleep); }
.bw-train    { color: var(--accent-train); }
.bw-eat      { color: var(--accent-eat); }
.bw-party    { color: var(--accent-party); }
.bw-carnival { color: var(--accent-carnival); }

/* Body text */
.brand-body-text {
  font-family: var(--font-tc);
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Stats */
.stat-card {
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-en);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-desc {
  font-family: var(--font-tc);
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.4;
}

/* Brand images grid */
.brand-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 420px;
}

.brand-img-large    { grid-row: 1 / 3; }
.brand-img-small-top { grid-column: 2; grid-row: 1; }
.brand-img-small-bot { grid-column: 2; grid-row: 2; }

.brand-img-item .img-placeholder {
  width: 100%;
  height: 100%;
}

.rounded-pill-shape { border-radius: 999px; }
.rounded-shape      { border-radius: 16px; }

@media (max-width: 575.98px) {
  .brand-images-grid { height: 280px; }
}

/* ─── 8. EVENTS SECTION ─────────────────────────────────────── */
.events-section { background-color: var(--black); }

.event-card {
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.2);
}

.event-card-featured { border-color: rgba(245, 197, 24, 0.4); }

.event-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--gray-border);
}

.event-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--yellow);
  color: var(--black);
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 30px;
}

.event-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card-title {
  font-family: var(--font-tc);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.4;
}

.event-card-subtitle {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.event-card-tags {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.event-card-tags li {
  font-family: var(--font-tc);
  font-size: 0.85rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-card-tags li i {
  color: var(--yellow);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.btn-event-link {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 8px 18px;
  border-radius: 4px;
  align-self: flex-start;
  transition: background-color 0.2s, color 0.2s;
}

.btn-event-link:hover {
  background-color: var(--yellow);
  color: var(--black);
}

/* ─── 9. ANNUAL REVIEW SECTION ──────────────────────────────── */
.review-section {
  background-color: var(--black-mid);
  overflow: hidden;
}

/* Marquee */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item { flex-shrink: 0; }

.marquee-img {
  width: 320px;
  height: 220px;
  border-radius: 12px;
}

@media (max-width: 575.98px) {
  .marquee-img {
    width: 240px;
    height: 160px;
  }
}

/* ─── 10. CALENDAR / TIMELINE SECTION ──────────────────────── */
.calendar-section { background-color: var(--black); }

.timeline {
  position: relative;
  padding: 20px 0;
}

/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gray-border) 10%,
    var(--gray-border) 90%,
    transparent
  );
  transform: translateX(-50%);
}

/* Entry wrapper */
.timeline-entry {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
}

.timeline-entry:last-child { margin-bottom: 0; }

/* Numbered marker on the center line */
.tl-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--black), 0 0 0 7px rgba(245, 197, 24, 0.3);
  flex-shrink: 0;
}

.tl-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

/* Left-side entries */
.tl-left .tl-content {
  width: calc(50% - 50px);
  margin-right: auto;
  padding-right: 30px;
}

/* Right-side entries */
.tl-right .tl-content {
  width: calc(50% - 50px);
  margin-left: auto;
  padding-left: 30px;
}

/* Timeline card */
.tl-card {
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tl-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.15);
}

.tl-img-wrap {
  width: 100%;
  height: 200px;
}

.tl-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--gray-border);
}

.tl-info { padding: 22px 24px; }

.tl-month {
  font-family: var(--font-deco);
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 6px;
}

.tl-event-name {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.4;
}

.tl-event-sub {
  font-family: var(--font-tc);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 12px;
}

.tl-desc {
  font-family: var(--font-tc);
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--gray-text);
  margin: 0;
}

/* Mobile: single-column timeline */
@media (max-width: 767.98px) {
  .timeline::before { left: 22px; }

  .tl-marker {
    left: 22px;
    width: 38px;
    height: 38px;
  }

  .tl-left .tl-content,
  .tl-right .tl-content {
    width: calc(100% - 56px);
    margin-left: 56px;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 0;
  }
}

/* ─── 11. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background-color: var(--black-deep);
  border-top: 1px solid var(--gray-border);
}

.footer-main { padding: 80px 0 50px; }

.footer-top-row {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray-border);
}

.footer-about-title {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin: 0;
}

.footer-logo {
  font-family: var(--font-deco);
  font-size: 2.2rem;
  color: var(--white);
  display: inline-block;
  margin-bottom: 10px;
  line-height: 1;
}

.footer-tagline {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-brand-desc {
  font-family: var(--font-tc);
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin: 0;
}

.footer-col-title {
  font-family: var(--font-tc);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Footer navigation list */
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-family: var(--font-tc);
  font-size: 0.9rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.footer-nav-list a:hover {
  color: var(--yellow);
  gap: 10px;
}

.footer-nav-list a i {
  font-size: 0.7rem;
  color: var(--yellow);
}

/* Footer contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-tc);
  font-size: 0.88rem;
  color: var(--gray-text);
}

.footer-contact-list li i {
  color: var(--yellow);
  font-size: 1rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.footer-contact-list a {
  color: var(--gray-text);
  transition: color 0.2s;
}

.footer-contact-list a:hover { color: var(--yellow); }

/* Social icons row */
.footer-social-row {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-border);
  display: flex;
  justify-content: center;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  color: var(--gray-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
              transform 0.2s, box-shadow 0.2s;
}

.social-icon-btn:hover {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--yellow-glow);
}

/* Copyright bar */
.footer-copyright {
  background-color: var(--black);
  border-top: 1px solid var(--gray-border);
  padding: 18px 0;
}

.footer-copyright p {
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: #444;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}

/* ─── 12. RESPONSIVE TWEAKS ─────────────────────────────────── */
@media (max-width: 991.98px) {
  :root { --section-py: 70px; }

  .hero-section .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-brand-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 24px;
  }

  .brand-line { font-size: clamp(1.6rem, 5vw, 3rem); }

  .hero-logo-large { font-size: clamp(3rem, 12vw, 6rem); }
}

@media (max-width: 575.98px) {
  :root {
    --section-py: 60px;
    --nav-h: 60px;
  }

  .stepc-logo { font-size: 1.4rem; }

  .hero-countdown { width: 100%; }
  .countdown-num  { padding: 6px 10px; }
}

/* ─── 13. ACCESSIBILITY / REDUCED MOTION ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .marquee-track         { animation: none; }
  .hero-scroll-indicator { animation: none; }
}

/* ─── 14. FOCUS STYLES ──────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 3px;
}
