/* =========================================================
   Koltai Fodrászat – "Elegáns" téma
   ========================================================= */

:root {
  --bg: #141210;
  --bg2: #1d1a17;
  --ink: #f3ede4;
  --muted: #b5aa9a;
  --gold: #c9a96e;
  --line: #3a332b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --header-h: 80px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 200;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn--fill { background: var(--gold); color: var(--bg); }
.btn--fill:hover { background: transparent; color: var(--gold); }

/* ---------- Fejléc ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(20, 18, 16, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.is-scrolled { background: rgba(20, 18, 16, .96); border-bottom-color: var(--line); }

.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .32em;
  color: var(--ink);
  white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo__dot { color: var(--gold); margin: 0 .15em 0 .05em; }

.nav__list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav__list a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1px; background: var(--ink); margin: 6px 0;
  transition: transform .3s, opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: min(100svh, 960px); /* nagyon magas kijelzőn se nyúljon túl */
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  overflow: hidden;
}
.hero__bg,
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,.72) 0%, rgba(20,18,16,.62) 45%, rgba(20,18,16,.92) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 820px; }

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero__tagline {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 560px;
  margin: 0 auto 44px;
}
.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Szekciók ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg2); }

.section-head { text-align: center; margin-bottom: 72px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head::after {
  content: "";
  display: block;
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 28px auto 0;
}

/* ---------- Rólunk ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 90px;
  align-items: center;
}
.about__photo { position: relative; margin: 0 18px 18px 0; }
.about__photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.about__photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about__text h3 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 24px;
}
.about__text p { margin: 0 0 18px; color: var(--muted); }
.about__text p.lead { color: var(--ink); }

.perks {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px;
  font-size: 15px; color: var(--muted);
}
.perks li { position: relative; padding-left: 20px; }
.perks li::before {
  content: ""; position: absolute; left: 0; top: .8em;
  width: 9px; height: 1px; background: var(--gold);
}

.signature {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--gold);
}
.signature small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 16px;
}
.signature small:last-child { margin-bottom: 0; }

/* ---------- Árlista ---------- */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 90px;
}
.price-cat h3 {
  font-size: 30px;
  color: var(--gold);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.price-cat h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 4px;
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
}
.price-list .name { flex: 0 1 auto; }
.price-list .dots {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-5px);
}
.price-list .price {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 400;
  white-space: nowrap;
}
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 72px auto 0;
  max-width: 640px;
}

/* ---------- Kapcsolat ---------- */
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  margin-bottom: 72px;
}
.contact h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}
.contact p { margin: 0 0 6px; color: var(--muted); }
.contact a { color: var(--ink); }
.contact a:hover { color: var(--gold); }
.contact .btn { margin-top: 18px; }

.map {
  position: relative;
  aspect-ratio: 21 / 7;
  border: 1px solid var(--line);
  background: var(--bg);
}
.map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Lábléc ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.footer p { margin: 0 0 6px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold); }

/* ---------- Reszponzív ---------- */
@media (max-width: 820px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(20, 18, 16, .98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-open .nav { max-height: 360px; }
  .nav-open .header { background: rgba(20, 18, 16, .98); }
  .nav__list { flex-direction: column; gap: 0; padding: 12px 24px 24px; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }

  .section { padding: 84px 0; }
  .section-head { margin-bottom: 52px; }

  .about,
  .prices,
  .contact { grid-template-columns: 1fr; }
  .about { gap: 56px; }
  .about__photo { max-width: 420px; width: calc(100% - 18px); margin: 0 auto 18px; }
  .prices { gap: 52px; }
  .contact { gap: 44px; }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .perks { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; max-width: 300px; }
  .logo { font-size: 13px; letter-spacing: .26em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Árlista – több kategória egy oszlopban */
.price-cat .price-cat__next { margin-top: 56px; }
.contact address { font-style: normal; }

/* ---------- 2. kör: logó, Beatrix, Facebook ---------- */
.header { overflow: visible; }
.logo { display: flex; align-items: center; gap: 16px; }
.logo__img {
  position: relative;
  top: 18px;                 /* kicsit kilóg a sávból */
  height: 104px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55));
}

.nav__list { align-items: center; }
.nav__fb { display: inline-flex; align-items: center; gap: 10px; color: var(--gold) !important; }
.nav__fb:hover { color: var(--ink) !important; }
.nav__fb svg { display: block; }
.nav__fb-label { display: none; }

.fb-link { display: inline-flex; align-items: center; gap: 8px; }
.fb-link svg { color: var(--gold); }

.about + .about { margin-top: 120px; }
.about--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.about--reverse .about__photo { order: 2; }
.about--reverse .about__text { order: 1; }

.about__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; letter-spacing: .08em; }

@media (max-width: 820px) {
  .logo { gap: 12px; }
  .logo__img { height: 80px; top: 14px; }
  .nav__fb-label { display: inline; }
  .nav__list li { width: 100%; }
  .nav__fb { display: flex; }
  .about + .about { margin-top: 84px; }
  .about--reverse { grid-template-columns: 1fr; }
  .about--reverse .about__photo { order: 0; }
  .about--reverse .about__text { order: 1; }
}
@media (max-width: 480px) {
  .logo__img { height: 70px; top: 12px; }
}

/* Facebook ikon a menüben: arany körvonalas kör */
@media (min-width: 821px) {
  .nav__fb {
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transition: background .3s, color .3s;
  }
  .nav__fb:hover { background: var(--gold); color: var(--bg) !important; }
  .nav__fb svg { width: 24px; height: 24px; }
}

/* ---------- 3. kör: név a kép alatt, elválasztó ---------- */
.about__media .signature {
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  text-align: center;
}
.about--reverse .about__media { order: 2; }
.about--reverse .about__text { order: 1; }

.about + .divider { margin-top: 100px; }
.divider + .about { margin-top: 100px; }
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span {
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

@media (max-width: 820px) {
  .about + .divider,
  .divider + .about { margin-top: 72px; }
  .about--reverse .about__media { order: 0; }
  .about__media .signature { margin-top: 32px; }
}

/* ---------- 4. kör: fotó nélküli, éles hero háttér ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 72% 45%, rgba(201, 169, 110, .16), transparent 70%),
    radial-gradient(ellipse 45% 55% at 12% 90%, rgba(201, 169, 110, .07), transparent 70%),
    linear-gradient(180deg, #1d1a17 0%, #141210 100%);
}
.hero::after {
  /* belső vékony arany keret */
  background: none;
  inset: calc(var(--header-h) + 28px) 32px 32px;
  border: 1px solid rgba(201, 169, 110, .22);
  pointer-events: none;
}
.hero__mark {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-46%);
  height: min(78%, 640px);
  opacity: .12;
  pointer-events: none;
}
.hero__mark picture,
.hero__mark img { height: 100%; width: auto; }

@media (max-width: 820px) {
  .hero::after { inset: calc(var(--header-h) + 16px) 16px 16px; }
  .hero__mark { right: 50%; transform: translate(50%, -46%); height: min(70%, 520px); opacity: .09; }
}

/* Mobil menüben a Facebook pont csak felirattal, ikon nélkül */
@media (max-width: 820px) {
  .nav__fb svg { display: none; }
}

/* ---------- v0.3: kattintásra betöltődő térkép, jogi linkek ---------- */
.nowrap { white-space: nowrap; }

.map__consent {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(201, 169, 110, .12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(201, 169, 110, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(201, 169, 110, .07) 39px 40px),
    var(--bg);
  transition: opacity .5s ease;
}
.map--loaded .map__consent { opacity: 0; pointer-events: none; }
.map__pin { color: var(--gold); animation: pin-bob 2.6s ease-in-out infinite; }
@keyframes pin-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.map__address { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.map__load { cursor: pointer; font-family: var(--sans); }
.map__note { margin: 6px 0 0; max-width: 560px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.map__note a { color: var(--gold); }

.footer__legal { margin-top: 10px !important; font-size: 12px; }

@media (max-width: 820px) {
  .map { aspect-ratio: auto; min-height: 380px; }
  .map--loaded { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- v0.3: jogi aloldalak ---------- */
.legal { padding: calc(var(--header-h) + 80px) 0 100px; }
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 28px; color: var(--gold); margin: 48px 0 14px; }
.legal p { color: var(--muted); margin: 0 0 16px; }
.legal p strong { color: var(--ink); font-weight: 400; }
.legal__date { font-size: 14px; letter-spacing: .08em; }
.legal-list { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 28px; margin: 0; }
.legal-list dt { color: var(--muted); font-size: 14px; letter-spacing: .06em; padding-top: 2px; }
.legal-list dd { margin: 0; color: var(--ink); }
.todo { color: var(--gold); font-style: italic; border-bottom: 1px dashed var(--gold); }
.legal-back { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); }
.legal-back:hover { color: var(--gold); }
@media (max-width: 560px) {
  .legal-list { grid-template-columns: 1fr; gap: 2px; }
  .legal-list dd { margin-bottom: 12px; }
  .legal-back { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 480px) {
  .map__address { font-size: 20px; line-height: 1.25; }
}
