/* ==========================================================================
   Pánské kadeřnictví Kladno – vintage barber theme
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #171209;
  --bg-alt: #1e160b;
  --surface: #241b0e;
  --surface-2: #2b2111;
  --line: rgba(201, 162, 39, .28);
  --line-soft: rgba(201, 162, 39, .14);
  --gold: #c9a227;
  --gold-2: #e3c05c;
  --brass: #b08d4f;
  --cream: #f0e6d2;
  --muted: #b7a98c;
  --red: #a63a2c;
  --blue: #2c4a6e;
  --radius: 4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sign: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--gold-2); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem; }
.wrap-narrow { max-width: 780px; }

/* --- Typografie ----------------------------------------------------------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: .6rem; }
h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin-top: .9rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.lead { color: var(--muted); max-width: 46rem; margin-bottom: 2.2rem; }

.eyebrow {
  font-family: var(--font-sign);
  font-size: 1.05rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-3px);
}

/* --- Oznamovací proužek ---------------------------------------------------- */

.announce {
  background: var(--red);
  color: #fff4e6;
  text-align: center;
  font-family: var(--font-sign);
  letter-spacing: .12em;
  font-size: 1.05rem;
  padding: .5rem 1rem;
}

/* --- Hlavička -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 18, 9, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); }
.brand-ico { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--font-display); font-size: 1.15rem; }
.brand-txt small { font-family: var(--font-sign); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); font-size: .8rem; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-sign);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.nav a:hover { color: var(--gold-2); }
.nav-tel {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .35rem 1rem;
  color: var(--gold-2) !important;
}
.nav-tel:hover { background: var(--gold); color: var(--bg) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 9px;
  cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--gold-2); transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ------------------------------------------------------------------ */

.hero { position: relative; min-height: min(88svh, 820px); display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,18,9,.55) 0%, rgba(23,18,9,.72) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(23,18,9,.82) 0%, rgba(23,18,9,.35) 60%, rgba(23,18,9,.15) 100%);
}
.hero-in { position: relative; padding-top: 5rem; padding-bottom: 5rem; max-width: 1120px; }
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.2rem);
  max-width: 13ch;
  text-shadow: 0 3px 26px rgba(0, 0, 0, .55);
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e6dcc4; max-width: 34rem; margin: 1.1rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.pole {
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 200px;
  border-radius: 999px;
  border: 3px solid #d8cba6;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.pole::before, .pole::after {
  content: '';
  position: absolute;
  left: 50%;
  translate: -50%;
  width: 16px;
  height: 10px;
  background: linear-gradient(180deg, #e6d9b8, #8f7f56);
  border-radius: 3px;
}
.pole::before { top: -14px; }
.pole::after { bottom: -14px; }

.pole-in {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
}
.pole-in::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 10px rgba(0,0,0,.45);
}
.pole-in::before {
  content: '';
  position: absolute;
  inset: -100px;
  background: repeating-linear-gradient(
    0deg,
    var(--red) 0 16px,
    #efe6d4 16px 32px,
    var(--blue) 32px 48px,
    #efe6d4 48px 64px
  );
  animation: pole-spin 3.2s linear infinite;
}
@keyframes pole-spin {
  from { transform: rotate(38deg) translateY(0); }
  to   { transform: rotate(38deg) translateY(-64px); }
}
@media (prefers-reduced-motion: reduce) { .pole-in::before { animation: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sign);
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  transition: transform .15s, background .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a05;
  box-shadow: 0 4px 18px rgba(201, 162, 39, .3);
}
.btn-gold:hover { color: #241a05; filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { font-size: 1rem; padding: .55rem 1.1rem; }

.badge-walkin { margin-top: 2.2rem; }
.badge-txt {
  display: inline-block;
  font-family: var(--font-sign);
  font-size: 1.15rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 2px dashed var(--brass);
  border-radius: var(--radius);
  padding: .45rem 1.2rem;
  rotate: -1.6deg;
  background: rgba(23, 18, 9, .55);
}

/* --- Sekce ------------------------------------------------------------------ */

.sec { padding: 5.5rem 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Ceník – holičská cedule */
.board {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 6px;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  max-width: 860px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.board-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  rotate: 45deg;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line);
}
.board-corner.tl { top: -7px; left: -7px; }
.board-corner.tr { top: -7px; right: -7px; }
.board-corner.bl { bottom: -7px; left: -7px; }
.board-corner.br { bottom: -7px; right: -7px; }

.board-cat + .board-cat { margin-top: 2.4rem; }
.board-cat h3 {
  font-family: var(--font-sign);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.board-cat h3::before, .board-cat h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.board-cat h3::after { background: linear-gradient(90deg, var(--line), transparent); }

.price-list { list-style: none; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .55rem 0;
  font-size: 1.08rem;
}
.pl-name { font-family: var(--font-display); font-weight: 600; }
.pl-dots { flex: 1; border-bottom: 2px dotted rgba(176, 141, 79, .5); transform: translateY(-4px); }
.pl-price { font-family: var(--font-sign); font-size: 1.45rem; color: var(--gold-2); white-space: nowrap; }

.board-note {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-style: italic;
  color: var(--muted);
}
.board-note::before {
  content: '✂';
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

/* O mně */
.about-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 8px;
  border-radius: var(--radius);
  rotate: -1.2deg;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.about-txt p + p { margin-top: .9rem; }
.about-txt p { color: #ded3ba; }

/* Jak to chodí */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.3rem;
  color: #ded3ba;
  position: relative;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--gold);
  opacity: .85;
  margin-bottom: .5rem;
}

/* Galerie */
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.g-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }

/* Kontakt */
.contact-in { display: grid; grid-template-columns: 5fr 6fr; gap: 1.6rem; align-items: stretch; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-tel {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-sign);
  font-size: 2rem;
  letter-spacing: .08em;
  color: var(--gold-2);
  text-decoration: none;
  margin-bottom: 1.2rem;
}
.contact-tel svg { width: 26px; height: 26px; fill: var(--gold); }
.contact-tel:hover { color: var(--gold); }
.contact-card address { font-style: normal; line-height: 1.7; margin-bottom: 1.4rem; color: #ded3ba; }
.contact-card address strong { font-family: var(--font-display); color: var(--cream); }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.3rem; }
.hours caption {
  text-align: left;
  font-family: var(--font-sign);
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: .5rem;
}
.hours th, .hours td { padding: .4rem 0; border-bottom: 1px dashed var(--line-soft); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-family: var(--font-sign); font-size: 1.15rem; letter-spacing: .08em; color: var(--gold-2); }
.contact-note { font-style: italic; color: var(--muted); margin-bottom: 1.4rem; }
.contact-nav { display: flex; flex-wrap: wrap; gap: .7rem; }

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: sepia(.35) saturate(.8);
}

/* FAQ */
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem .2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sign);
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 .2rem 1.2rem; color: var(--muted); max-width: 40rem; }

/* Patička */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 2.2rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.footer-in p + p { margin-top: .5rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
}
.footer-brand .brand-ico { width: 22px; height: 22px; }
.footer-small { font-size: .85rem; opacity: .8; }

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: none;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  overflow: visible;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox::backdrop { background: rgba(10, 8, 4, .92); }

.lb-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.lb-fig img {
  max-width: min(86vw, 1300px);
  max-height: 76vh;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lb-fig figcaption {
  color: var(--muted);
  font-size: .92rem;
  font-style: italic;
  text-align: center;
  max-width: 86vw;
}

.lb-btn {
  position: fixed;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(23, 18, 9, .85);
  color: var(--gold-2);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s;
}
.lb-btn:hover { background: var(--gold); color: var(--bg); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* Reveal animace */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* --- Responsivita ------------------------------------------------------------ */

@media (max-width: 900px) {
  .pole { display: none; }
  .about-in, .contact-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 480px; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(23, 18, 9, .98);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.4rem 1.2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .7rem 0; width: 100%; }
  .nav-tel { margin-top: .5rem; }
  .sec { padding: 4rem 0; }
  .hero { min-height: 82svh; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .brand-txt small { display: none; }
  .contact-tel { font-size: 1.6rem; }
}
