/* ── Iron Gym — Global Styles ──────────────────────────────────────── */
:root {
  --ig-orange:  #e85d04;
  --ig-dark:    #111111;
  --ig-darker:  #0a0a0a;
  --ig-border:  #2a2a2a;
}

/* ── Auth layout ────────────────────────────────────────────────────── */
.auth-body {
  background: #f5f5f5;
  min-height: 100vh;
}

.auth-wrap {
  display: flex;
  min-height: 100vh;
}

/* Levý panel */
.auth-brand {
  width: 420px;
  flex-shrink: 0;
  background: var(--ig-dark);
  padding: 3rem 2.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-features li {
  color: #aaa;
  margin-bottom: .65rem;
  font-size: .9rem;
}

.auth-brand-footer {
  font-size: .85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ig-border);
}

/* Pravý panel */
.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #f5f5f5;
}

.auth-form-inner {
  width: 100%;
  max-width: 520px;
}

/* Headings */
.auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: .25rem;
  color: #111;
}

.auth-subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: .95rem;
}

/* Formulářové prvky */
.form-control:focus,
.form-select:focus {
  border-color: var(--ig-orange);
  box-shadow: 0 0 0 .2rem rgba(232,93,4,.15);
}

.btn-primary {
  background: var(--ig-orange);
  border-color: var(--ig-orange);
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #c94f03;
  border-color: #c94f03;
}
.btn-outline-primary {
  color: var(--ig-orange);
  border-color: var(--ig-orange);
}
.btn-outline-primary:hover {
  background: var(--ig-orange);
  border-color: var(--ig-orange);
}

/* Member type radio buttons */
.member-type-btn input[type="radio"] { display: none; }
.member-type-btn label {
  cursor: pointer;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: .75rem 1rem;
  display: block;
  transition: all .15s;
  background: #fff;
  color: #333;
  font-weight: 500;
}
.member-type-btn input[type="radio"]:checked + label {
  border-color: var(--ig-orange);
  background: rgba(232,93,4,.06);
  color: var(--ig-orange);
}
.member-type-btn label:hover {
  border-color: var(--ig-orange);
}

/* Password strength bar */
.pw-strength {
  height: 4px;
  border-radius: 2px;
  transition: width .3s, background .3s;
  background: #dee2e6;
}
.pw-strength.s0 { width: 0; }
.pw-strength.s1 { width: 25%; background: #dc3545; }
.pw-strength.s2 { width: 50%; background: #ffc107; }
.pw-strength.s3 { width: 75%; background: #0d6efd; }
.pw-strength.s4 { width: 100%; background: #198754; }

/* Auth card sections */
.auth-section {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}
.auth-section-title {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.auth-section-title i {
  color: var(--ig-orange);
}

/* Links */
a.auth-link {
  color: var(--ig-orange);
  text-decoration: none;
  font-weight: 500;
}
a.auth-link:hover { text-decoration: underline; }

/* Error state */
.invalid-feedback { font-size: .8rem; }

/* ── Responsive auth ────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .auth-form-wrap { padding: 2rem 1rem; }
  .auth-form-inner { max-width: 100%; }
}


/* ══════════════════════════════════════════════════════════════════════
   PUBLIC / LANDING PAGE
══════════════════════════════════════════════════════════════════════ */

.pub-body {
  background: var(--ig-darker);
  color: #ccc;
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.pub-nav {
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .75rem 0;
  transition: background .3s;
}
.pub-nav.scrolled {
  background: rgba(0,0,0,.97);
}
.pub-brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff !important;
  text-decoration: none;
}
.pub-nav .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  padding: .4rem .75rem !important;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.pub-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.07);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ig-darker);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232,93,4,.18) 0%, transparent 65%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.015) 40px,
      rgba(255,255,255,.015) 41px
    );
}
.hero-content { position: relative; z-index: 1; padding-top: 80px; }

.hero-eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ig-orange);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-badge i { font-size: 1.5rem; }
.hero-badge strong { display: block; font-size: 1rem; }
.hero-badge span { font-size: .75rem; color: #888; display: block; }

.hero-graphic {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,.25) 0%, rgba(232,93,4,.05) 60%, transparent 80%);
  display: flex; align-items: center; justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero-graphic i { font-size: 9rem; color: var(--ig-orange); opacity: .6; }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 60px rgba(232,93,4,.2); transform: scale(1); }
  50%      { box-shadow: 0 0 100px rgba(232,93,4,.35); transform: scale(1.03); }
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce-y 1.8s infinite;
}
.hero-scroll a { color: rgba(255,255,255,.3); font-size: 1.5rem; text-decoration: none; }
@keyframes bounce-y {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* ── Sekce ───────────────────────────────────────────────────────────── */
.section-dark   { background: #111; padding: 5rem 0; }
.section-darker { background: var(--ig-darker); padding: 5rem 0; }

.section-header { margin-bottom: 3rem; }
.section-tag {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--ig-orange); font-weight: 700; margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900; color: #fff; margin-bottom: .75rem;
}
.section-lead { color: #777; font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ── Pricing tabs ────────────────────────────────────────────────────── */
.price-tab {
  background: rgba(255,255,255,.05) !important;
  color: #aaa !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  font-weight: 600;
  padding: .6rem 1.25rem;
}
.price-tab.active,
.price-tab:hover {
  background: var(--ig-orange) !important;
  color: #fff !important;
  border-color: var(--ig-orange) !important;
}

/* ── Price cards ─────────────────────────────────────────────────────── */
.price-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform .2s, border-color .2s, background .2s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--ig-orange);
  background: rgba(232,93,4,.07);
}
.price-card--popular {
  border-color: var(--ig-orange);
  background: rgba(232,93,4,.1);
}
.price-card__badge {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--ig-orange);
  color: #fff; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .2rem;
}
.price-card--popular .price-card__name { margin-top: 1.2rem; }

.price-card__name {
  font-size: .8rem; color: #999; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem;
}
.price-card__price {
  font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1;
}
.price-card__price span { font-size: .85rem; font-weight: 500; color: #888; }
.price-card__note { font-size: .7rem; color: #666; margin: .3rem 0 .8rem; }
.price-card__btn {
  display: inline-block; background: var(--ig-orange);
  color: #fff; text-decoration: none; font-size: .75rem;
  font-weight: 700; padding: .35rem .9rem; border-radius: 20px;
  transition: background .15s;
}
.price-card__btn:hover { background: #c94f03; color: #fff; }

/* ── Solárium card ───────────────────────────────────────────────────── */
.solarium-card {
  background: rgba(255,193,7,.06);
  border: 1px solid rgba(255,193,7,.2);
  border-radius: 14px;
  padding: 1.5rem 2rem;
}
.solarium-icon {
  width: 60px; height: 60px;
  background: rgba(255,193,7,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: #ffc107;
}
.solarium-price {
  font-size: 2rem; font-weight: 900; color: #fff;
}
.solarium-price span { font-size: 1rem; color: #888; }

/* ── Payment badges ──────────────────────────────────────────────────── */
.payment-methods .badge { font-weight: 500; font-size: .75rem; }

/* ── Service cards ───────────────────────────────────────────────────── */
.service-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  transition: transform .2s, background .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.055);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-card__title {
  font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem;
}
.service-card__desc { font-size: .875rem; color: #777; line-height: 1.6; margin: 0; }

/* ── Contact cards ───────────────────────────────────────────────────── */
.contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--ig-orange); }
.contact-card__icon {
  font-size: 2rem; color: var(--ig-orange); display: block; margin-bottom: .75rem;
}
.contact-card__label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: #666; margin-bottom: .4rem; font-weight: 600;
}
.contact-card__value { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: .4rem; }
.contact-card__link { font-size: .8rem; color: var(--ig-orange); }
.contact-card__link a { color: inherit; text-decoration: none; }

/* ── CTA bar ─────────────────────────────────────────────────────────── */
.cta-bar {
  background: rgba(232,93,4,.1);
  border: 1px solid rgba(232,93,4,.25);
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.pub-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 2rem;
}
.footer-heading {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .15em;
  color: #555; font-weight: 700; margin-bottom: .75rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .4rem; font-size: .875rem; color: #666; }
.footer-links a { color: #666; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--ig-orange); }

/* ── Price card locker bonus ─────────────────────────────────────────── */
.price-card__locker {
  font-size: .65rem; color: #ffc107; font-weight: 600;
  margin: .25rem 0 .5rem;
}

/* ── Single entry cards ──────────────────────────────────────────────── */
.single-entry-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: border-color .2s;
}
.single-entry-card:hover { border-color: var(--ig-orange); }
.single-entry-card__label { font-size: .75rem; color: #888; margin: .4rem 0 .2rem; font-weight: 600; }
.single-entry-card__price { font-size: 1.3rem; font-weight: 900; color: #fff; }
.single-entry-card__price span { font-size: .8rem; color: #888; }

/* ── Trainer cards ───────────────────────────────────────────────────── */
.trainer-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .2s, border-color .2s;
}
.trainer-card:hover { transform: translateY(-4px); border-color: var(--ig-orange); }
.trainer-card__avatar {
  width: 72px; height: 72px;
  background: rgba(232,93,4,.15); color: var(--ig-orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1rem;
}
.trainer-card__name { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: .25rem; }
.trainer-card__role {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ig-orange); font-weight: 600; margin-bottom: .75rem;
}
.trainer-card__desc { font-size: .875rem; color: #777; margin-bottom: 1rem; }

/* ── Trainer packages ────────────────────────────────────────────────── */
.trainer-pkg {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.trainer-pkg:hover { border-color: var(--ig-orange); background: rgba(232,93,4,.07); }
.trainer-pkg--popular { border-color: var(--ig-orange); background: rgba(232,93,4,.1); }
.trainer-pkg__badge {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--ig-orange); color: #fff;
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: .2rem; text-align: center;
}
.trainer-pkg__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.trainer-pkg__name { font-size: .9rem; font-weight: 700; color: #fff; }
.trainer-pkg__price { font-size: 1.2rem; font-weight: 900; color: #fff; line-height: 1.2; }
.trainer-pkg__desc { font-size: .8rem; color: #777; margin: .5rem 0 .75rem; }
.trainer-pkg__btn {
  display: inline-block; background: var(--ig-orange); color: #fff;
  text-decoration: none; font-size: .75rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 20px; transition: background .15s;
}
.trainer-pkg__btn:hover { background: #c94f03; color: #fff; }

/* ── Navbar scroll effect ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .section-dark, .section-darker { padding: 3.5rem 0; }
  .cta-bar { padding: 1.5rem; }
  .solarium-card { padding: 1.25rem; }
}

/* ── Kontrast cen (a11y, audit #6) ───────────────────────────────────────
   Amber #ffc107 na bílém pozadí má kontrast ~1.6:1 (WCAG fail). Ve SVĚTLÉM
   tématu app-layoutu ztmavíme text/ikony „warning" na čitelný zlatý odstín
   (#856404 ≈ 5.9:1). Veřejný web (bez data-bs-theme) a tmavé téma nedotčeny. */
[data-bs-theme="light"] .text-warning { color: #856404 !important; }
.price-amber { color: #856404; font-weight: 600; }
[data-bs-theme="dark"] .price-amber { color: #ffc107; }
