/* Evolution Gym — Industrial Powerlifting Aesthetic */

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #121212;
  --bg-elevated: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --accent: #e63946;
  --accent-hover: #ff4757;
  --accent-muted: rgba(230, 57, 70, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
  transition: background 0.3s;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-decoration: none;
}

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

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
  margin-bottom: 3rem;
}

.hero-manifesto {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 3rem;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.manifesto-line .num {
  display: inline-block;
  width: 2.5rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.manifesto-line.manifesto-highlight {
  color: var(--text);
  border-color: var(--accent);
}

.manifesto-line.manifesto-highlight em {
  color: var(--accent);
  font-style: normal;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--bg-card);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: var(--text);
}

.section-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s;
}

.about-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
}

.about-stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

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

/* Rates */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.rate-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.rate-card-highlight {
  border-color: var(--accent);
  background: var(--accent-muted);
}

.rate-price {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.rate-card h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

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

.rates-auto {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
}

.rates-auto h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rates-auto p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

#rates .btn {
  margin-top: 0;
}

/* Owners */
.owners-content {
  max-width: 700px;
}

.owners-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.owners-intro {
  font-size: 1.1rem;
  color: var(--text) !important;
}

.owners-signature {
  font-style: italic;
  color: var(--accent) !important;
  margin-top: 2rem;
}

/* Gym */
.gym-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gym-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
}

.gym-block-wide {
  grid-column: 1 / -1;
}

.gym-block h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.gym-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.section-contact .section-title {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-block h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-block p {
  color: var(--text-muted);
}

.contact-block a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

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

.contact-cta {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--bg-dark);
    z-index: 99;
  }

  .nav.open a {
    font-size: 1.25rem;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .manifesto-line {
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

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