/* ============================================================
   BYLTSTRONG — Brand Design System
   Colors: Charcoal Black, Graphite Gray, Off-White, Strength Red
   Typography: Barlow Condensed (headings) + Inter (body)
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --black:          #0a0a0a;
  --charcoal:       #1a1a1a;
  --graphite:       #2a2a2a;
  --graphite-light: #3a3a3a;
  --gray:           #6b6b6b;
  --gray-light:     #9a9a9a;
  --off-white:      #f5f4f0;
  --white:          #ffffff;
  --red:            #c8102e;
  --red-dark:       #a00d24;
  --olive:          #4a5240;

  --font-heading:   'Barlow Condensed', sans-serif;
  --font-body:      'Inter', sans-serif;

  --transition:     0.25s ease;
  --radius:         0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 48px; } }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray);
}
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* --- Section Divider --- */
.section-divider {
  width: 48px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
}

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header.left { text-align: left; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }

/* --- Sections --- */
.section { padding: 96px 0; }
.section--black { background: var(--black); }
.section--dark { background: var(--charcoal); }
.section--red { background: var(--red); }
.section--offwhite { background: var(--off-white); }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--black);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .nav__inner { padding: 0 48px; } }
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.nav__logo span { color: var(--red); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  text-decoration: none;
}
.nav__links a:hover, .nav__links a.active { color: var(--red); }
.nav__cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 20px;
}
.nav__cta:hover { background: var(--red-dark) !important; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.4rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.3) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 120px;
}
@media (min-width: 768px) { .hero__content { padding: 120px 48px 0; } }
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Animate-in class triggered by IntersectionObserver */
.animate-delay-1, .animate-delay-2, .animate-delay-3, .animate-delay-4 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-delay-1 { transition-delay: 0s; }
.animate-delay-2 { transition-delay: 0.1s; }
.animate-delay-3 { transition-delay: 0.2s; }
.animate-delay-4 { transition-delay: 0.3s; }
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }

/* Auto-trigger hero animations */
.hero .hero__eyebrow,
.hero .hero__title,
.hero .hero__subtitle,
.hero .hero__actions {
  animation: fadeUp 0.7s ease forwards;
}
.hero .hero__eyebrow { animation-delay: 0.2s; }
.hero .hero__title { animation-delay: 0.4s; }
.hero .hero__subtitle { animation-delay: 0.6s; }
.hero .hero__actions { animation-delay: 0.8s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  background-image: linear-gradient(rgba(10,10,10,0.75), rgba(10,10,10,0.75));
  background-size: cover;
  background-position: center;
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
}
.breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-lg { padding: 18px 36px; font-size: 0.9rem; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }

/* ============================================================
   STATS
   ============================================================ */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.stat-item {
  background: var(--graphite);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   TRANSFORMATION SECTION
   ============================================================ */
.transformation { position: relative; }
.transformation__image { width: 100%; max-height: 600px; object-fit: cover; }
.transformation__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
  padding: 64px 48px 48px;
}
.transformation__labels {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.transformation__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.transformation__label.after {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
@media (max-width: 768px) {
  .transformation__caption { padding: 40px 24px 32px; }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all var(--transition);
  overflow: hidden;
}
.product-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.product-card__image { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card__image { transform: scale(1.03); }
.product-card__body { padding: 24px; }
.product-card__category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-card__desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; }
.product-card__price {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.product-card__btn {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--charcoal);
  color: var(--white);
  transition: background var(--transition);
  text-decoration: none;
}
.product-card__btn:hover { background: var(--red); }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  margin-bottom: 12px;
  border-left: 4px solid var(--red);
  background: var(--off-white);
  transition: all var(--transition);
}
.event-card:hover { transform: translateX(4px); }
.event-card__date { text-align: center; min-width: 56px; }
.event-card__month {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.event-card__day {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--charcoal);
}
.event-card__type {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 4px;
}
.event-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.event-card__meta { font-size: 0.82rem; color: var(--gray); }

/* ============================================================
   BLOG / CONTENT CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.card__image { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__image { transform: scale(1.03); }
.card__body { padding: 24px; }
.card__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}
.card__text { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.card__link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  transition: color var(--transition);
}
.card__link:hover { color: var(--charcoal); }

/* ============================================================
   BLOG FEATURED
   ============================================================ */
.blog-featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4px; }
.blog-featured__main { position: relative; overflow: hidden; }
.blog-featured__main img { width: 100%; height: 480px; object-fit: cover; }
.blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-featured__side { display: flex; flex-direction: column; gap: 4px; }
.blog-side-item { position: relative; overflow: hidden; flex: 1; }
.blog-side-item img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.blog-side-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__side { flex-direction: row; }
}

/* ============================================================
   OPT-IN FORM
   ============================================================ */
.optin-form {
  display: flex;
  max-width: 480px;
  gap: 0;
}
.optin-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  outline: none;
}
.optin-form input::placeholder { color: rgba(255,255,255,0.6); }
.optin-form input:focus { border-color: rgba(255,255,255,0.8); }
.optin-form button {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 28px;
  background: var(--charcoal);
  color: var(--white);
  border: 2px solid var(--charcoal);
  transition: all var(--transition);
  white-space: nowrap;
}
.optin-form button:hover { background: var(--black); border-color: var(--black); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); padding: 80px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__logo span { color: var(--red); }
.footer__tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px;
  height: 36px;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--red); color: var(--white); }
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer__bottom-links a:hover { color: var(--red); }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

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