/* Fotohub landing v2 (?fh=uj) — MenuPrg ritmus, Fotohub színek */
:root {
  --fh-blue: #0f66b0;
  --fh-blue-bright: #32a0ee;
  --fh-blue-deep: #0a4a82;
  --fh-ink: #0b1220;
  --fh-slate: #1a2332;
  --fh-cream: #f4f7fb;
  --fh-warm: #c47b3a;
  --fh-warm-deep: #8a5a2b;
  --fh-amber: #e8a54b;
  --fh-text: #1e293b;
  --fh-muted: #64748b;
  --fh-white: #ffffff;
  --fh-radius: 1.25rem;
  --fh-font-display: "Outfit", "Segoe UI", sans-serif;
  --fh-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --fh-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.fh-landing {
  margin: 0;
  font-family: var(--fh-font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--fh-text);
  background: var(--fh-ink);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-center {
  text-align: center;
}

.fh-wrap {
  width: min(100% - 2rem, var(--fh-max));
  margin-inline: auto;
}

.fh-narrow {
  max-width: 42rem;
  margin-inline: auto;
}

.fh-display {
  font-family: var(--fh-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.fh-display--md {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.fh-lead {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: var(--fh-muted);
  line-height: 1.65;
}

.fh-lead--on-dark {
  color: rgba(226, 232, 240, 0.88);
}

.fh-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-blue-bright);
}

.fh-eyebrow--on-dark {
  color: #7dd3fc;
}

.fh-eyebrow--amber {
  color: var(--fh-amber);
}

.fh-eyebrow--warm {
  color: #f0c090;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 1rem;
  font-family: var(--fh-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.fh-btn:hover {
  transform: translateY(-1px);
}

.fh-btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border-radius: 0.85rem;
}

.fh-btn--block {
  width: 100%;
}

.fh-btn--mt {
  margin-top: 1.5rem;
}

.fh-btn--primary {
  background: var(--fh-blue-bright);
  color: var(--fh-white);
  box-shadow: 0 10px 28px rgba(15, 102, 176, 0.35);
}

.fh-btn--primary:hover {
  background: #4db0f5;
}

.fh-btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--fh-white);
}

.fh-btn--outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.fh-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--fh-white);
}

.fh-btn--warm {
  background: var(--fh-warm);
  color: var(--fh-white);
  box-shadow: 0 10px 28px rgba(196, 123, 58, 0.35);
}

.fh-btn--warm:hover {
  background: #d08a48;
}

.fh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.fh-cta-row--center {
  justify-content: center;
}

/* Nav */
.fh-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.fh-nav.is-scrolled {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.fh-nav__inner {
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fh-nav__brand img {
  height: 2rem;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.fh-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 560px) {
  .fh-nav__reg {
    display: none;
  }
}

/* Hero */
.fh-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
}

.fh-hero__bg,
.fh-final__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  opacity: 0.48;
}

.fh-hero__shade,
.fh-final__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 48%, rgba(15, 102, 176, 0.35) 100%),
    rgba(11, 18, 32, 0.25);
}

.fh-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fh-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.fh-hero__copy .fh-display {
  color: var(--fh-white);
}

.fh-sheet {
  border-radius: var(--fh-radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #e8eef5;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  aspect-ratio: 4 / 3;
}

.fh-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-sheet--hero {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}

.fh-sheet--dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0f172a;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

/* Sections */
.fh-section {
  padding: 5rem 0;
}

.fh-section--light {
  background: var(--fh-cream);
  color: var(--fh-text);
}

.fh-section--dark {
  background: var(--fh-ink);
  color: #f1f5f9;
}

.fh-section--dark .fh-display {
  color: #fff;
}

.fh-section--dual {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(50, 160, 238, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(196, 123, 58, 0.18), transparent 50%),
    var(--fh-slate);
  color: #f8fafc;
  padding: 5.5rem 0;
}

.fh-pain-img {
  margin: 2.5rem auto 0;
  max-height: 14rem;
  width: auto;
}

.fh-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fh-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .fh-split--flip .fh-split__copy {
    order: 2;
  }
  .fh-split--flip .fh-split__media {
    order: 1;
  }
}

.fh-chips {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fh-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 102, 176, 0.15);
  color: var(--fh-slate);
}

.fh-section--dark .fh-chips li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

/* Dual register */
.fh-dual__intro {
  margin-bottom: 2.5rem;
}

.fh-dual__intro .fh-display {
  color: #fff;
}

.fh-dual__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .fh-dual__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.fh-dual-card {
  border-radius: calc(var(--fh-radius) + 0.25rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.fh-dual-card__visual {
  position: relative;
  min-height: 14rem;
  background-size: cover;
  background-position: center;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.fh-dual-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.82));
}

.fh-dual-card--studio .fh-dual-card__veil {
  background: linear-gradient(180deg, rgba(15, 102, 176, 0.15), rgba(10, 40, 70, 0.88));
}

.fh-dual-card--lab .fh-dual-card__veil {
  background: linear-gradient(180deg, rgba(196, 123, 58, 0.2), rgba(60, 35, 18, 0.9));
}

.fh-dual-card__visual > * {
  position: relative;
  z-index: 1;
}

.fh-dual-card__title {
  margin: 0.25rem 0 0;
  font-family: var(--fh-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.fh-dual-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.fh-dual-card__body .fh-lead {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
  font-size: 1rem;
}

.fh-dual-card__body .fh-btn {
  margin-top: auto;
}

.fh-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.fh-checklist li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.92);
}

.fh-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--fh-blue-bright);
  box-shadow: 0 0 0 3px rgba(50, 160, 238, 0.2);
}

.fh-checklist--warm li::before {
  background: var(--fh-warm);
  box-shadow: 0 0 0 3px rgba(196, 123, 58, 0.25);
}

/* Final */
.fh-final {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.fh-final__inner {
  position: relative;
  z-index: 1;
}

.fh-final .fh-display {
  color: #fff;
}

/* FAQ */
.fh-faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.65rem;
}

.fh-faq__item {
  border: 1px solid rgba(15, 102, 176, 0.12);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.fh-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  font-family: var(--fh-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fh-ink);
  cursor: pointer;
}

.fh-faq__icon {
  font-size: 1.25rem;
  color: var(--fh-blue);
  line-height: 1;
}

.fh-faq__item.is-open .fh-faq__icon {
  transform: rotate(45deg);
}

.fh-faq__a {
  padding: 0 1.15rem 1.1rem;
  color: var(--fh-muted);
  font-size: 0.98rem;
}

.fh-faq__a p {
  margin: 0;
}

/* Footer */
.fh-footer {
  background: #070b12;
  color: rgba(226, 232, 240, 0.75);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fh-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.fh-footer__text {
  margin: 0;
  font-size: 0.92rem;
}

.fh-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.fh-footer__links a:hover {
  color: #fff;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.fh-hero[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Auth shell (login / signup / forgot) — landing overlay + nav
   Bootstrap sets html { font-size: 62.5% }, which shrinks all rem-based
   landing nav/button sizes. Reset root so the header matches the landing. */
html.fh-auth-html {
  font-size: 100%;
}

body.fh-auth-shell.login-bg {
  background: var(--fh-ink) !important;
  background-image: none !important;
  min-height: 100vh;
  /* Keep credential form on Bootstrap’s 14px; don’t inherit fh-landing 1.05rem */
  font-size: 14px;
  font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.428571429;
  color: #333333;
}

.fh-auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fh-auth-bg .fh-hero__bg {
  opacity: 0.48;
  transform: scale(1.05);
}

.fh-auth-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

body.fh-auth-shell .login-wrapper {
  top: 5.5rem;
  padding-bottom: 3rem;
}

body.fh-auth-shell .login-wrapper .no-account p,
body.fh-auth-shell .login-wrapper .no-account a {
  color: rgba(226, 232, 240, 0.78);
}

body.fh-auth-shell .login-wrapper .no-account a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

body.fh-auth-shell .fh-nav.is-scrolled {
  background: rgba(11, 18, 32, 0.92);
}
