/* ==========================
   OPTIMAL FITNESS — REDESIGN
   ========================== */

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

:root {
  --red: #8B1E2E;
  --red-dark: #6e1724;
  --text: #1a1a1a;
  --text-soft: #5a5a5a;
  --bg: #ffffff;
  --bg-soft: #f7f4f1;
  --bg-dark: #141414;
  --border: #e4ddd5;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.logo-link { display: block; }

.logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-text-light { color: rgba(255, 255, 255, 0.88); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a { color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }

.nav-links .nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.2rem;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-bottom: 2px solid var(--red);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 1rem 2rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--text); background: var(--bg-soft); }
.mobile-menu .nav-cta {
  background: var(--red);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  border: none;
}
.mobile-menu .nav-cta:hover { background: var(--red-dark); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('gym-2.jpg') center 35% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.52) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 6vw;
  color: #fff;
  max-width: 800px;
}

.tagline {
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
}

.cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(139, 30, 46, 0.45);
}
.cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 30, 46, 0.55);
}

.cta-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.5rem;
  animation: bob 2.5s ease-in-out infinite;
}

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

/* ── PERKS STRIP ── */
.perks-strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--bg-dark);
  color: #fff;
  flex-wrap: wrap;
}

.perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.8rem 2.5rem;
  flex: 1;
  min-width: 150px;
}

.perk a { color: #fff; transition: opacity 0.2s; }
.perk a:hover { opacity: 0.75; }

.perk-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
}

.perk-val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.perk-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.2rem 0;
  align-self: stretch;
}

/* ── GALLERY ── */
.gallery { padding: 6rem 2rem; }

.gallery h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 320px 260px;
  gap: 8px;
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.35s ease;
  filter: brightness(0.88) saturate(1.05);
}
.photo-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.02) saturate(1.1);
  z-index: 2;
  position: relative;
}

.photo-grid img:nth-child(1) { grid-column: span 4; }
.photo-grid img:nth-child(2) { grid-column: span 2; }
.photo-grid img:nth-child(3) { grid-column: span 2; }
.photo-grid img:nth-child(4) { grid-column: span 2; }
.photo-grid img:nth-child(5) { grid-column: span 2; }

/* ── ABOUT ── */
.about { padding: 6.5rem 2rem; background: var(--bg-soft); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: left;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.about-text p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-text p:last-of-type { margin-bottom: 2rem; }

.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

/* ── SERVICES ── */
.services {
  padding: 6rem 2rem;
  background: var(--bg-dark);
  color: #fff;
}

.services h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.services-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.service-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.service-body p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.service-cta:hover { background: var(--red-dark); }

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

/* ── HOURS ── */
.hours-section {
  padding: 6rem 2rem;
  background: var(--bg-dark);
  color: #fff;
}

.hours-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.hours-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.2s;
}
.hours-card:hover { border-color: rgba(255, 255, 255, 0.2); }

.hours-featured {
  background: var(--red);
  border-color: var(--red);
}
.hours-featured:hover { border-color: var(--red-dark); }

.hours-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
}
.hours-featured .hours-label { color: rgba(255, 255, 255, 0.8); }

.hours-val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.hours-val-sm {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.hours-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.hours-featured .hours-note { color: rgba(255, 255, 255, 0.75); }

.map-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.map-link:hover { color: #fff; }

/* ── FOOTER ── */
.contact {
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 2rem 2.5rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-brand .logo-text {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}
.contact-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.38);
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}
.contact-info a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.contact-info a:hover { color: #fff; }

.contact-action p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.1rem;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  max-width: 1120px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .topbar { padding: 1rem 1.5rem; }

  .hero-content { padding: 0 2rem; }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 200px 200px;
  }
  .photo-grid img:nth-child(1) { grid-column: span 2; }
  .photo-grid img:nth-child(n+2) { grid-column: span 1; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-text h2 { text-align: center; }
  .about-text p:last-of-type { text-align: center; }
  .about-img img { height: 320px; }
  .about-text { text-align: center; }

  .hours-grid { grid-template-columns: 1fr; max-width: 420px; }

  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-brand, .contact-action { text-align: center; }
}

@media (max-width: 560px) {
  .perks-strip { flex-direction: column; }
  .perk { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .perk:last-child { border: none; }
  .perk-div { display: none; }

  .gallery { padding: 4rem 1rem; }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    border-radius: 6px;
  }
  .photo-grid img:nth-child(n) { grid-column: span 1; }

  .about { padding: 4rem 1.5rem; }
  .hours-section { padding: 4rem 1.5rem; }
  .contact { padding: 3.5rem 1.5rem 2rem; }
}
