/* ===========================
   FORGE FITNESS — TRAINERS CSS
   Bold Editorial Portrait Layout
   =========================== */

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

:root {
  --black: #080808;
  --dark: #101010;
  --dark-2: #181818;
  --white: #f5f2ee;
  --white-muted: rgba(245,242,238,0.55);
  --accent: #e63946;
  --gold: #d4a843;
  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ——— NAVBAR ——— */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 40px; height: 80px; display: flex; align-items: center; transition: background 0.4s; }
.navbar.scrolled { background: rgba(8,8,8,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { display: flex; align-items: center; width: 100%; gap: 40px; }
.nav-logo { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); text-decoration: none; flex-shrink: 0; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 32px; margin: 0 auto; }
.nav-links a { font-family: var(--font-condensed); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-muted); text-decoration: none; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-family: var(--font-condensed); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; background: var(--accent); color: var(--white); text-decoration: none; padding: 10px 24px; border-radius: 3px; transition: background 0.3s; flex-shrink: 0; }
.nav-cta:hover { background: #c1121f; }
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.mobile-menu { display: none; position: fixed; top: 80px; left: 0; right: 0; background: rgba(8,8,8,0.98); backdrop-filter: blur(20px); padding: 30px 40px; border-bottom: 1px solid rgba(255,255,255,0.05); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: all 0.3s; }
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { margin-bottom: 18px; }
.mobile-menu ul li a { font-family: var(--font-condensed); font-size: 1.2rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-muted); text-decoration: none; }
.mobile-cta { display: inline-block; margin-top: 12px; font-family: var(--font-condensed); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); text-decoration: none; }

/* ——— TRAINERS HERO ——— */
.trainers-hero {
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 60px 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.trainers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230,57,70,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(212,168,67,0.05) 0%, transparent 50%);
}
.trainers-hero::after {
  content: 'PEOPLE';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  white-space: nowrap;
}
.th-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow { font-family: var(--font-condensed); font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: block; animation: fadeInUp 0.7s ease both; }
.th-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.th-inner h1 span { color: var(--accent); }
.hero-sub { font-size: 1.05rem; color: var(--white-muted); line-height: 1.6; max-width: 460px; animation: fadeInUp 0.8s ease 0.2s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ——— TRAINER CARDS ——— */
.trainers-section { padding: 0; }
.ts-inner { max-width: 100%; }

.trainer-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 600px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.trainer-card.visible { opacity: 1; }
.trainer-card.reversed { grid-template-columns: 1fr 400px; }
.trainer-card.reversed .tc-left { order: 2; }
.trainer-card.reversed .tc-right { order: 1; }

.tc-left {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  border-right: 1px solid rgba(255,255,255,0.05);
  gap: 32px;
}
.trainer-card.reversed .tc-left { border-right: none; border-left: 1px solid rgba(255,255,255,0.05); }

.tc-portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid rgba(255,255,255,0.08);
  transition: transform 0.4s, border-color 0.4s;
}
.trainer-card:hover .tc-portrait {
  transform: scale(1.03);
  border-color: var(--accent);
}
.tc-initials {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.tc-number {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.tc-certs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.tc-certs span {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-muted);
  padding: 5px 14px;
  border-radius: 2px;
}

.tc-right {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
.tc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.tc-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 8px;
}
.tc-role {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.tc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.tc-rating i { color: #ffd60a; font-size: 0.75rem; }
.tc-rating span { font-family: var(--font-condensed); font-size: 0.85rem; color: var(--white-muted); margin-left: 4px; }

.tc-bio {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.7;
}
.tc-specialties { }
.spec-label { font-family: var(--font-condensed); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 10px; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-tags span {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.2);
  color: rgba(230,57,70,0.9);
  padding: 5px 12px;
  border-radius: 2px;
}
.tc-stats { display: flex; gap: 40px; }
.ts { display: flex; flex-direction: column; gap: 4px; }
.ts-num { font-family: var(--font-display); font-size: 2rem; color: var(--white); line-height: 1; }
.ts-label { font-family: var(--font-condensed); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-muted); }

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-book:hover { background: var(--accent); border-color: var(--accent); }

/* ——— SECTION EYEBROW ——— */
.section-eyebrow { font-family: var(--font-condensed); font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }

/* ——— PT SECTION ——— */
.pt-section { padding: 120px 60px; background: var(--dark); }
.pt-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.pt-left h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--white); line-height: 0.95; margin-bottom: 24px; }
.pt-left > p { color: var(--white-muted); line-height: 1.7; margin-bottom: 32px; }
.pt-features { list-style: none; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.pt-features li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--white-muted); }
.pt-features li i { color: var(--accent); font-size: 0.75rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 3px;
  transition: all 0.3s;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: transparent; color: var(--accent); }

.pt-pricing { display: flex; flex-direction: column; gap: 16px; }
.pt-plan {
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  transition: all 0.3s;
}
.pt-plan:hover { border-color: rgba(230,57,70,0.3); }
.pt-plan.featured { border-color: var(--accent); background: rgba(230,57,70,0.05); }
.pt-sessions {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.pt-price { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); line-height: 1; margin-bottom: 10px; }
.pt-price span { font-family: var(--font-condensed); font-size: 1rem; color: var(--white-muted); }
.pt-plan > p { font-size: 0.85rem; color: var(--white-muted); line-height: 1.5; }

/* ——— FOOTER ——— */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 80px 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 60px; padding-bottom: 60px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; color: var(--white); margin-bottom: 16px; }
.footer-logo span { color: var(--accent); }
.footer-brand p { color: var(--white-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: var(--white-muted); font-size: 0.85rem; text-decoration: none; transition: all 0.3s; }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-links h4, .footer-contact h4 { font-family: var(--font-condensed); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: var(--white-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--accent); }
.footer-contact p { display: flex; align-items: flex-start; gap: 12px; color: var(--white-muted); font-size: 0.86rem; line-height: 1.5; margin-bottom: 12px; }
.footer-contact p i { color: var(--accent); font-size: 0.8rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ——— RESPONSIVE ——— */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .trainer-card { grid-template-columns: 300px 1fr; }
  .trainer-card.reversed { grid-template-columns: 1fr 300px; }
  .tc-portrait { width: 180px; height: 180px; }
  .pt-inner { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .trainers-hero { padding: 140px 24px 60px; }
  .trainers-hero::after { display: none; }
  .trainer-card { grid-template-columns: 1fr; min-height: auto; }
  .trainer-card.reversed { grid-template-columns: 1fr; }
  .trainer-card.reversed .tc-left { order: 1; border-left: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .trainer-card.reversed .tc-right { order: 2; }
  .tc-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 40px 24px; }
  .tc-right { padding: 40px 24px; }
  .tc-header { flex-direction: column; gap: 10px; }
  .tc-stats { gap: 24px; flex-wrap: wrap; }
  .pt-section { padding: 80px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer { padding: 60px 20px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
