/* V-Fit Gym premium dark theme. Swap image paths in the HTML if your filenames change. */
:root {
  --bg: #050505;
  --bg-soft: #0b0b0d;
  --panel: #141416;
  --panel-2: #1d1d20;
  --text: #ffffff;
  --muted: #c8c8c8;
  --line: rgba(255, 208, 0, 0.22);
  --yellow: #ffd000;
  --yellow-2: #ffb800;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 208, 0, 0.14);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span {
  display: block;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 26px 10px;
  color: #f2f2f2;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 19px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  color: var(--yellow);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--yellow);
  color: #070707;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 208, 0, 0.18);
  background: var(--yellow-2);
}

.btn.ghost {
  background: transparent;
  color: var(--yellow);
}

.btn.ghost:hover {
  background: rgba(255, 208, 0, 0.1);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 208, 0, 0.18);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image, url("../images/banner.jpg")) center/cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 46%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 30%);
  content: "";
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 88px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 3px;
  background: var(--yellow);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 8vw, 6.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #eeeeee;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 52px;
  border: 1px solid rgba(255, 208, 0, 0.2);
  background: rgba(255, 208, 0, 0.18);
}

.stat {
  padding: 20px;
  background: rgba(10, 10, 10, 0.8);
}

.stat strong {
  display: block;
  color: var(--yellow);
  font-size: 1.7rem;
  font-weight: 900;
}

.stat span {
  color: #f5f5f5;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero {
  padding: 86px 0 64px;
  border-bottom: 1px solid rgba(255, 208, 0, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 208, 0, 0.12), transparent 30%),
    linear-gradient(180deg, #101010, #050505);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #0b0b0c;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 580px;
  margin: 12px 0 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 0, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0f0f10);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 208, 0, 0.55);
}

.card-pad {
  padding: 26px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 208, 0, 0.1);
  color: var(--yellow);
  font-size: 1.25rem;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}

.card li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.card li::before {
  color: var(--yellow);
  font-weight: 900;
  content: "✓";
}

.image-card img,
.gallery-item img,
.trainer-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.image-card .caption {
  padding: 20px;
  background: #111;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 208, 0, 0.14);
  border-radius: var(--radius);
  background: #111;
}

.feature i {
  color: var(--yellow);
  margin-top: 4px;
}

.branch-card .map {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255, 208, 0, 0.15);
  background:
    linear-gradient(45deg, rgba(255, 208, 0, 0.1), transparent),
    #101010;
  color: var(--yellow);
  font-weight: 900;
  text-align: center;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.price {
  display: inline-block;
  margin: 14px 0;
  color: var(--yellow);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trainer-card .role {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 208, 0, 0.28);
  border-radius: var(--radius);
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--yellow);
  color: #050505;
}

.gallery-item {
  cursor: pointer;
}

.gallery-item[hidden] {
  display: none;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #f5f5f5;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-radius: var(--radius);
  background: #0f0f10;
  color: #fff;
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.1);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list div {
  padding: 16px;
  border: 1px solid rgba(255, 208, 0, 0.16);
  border-radius: var(--radius);
  background: #111;
}

.contact-list i {
  color: var(--yellow);
  margin-right: 10px;
}

.cta-band {
  border-top: 1px solid rgba(255, 208, 0, 0.18);
  border-bottom: 1px solid rgba(255, 208, 0, 0.18);
  background:
    linear-gradient(120deg, rgba(255, 208, 0, 0.16), transparent 48%),
    #0c0c0d;
}

.site-footer {
  padding: 62px 0 24px;
  border-top: 1px solid rgba(255, 208, 0, 0.18);
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.4fr;
  gap: 28px;
}

.footer-logo {
  width: 84px;
  margin-bottom: 14px;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 0.95rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: #cecece;
}

.site-footer a:hover {
  color: var(--yellow);
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa;
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 82vh;
  border: 1px solid rgba(255, 208, 0, 0.28);
  border-radius: var(--radius);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: #070707;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    border: 1px solid rgba(255, 208, 0, 0.12);
    border-radius: var(--radius);
    background: #111;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: inline-block;
  }

  .desktop-join {
    display: none;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 72px 0 88px;
  }

  .stats-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .split,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .image-card img,
  .gallery-item img,
  .trainer-card img {
    height: 260px;
  }

  .btn {
    width: 100%;
  }
}
