/* tuzijatek.hu – „Tiéd az ég” közös stílusok (extra oldalak) */
:root {
  --night: #070b26;
  --night-2: #141344;
  --dusk: #3b1d5e;
  --rose: #b4506f;
  --dawn: #ffb38a;
  --morning: #ffeedd;
  --gold: #ffd34d;
  --spark: #fff6e0;
  --sr: #ff3d5a;
  --na: #ffb300;
  --ba: #3dffa8;
  --cu: #4da3ff;
  --mg: #ffffff;
  --text: #f3eefe;
  --muted: #b2a9d6;
  --ink: #2a1638;
  --ink-muted: #6b4a62;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  overflow-x: clip;
  /* Görgetéssel telik az éjszaka: az oldal alja már hajnal */
  background: linear-gradient(180deg,
    var(--night) 0%, var(--night-2) 22%, var(--dusk) 48%,
    var(--rose) 68%, var(--dawn) 84%, var(--morning) 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0; }
/* Hosszú magyar szavak (pl. „Termékfejlesztés”) ne lógjanak ki a hasábból: végső esetben a szó megtörik */
h1, h2, h3 { overflow-wrap: anywhere; }

/* ---------- Navigáció ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { position: absolute; z-index: 30; top: 0; left: 0; right: 0; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 88px; }
.nav img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--spark); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); flex: none; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after {
  position: absolute; left: 14px; width: 20px; height: 2px; border-radius: 2px; background: var(--spark); transition: transform .25s, opacity .25s;
}
.menu-btn span:first-child { top: 23px; }
.menu-btn span:first-child::before, .menu-btn span:first-child::after { content: ""; left: 0; }
.menu-btn span:first-child::before { top: -6px; }
.menu-btn span:first-child::after { top: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
.menu {
  position: fixed; z-index: 25; inset: 0; overflow-y: auto; padding: 110px 28px 40px;
  background: radial-gradient(ellipse at 50% 120%, #2a1f6b, var(--night) 65%);
}
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu ul a { display: block; padding: 8px 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.8rem); text-decoration: none; color: var(--spark); }
.menu ul a[aria-current="page"] { color: var(--gold); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 34px; color: var(--muted); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { position: fixed; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--gold); color: var(--night);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 211, 77, .5);
  transition: box-shadow .25s, transform .25s;
}
.pill:hover { box-shadow: 0 0 0 8px rgba(255, 211, 77, .18), 0 0 40px rgba(255, 211, 77, .55); transform: translateY(-1px); }
.pill.ghost { background: transparent; color: var(--spark); box-shadow: inset 0 0 0 1.5px rgba(243, 238, 254, .45); }
.pill.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--spark); }

/* ---------- Égbolt-fejléc közös elemei ---------- */
.stars { position: absolute; inset: 0; pointer-events: none; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; pointer-events: none; }
.skyline .city { fill: #04061a; }
.skyline .lit { fill: #ffcf6b; opacity: .55; }
.skyline .win { fill: #fbb040; opacity: .85; }

/* ---------- Lábléc: itt mindig hajnalodik ---------- */
.site-foot {
  padding: 140px 0 40px; color: var(--ink);
  background: linear-gradient(180deg, transparent 0%, var(--rose) 26%, var(--dawn) 62%, var(--morning) 100%);
}
.site-foot .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 9vw, 7rem); line-height: .95; letter-spacing: -.03em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 44px; }
.foot-cols .foot-h { font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--ink-muted); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-cols .social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.site-foot small { display: block; margin-top: 48px; color: var(--ink-muted); }
.site-foot :focus-visible { outline-color: var(--ink); }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .wrap { height: 72px; gap: 12px; }
  .nav img { height: 38px; }
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .menu { padding: 92px 16px 32px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Főoldal: SEO-szöveg sötét kártyán, két hasábban, alatta augusztus 20-i fotó ---------- */
.seo-feature { padding: 40px 0 30px; }
.seo-card { border-radius: 32px; overflow: hidden; background: var(--night); box-shadow: 0 40px 90px -40px rgba(42, 22, 56, .65); }
.seo-card-text {
  padding: 44px 56px 28px; color: #ddd6f3; font-size: .98rem; line-height: 1.65;
  column-count: 2; column-gap: 56px;
}
.seo-card-text > :first-child { margin-top: 0; }
.seo-card-text p { margin: 0 0 1em; }
.seo-card-text h2, .seo-card-text h3, .seo-card-text .home-title {
  display: block; column-span: all; font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--spark); margin: 0 0 .9em;
}
.seo-card-text strong, .seo-card-text b { color: #fff; }
.seo-card-text ul { padding-left: 1.2em; margin: 0 0 1em; break-inside: avoid; }
.seo-card-text li { margin: .3em 0; }
.seo-card-text li::marker { color: var(--gold); }
.seo-card-photo { position: relative; margin: 0; aspect-ratio: 3 / 1; }
.seo-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.seo-card-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(7, 11, 38, .7); backdrop-filter: blur(6px); color: var(--spark); font-size: .82rem;
}
/* A fotó csak mobilon látszik; asztali nézetben a két hasábos szöveg áll egyedül */
@media (min-width: 901px) {
  .seo-card-photo { display: none; }
}
@media (max-width: 900px) {
  .seo-card-text { column-count: 1; padding: 30px 24px; }
  .seo-card-photo { aspect-ratio: 3 / 2; }
}
