/* ===== FITNESS - Iron Forge Gym ===== */
/* Energetic palette: dark charcoal, neon green, black, orange accents */

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

:root {
  --primary: #1a1a2e;
  --primary-dark: #0d0d1a;
  --accent: #39ff14;
  --accent2: #ff6b35;
  --bg: #121212;
  --bg-alt: #1e1e2e;
  --text: #e0e0e0;
  --text-muted: #9090a0;
  --white: #ffffff;
  --shadow: 0 4px 30px rgba(57, 255, 20, 0.08);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 26, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(57, 255, 20, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  color: var(--accent);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&q=80') center/cover fixed;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 26, 0.9), rgba(26, 26, 46, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 12px;
}

.btn:hover {
  background: #2ee00e;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-small {
  padding: 12px 28px;
  font-size: 0.8rem;
  margin-right: 0;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-size: 1rem;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.plan-card {
  background: var(--bg-alt);
  border: 1px solid rgba(57, 255, 20, 0.08);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.plan-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-6px);
}

.plan-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--white);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: 'Oswald', sans-serif;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.plan-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Trainers */
.trainers {
  background: var(--bg-alt);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trainer-card {
  background: var(--bg);
  border: 1px solid rgba(57, 255, 20, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.trainer-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-6px);
}

.trainer-img {
  height: 280px;
}

.trainer-info {
  padding: 20px;
  text-align: center;
}

.trainer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.trainer-title {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.trainer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(57, 255, 20, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.program-card:hover {
  border-color: var(--accent2);
  background: rgba(255, 107, 53, 0.05);
  transform: translateY(-4px);
}

.program-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.program-card:hover .program-icon {
  color: var(--accent2);
}

.program-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.program-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  padding: 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 14px;
  color: var(--text);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent2);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info p {
  margin-bottom: 14px;
  font-size: 1rem;
}

.cta-buttons {
  margin-top: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 2px solid rgba(57, 255, 20, 0.15);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(57, 255, 20, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(57, 255, 20, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .trainers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .plans-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .trainers-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-6px);
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .trainer-img {
    height: 220px;
  }

  .btn {
    display: block;
    margin: 0 auto 12px;
    text-align: center;
  }
}
