/* ============================================================
   MEN'S CAVE — Barber Shop, Tatabánya
   Egyszerű, gyors, statikus oldal. Nincs build lépés.
   ============================================================ */

:root {
  --bg:        #0c0c0d;
  --bg-soft:   #131315;
  --bg-card:   #1a1a1d;
  --line:      #2a2a2e;
  --text:      #f2f1ee;
  --muted:     #9b9b96;
  --accent:    #eceae5;   /* tiszta ezüst/törtfehér – a logó világa */
  --accent-2:  #ffffff;
  --maxw:      1120px;
  --radius:    12px;
  --ease:      cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Alap ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Oswald", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Gomb ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .9rem;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #0c0c0d;
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- Fejléc ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
  /* Finom sötét fátyol felül, hogy a menü mindig olvasható legyen */
  background: linear-gradient(to bottom, rgba(14,14,16,.55), rgba(14,14,16,0));
}
.site-header.scrolled {
  background: rgba(14, 14, 16, .85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 36px;
  width: auto;
}
.footer-brand .brand img { height: 44px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }   /* csak a mobil lenyíló menüben jelenik meg */
.nav-phone {
  font-family: "Oswald", sans-serif;
  letter-spacing: .05em;
  font-size: .9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .45em;
}
.nav-phone:hover { color: var(--accent-2); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(14,14,16,.92) 0%, rgba(14,14,16,.55) 55%, rgba(14,14,16,.25) 100%),
    linear-gradient(to top, rgba(14,14,16,.95) 0%, rgba(14,14,16,0) 45%);
}
.hero-inner { max-width: 640px; padding: 120px 0 60px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  text-transform: uppercase;
  margin: 18px 0 22px;
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .7;
}
.scroll-hint .line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
}

/* ---------- Szekció keret ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-transform: uppercase;
  margin: 14px 0 18px;
}
.section-head p { color: var(--muted); }

/* ---------- Rólunk / értékek ---------- */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  margin: 14px 0 18px;
}
.about-text p { color: var(--muted); margin-bottom: 26px; max-width: 440px; }
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Szolgáltatások ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-card .media { aspect-ratio: 16/11; overflow: hidden; }
.service-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .media img { transform: scale(1.05); }
.service-card .body { padding: 22px 22px 26px; }
.service-card h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Árlista ---------- */
.pricing { background: var(--bg-soft); }
.price-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}
.price-group h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
}
.price-row + .price-row { border-top: 1px dashed var(--line); }
.price-row .name { font-weight: 500; }
.price-row .name small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.price-row .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 12px;
}
.price-row .amount {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  white-space: nowrap;
  color: var(--text);
}
.price-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.price-cta p { color: var(--muted); font-size: .95rem; }

/* ---------- Galéria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-grid figure { overflow: hidden; border-radius: 10px; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------- Foglalás / CTA sáv ---------- */
.cta-band {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(14,14,16,.82);
}
.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Elérhetőség ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
}
.contact-item .label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item .val { font-size: 1.05rem; }
.contact-item .val a:hover { color: var(--accent-2); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 340px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Lábléc ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 36px;
  background: var(--bg);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.footer-brand .brand { font-size: 1.4rem; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 280px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--text); font-size: .95rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Belépő animáció ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobil ---------- */
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(14,14,16,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; font-size: 1rem; }
  /* Mobil fejléc: csak logó + hamburger; telefon és nagy gomb elrejtve */
  .nav-phone,
  .nav-actions .btn-primary { display: none; }
  /* Foglalás gomb a lenyíló menü alján */
  .nav-cta { display: block; padding: 12px 24px 18px; }
  .nav-cta a { padding: 15px; width: 100%; justify-content: center; }
  .section-pad { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .price-cols { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid .wide { grid-column: span 1; }
  .gallery-grid .tall { grid-row: span 1; }
  body { font-size: 16px; }
}
