/* ================================================
   HERO.CSS — Xtreme Fitness Studio
   Full responsive hero section
================================================ */

/* ---- Hero Section Background ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: var(--navbar-height, 64px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(230, 0, 0, 0.22),
      transparent 48%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(150, 0, 0, 0.1),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #0a0000 0%,
      #060606 50%,
      #000 100%
    );
  border-bottom: 1px solid rgba(230, 0, 0, 0.35);
}

/* ---- Two-Column Content Grid ---- */
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ---- Text Content Side ---- */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow:
    0 0 20px rgba(230, 0, 0, 0.35),
    0 0 40px rgba(230, 0, 0, 0.15);
}

/* "STRONGEST" accent word */
.title-accent {
  color: #e60000;
  text-shadow:
    0 0 20px rgba(230, 0, 0, 0.9),
    0 0 40px rgba(230, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* ---- Hero Buttons ---- */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Hero Image Side ---- */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  filter:
    drop-shadow(0 0 20px rgba(230, 0, 0, 0.4))
    drop-shadow(0 0 40px rgba(230, 0, 0, 0.2));
  animation: heroFloat 3.5s ease-in-out infinite;
}

/* ---- Hero Badge ---- */
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 1.1rem 1.4rem;
  border-radius: 0.75rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(230, 0, 0, 0.5);
  animation: badgeBounce 2.5s ease-in-out infinite;
}

.badge-content {
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.badge-number {
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  opacity: 0.9;
}

/* ================================================
   ANIMATIONS
================================================ */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ================================================
   BREAKPOINTS — Hero
================================================ */

/* Laptop (1024px) */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2.5rem;
  }

  .hero-image img {
    max-width: 360px;
  }
}

/* Tablet (768px) — switch to single column */
@media (max-width: 768px) {
  .hero-section {
    margin-top: 60px;
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    display: inline-block;
  }

  .hero-image img {
    max-width: 340px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .hero-section {
    margin-top: 54px;
  }

  .hero-container {
    padding: 2rem 1rem;
    gap: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1rem;
  }

  .hero-image img {
    max-width: 280px;
  }

  .hero-badge {
    display: none;
  }
}

/* Very small (375px) */
@media (max-width: 375px) {
  .hero-image img {
    max-width: 240px;
  }
}
