/* =============================================================================
   PositiveGym – Public Landing Page (body, hero)  v2026-11
   ============================================================================= */

@import "../shared/responsive.css";

/* ── CSS tokens (public page) ─────────────────────────────────────────────── */
:root {
  --yellow:    #f4d20d;
  --yellow-lt: #ffe45c;
  --text-muted:#a8aeb8;
  --radius:    12px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

span, p, h1, h2, h3, h4, h5, a, button, input, textarea, select { font-family: inherit; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--pg414, #111214);
  color: #f0f1f3;
}

/* ── Section base ─────────────────────────────────────────────────────────── */
section { width: 100%; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(760px, calc(100svh - 72px));
  height: min(820px, calc(100svh - 72px));
  isolation: isolate;
  overflow: hidden;
  background: #0b0d0f url(../../assets/main.jpg) center 42% / cover no-repeat;
}

/* gradient overlay – left-heavy for text legibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(5,7,9,.88) 0%,
    rgba(5,7,9,.55) 55%,
    rgba(5,7,9,.20) 100%
  );
  pointer-events: none;
}

/* subtle vignette at bottom */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 160px;
  background: linear-gradient(to top, rgba(10,12,14,.85), transparent);
  pointer-events: none;
}

/* Hero content */
.info-msg {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 820px);
  padding: 40px 24px;
}

.info-msg h1 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 16px;
}

.info-msg h1 em {
  font-style: normal;
  color: var(--yellow);
}

.info-msg h4 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(220,224,230,.85);
  max-width: 56ch;
  margin-bottom: 36px;
  text-wrap: balance;
}

/* CTA button group */
.login-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.login-buttons .btn-primary,
.login-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe45c, #f4d20d);
  color: #111314;
  font: 800 1rem/1 inherit;
  letter-spacing: -.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, filter .18s;
  box-shadow: 0 8px 24px rgba(244,210,13,.30);
}
.login-buttons .btn-primary:hover,
.login-buttons button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(244,210,13,.40);
}
.login-buttons .btn-primary:active,
.login-buttons button:active { transform: none; }

/* ── Map container ─────────────────────────────────────────────────────────── */
.map-container iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 420px);
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 22px;
  background: var(--pg52, #121416);
  border-top: 1px solid rgba(255,255,255,.07);
  color: #7a8290;
  font-size: .85rem;
}
footer a { color: #aab1b9; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero {
    min-height: min(680px, calc(100svh - 68px));
    height: min(680px, calc(100svh - 68px));
  }
  .info-msg h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .login-buttons .btn-primary,
  .login-buttons button {
    min-height: 50px;
    padding: 0 24px;
    font-size: .95rem;
    width: 100%;
    max-width: 320px;
  }
}
