:root {
  --bg-dark: #14180f;
  --bg-darker: #0c0f0a;
  --bg-top: #000000;
  --bg-bottom: #2b2b2b;
  --cream: #f2ede1;
  --cream-dim: #cfc9b8;
  --gold: #eaa525;
  --whatsapp: #25d366;
  --radius-pill: 999px;
  --max-width: 1240px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: linear-gradient(to bottom, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--cream);
  color: var(--bg-darker);
}
.btn-primary:hover { background: var(--gold); color: var(--bg-darker); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 237, 225, 0.5);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 237, 225, 0.6);
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
}
.btn-outline:hover { background: var(--gold); color: var(--bg-darker); border-color: var(--gold); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 4vw;
  background: #000;
  transition: transform 0.35s ease;
}
.site-header.nav-hidden {
  transform: translateY(-100%);
}
.logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}
.logo-link:hover { opacity: 0.85; }
.logo-img {
  height: 84px;
  width: auto;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.btn-compact {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .logo-img { height: 60px; }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: max(560px, 52vw);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 4vw 5rem;
  text-align: start;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--cream);
  margin-top: 0.5rem;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
}
/* Gym info section */
.gym-info {
  padding: 6rem 4vw;
}
.gym-info-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.gym-text { order: 2; }
.gym-gallery { order: 1; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.gym-text h2, .about-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.placeholder-text {
  color: var(--cream-dim);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}
.gym-highlights {
  list-style: none;
  margin-bottom: 2rem;
}
.gym-highlights li {
  position: relative;
  padding-right: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--cream);
}
.gym-highlights li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}
.carousel {
  background: #000;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
/* Tall photos in a 4:3 frame: choose which part stays visible */
.carousel-slide[src$="20260508_120258.jpg"] { object-position: center 87%; }
.carousel-slide[src$="20260519_064627.jpg"] { object-position: center 64%; }
.carousel-slide[src$="20260519_192153.jpg"] { object-position: center 64%; }
.carousel-slide[src$="4.jpg"] { object-position: center 72%; }
.carousel-slide[src$="5.jpeg"] { object-fit: contain; object-position: center; background: #000; }
.carousel-slide.active {
  opacity: 1;
}

.more-link {
  display: block;
  width: fit-content;
  margin-top: 1.2rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.more-link:hover { border-color: var(--gold); }

/* About me */
.about-me {
  padding: 6rem 4vw;
}
.about-me-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Footer */
.site-footer {
  padding: 3rem 4vw 2rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.footer-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}
.footer-copy {
  color: rgba(242,237,225,0.4);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  z-index: 400;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Contact Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 10, 0.75);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg-dark);
  border: 1px solid rgba(242,237,225,0.1);
  border-radius: 16px;
  padding: 2.4rem;
  width: min(90vw, 440px);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-box h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.modal-sub {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--cream); }

#contactForm { display: flex; flex-direction: column; gap: 0.9rem; }
#contactForm label {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: -0.4rem;
}
.required-mark {
  color: var(--gold);
  margin-inline-start: 2px;
}
#contactForm input, #contactForm textarea {
  font-family: inherit;
  background: rgba(242, 237, 225, 0.06);
  border: 1px solid rgba(242, 237, 225, 0.18);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--cream);
  font-size: 1rem;
  resize: vertical;
}
#contactForm input:focus, #contactForm textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-submit { margin-top: 0.4rem; width: 100%; text-align: center; }
.form-privacy {
  color: var(--cream-dim);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.form-note {
  color: var(--cream-dim);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.4rem;
}

/* Responsive */
@media (max-width: 900px) {
  .gym-info-inner, .about-me-inner {
    grid-template-columns: 1fr;
  }
  .gym-text, .gym-gallery, .about-photo, .about-text {
    order: initial;
  }
  .about-photo img { max-width: 420px; margin-inline: auto; }
  .carousel { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .carousel { aspect-ratio: 4 / 3; }
  .whatsapp-float { left: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Subpages (method / about-more) */
.subpage-main {
  padding: 9rem 4vw 6rem;
  min-height: 60vh;
}
.subpage-inner {
  max-width: 900px;
  margin: 0 auto;
}
.back-link {
  display: inline-block;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.back-link:hover { color: var(--cream); border-color: var(--cream); }
.subpage-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--cream);
}
.subpage-inner .carousel {
  aspect-ratio: 4 / 3;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.subpage-photo img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 2.5rem;
}
@media (max-width: 600px) {
  .subpage-inner .carousel { aspect-ratio: 4 / 3; }
}
