/* TOP FITNESS L.L.C GYM & Life style fitness center — design concept by Beans Digital
   Palette derived from the gym's identity: reviewers describe plants and a small
   aquarium and say it "feels like home" → deep charcoal base, botanical green
   as the brand colour, warm amber accent for energy. Not a neon gym. */

:root {
  --charcoal: #171d1a;
  --charcoal-2: #212923;
  --green: #3e7a52;
  --green-bright: #5fae79;
  --amber: #e8a33d;
  --paper: #f4f3ee;
  --mist: #c7cfc9;
  --line: #32403a;
  --radius: 14px;
}

@view-transition { navigation: auto; }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--charcoal);
  color: var(--paper);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--green-bright); }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* Concept banner */
.concept-banner {
  background: var(--amber);
  color: #241a05;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}

/* Header */
.site-header {
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  view-transition-name: site-header;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--paper); view-transition-name: brand; }
.brand strong { font-size: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.brand strong em { color: var(--green-bright); font-style: normal; }
.brand span { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mist); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--line); }
.main-nav a[aria-current="page"] { background: var(--green); color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(94, 174, 121, 0.25), transparent 55%),
    radial-gradient(ellipse at 10% 110%, rgba(232, 163, 61, 0.12), transparent 50%),
    var(--charcoal);
  padding: 64px 0 52px;
}
.hero h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; max-width: 640px; }
.hero h1 .green { color: var(--green-bright); }
.hero p.lead { max-width: 560px; margin-top: 16px; font-size: 1.05rem; color: var(--mist); }
.rating-line { margin-top: 18px; font-size: 0.9rem; color: var(--amber); font-weight: 600; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 10px;
  display: inline-block;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-bright); color: #10150f; }
.btn-outline { border: 1.5px solid var(--mist); color: var(--paper); }
.btn-outline:hover { border-color: var(--green-bright); color: var(--green-bright); }

/* Sections */
section { padding: 52px 0; }
.section-sub { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.section-title { font-size: clamp(1.5rem, 4vw, 2.1rem); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; }
.section-note { color: var(--mist); max-width: 640px; }

/* Stats band */
.stats-band { background: var(--charcoal-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--green-bright); }
.stat span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green-bright); margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--mist); }
.card .note { font-size: 0.78rem; color: var(--amber); margin-top: 10px; }

/* Trainer cards */
.trainer-card { text-align: center; }
.trainer-card .photo-slot { min-height: 200px; margin-bottom: 14px; }
.trainer-card h3 { color: var(--paper); }
.trainer-card .role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }

/* Photo placeholder slots */
.photo-slot {
  border: 2px dashed var(--green-bright);
  border-radius: var(--radius);
  background: rgba(94, 174, 121, 0.08);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.photo-slot.tall { min-height: 260px; }

/* Hours + schedule tables */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--charcoal-2); border-radius: var(--radius); overflow: hidden; }
.hours-table th, .hours-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table th { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; background: var(--green); color: #fff; }
.hours-table td { color: var(--paper); }
.hours-table .today { background: rgba(94, 174, 121, 0.14); font-weight: 600; }

/* Callout (confirm-with-gym placeholder) */
.callout {
  border: 2px dashed var(--amber);
  border-radius: var(--radius);
  background: rgba(232, 163, 61, 0.08);
  padding: 20px 24px;
  margin-top: 20px;
  color: var(--paper);
  font-size: 0.95rem;
}
.callout strong { color: var(--amber); }

/* Contact / map */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.contact-list { list-style: none; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Quote band */
.quote-band { background: var(--green); color: #eaf5ee; text-align: center; }
.quote-band blockquote { font-size: clamp(1.1rem, 3vw, 1.5rem); font-style: italic; max-width: 680px; margin-inline: auto; }
.quote-band cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: #cde8d5; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
.wa-float:hover { background: #1ebe5b; }

/* Footer */
.site-footer { background: #10140f; color: var(--mist); padding: 36px 0; margin-top: 24px; font-size: 0.85rem; }
.site-footer a { color: var(--green-bright); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-credit { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 0.78rem; }

/* Reveal animation (progressive enhancement; content visible with JS off) */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  body.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  body.js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 480px) {
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; }
  .hero { padding: 44px 0 40px; }
  .hero h1, .hero p.lead { text-align: center; margin-inline: auto; }
  .btn-row { justify-content: center; }
  .rating-line { text-align: center; }
}
