/* ============================================
   IRON HEROES GYM — GLOBAL STYLES
   ============================================ */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #888888;
  --gray-light: #bbbbbb;
  --red: #cc1a1a;
  --red-hot: #e02020;
  --white: #f0ede8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.red { color: var(--red-hot); }

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid #2a2a2a;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  display: flex;
  gap: 0.25rem;
  align-items: baseline;
}
.logo-iron { color: var(--white); }
.logo-heroes { color: var(--red-hot); }
.logo-gym { color: var(--gray); font-size: 1rem; }

.nav-desktop {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-hot);
  transition: width 0.25s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Dropdown (mobile) */
.nav-dropdown-wrapper {
  display: none;
  position: relative;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: var(--dark-2);
  border: 1px solid #333;
  min-width: 200px;
  flex-direction: column;
  padding: 0.5rem 0;
}
.dropdown-menu.open { display: flex; }

.dropdown-link {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 0.75rem 1.5rem;
  transition: background 0.2s, color 0.2s;
}
.dropdown-link:hover {
  background: var(--dark-3);
  color: var(--white);
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-dropdown-wrapper { display: block; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hot);
  border-color: var(--red-hot);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204, 26, 26, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(240, 237, 232, 0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ============================================
   HERO (HOME)
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('gym-hero.png') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.4) 50%,
      rgba(0,0,0,0.75) 85%,
      var(--black) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  animation: bounce 2s infinite;
}

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


/* ============================================
   SECOND HERO (scroll section)
   ============================================ */

.hero-section-2 {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('gym-hero2.png') center center / cover no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-section-2 {
    background-attachment: scroll;
    background-position: center center;
  }
}

.hero-section-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--black) 0%,
    rgba(0,0,0,0.3) 20%,
    rgba(0,0,0,0.4) 80%,
    var(--black) 100%
  );
}

.hero-section-2-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-section-2-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-section-2-content p {
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--red-hot);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #333;
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat { padding: 1rem 1.5rem; }
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-body {
  color: var(--gray-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: var(--dark-2);
  border: 1px solid #2a2a2a;
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}
.about-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.about-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background:
    linear-gradient(135deg, rgba(180,20,20,0.15) 0%, transparent 60%),
    var(--dark-2);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.01) 60px,
      rgba(255,255,255,0.01) 62px
    ),
    radial-gradient(ellipse at 30% 50%, rgba(160, 16, 16, 0.15) 0%, transparent 70%),
    var(--dark);
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 1px solid #222;
}

.page-hero-inner { max-width: 800px; margin: 0 auto; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
}

/* ============================================
   MEMBERSHIP PAGE
   ============================================ */

.membership-section {
  text-align: center;
}

.membership-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.membership-card {
  background: var(--dark-2);
  border: 1px solid #2a2a2a;
  padding: 2.5rem;
  width: 360px;
  max-width: 100%;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
  text-align: left;
}
.membership-card:hover {
  transform: translateY(-4px);
  border-color: #444;
}
.membership-card.featured {
  border-color: var(--red);
}
.membership-card.featured:hover {
  border-color: var(--red-hot);
  box-shadow: 0 0 40px rgba(204, 26, 26, 0.2);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.3rem 1rem;
  text-transform: uppercase;
}

.card-header { margin-bottom: 2rem; }

.card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.card-price {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
}
.price-dollar {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-light);
  line-height: 1.6;
}
.price-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red-hot);
  line-height: 1;
}
.price-period {
  font-family: var(--font-condensed);
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

.card-perks {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.card-perks li {
  font-size: 0.95rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.check { color: var(--red-hot); font-weight: bold; }
.check.dim { color: var(--gray); }

.card-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1rem;
  text-align: center;
}

.membership-card {
  display: flex;
  flex-direction: column;
}

.membership-card .card-perks {
  flex: 1;
}

.card-btn-wrap {
  margin-top: auto;
}

.membership-note {
  color: var(--gray-light);
  font-size: 1rem;
}
.membership-note a { border-bottom: 1px solid currentColor; }

/* ============================================
   TRAINERS PAGE
   ============================================ */

.trainers-section { padding-top: 5rem; }

.trainers-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.trainer-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 600px) {
  .trainers-grid { grid-template-columns: 1fr; }
  .trainer-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }
}

.trainer-card {
  background: var(--dark-2);
  border: 1px solid #2a2a2a;
  display: flex;
  gap: 2rem;
  padding: 2rem;
  transition: border-color 0.25s;
}
.trainer-card:hover { border-color: #444; }

.trainer-photo {
  flex-shrink: 0;
  width: 130px;
  height: 150px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.trainer-card:hover .trainer-photo img {
  filter: grayscale(0%);
}

.placeholder-photo {
  background: linear-gradient(135deg, #222, #333);
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-hot);
  letter-spacing: 0.05em;
}

.trainer-info { flex: 1; }

.trainer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.trainer-title {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 0.75rem;
}

.trainer-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tag {
  background: #1e1e1e;
  border: 1px solid #333;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0.2rem 0.6rem;
}

.trainer-bio {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.trainer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-link {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--white); }

.trainers-cta {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 4rem;
}
.trainers-cta h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.trainers-cta p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section { padding-top: 5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

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

.contact-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2a2a2a;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 0.3rem;
}

.contact-value {
  color: var(--gray-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-social { margin-top: 0.5rem; }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  border: 1px solid #333;
  padding: 0.4rem 1rem;
  transition: all 0.2s;
}
.social-btn:hover {
  border-color: var(--red);
  color: var(--white);
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid #2a2a2a;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group select option {
  background: var(--dark-2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-success {
  background: rgba(0, 160, 60, 0.15);
  border: 1px solid rgba(0, 200, 80, 0.3);
  color: #6fe89a;
  padding: 1rem;
  font-family: var(--font-condensed);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--dark-2);
  border-top: 1px solid #222;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: #555;
}
