/* ==========================================================================
   Zuz Vit Hair — Kadeřnictví Zuzana Vítková
   Tokeny odvozené z reality salonu: uhlová čerň (logo, křesla), krémová
   cihlová zeď, dubový nábytek, teplý neonový nápis.
   ========================================================================== */

:root {
  --uhel: #2e2b29;          /* pozadí loga, kadeřnická křesla */
  --uhel-svetly: #3a3634;
  --cihla: #ede7de;         /* krémová cihlová zeď salonu */
  --cihla-spara: #e0d8cb;   /* spáry mezi cihlami */
  --dub: #b07d4f;           /* dubový nábytek */
  --dub-tmavy: #8f6238;
  --neon: #ffb763;          /* teplá záře neonového nápisu */
  --inkoust: #262321;       /* text na světlém podkladu */
  --papir: #f7f3ec;         /* světlé plochy mimo "zeď" */
  --seda: #6e6659;          /* tlumený text */

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-neon: "Great Vibes", cursive;

  --max-w: 1120px;
  --radius: 10px;
}

/* --- Reset & základ ------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--inkoust);
  background: var(--papir);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--dub-tmavy); }

:focus-visible {
  outline: 3px solid var(--dub);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* Štítek nad nadpisem sekce */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dub-tmavy);
  margin-bottom: 0.9rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }

/* --- Střihová linka (oddělovač sekcí) ------------------------------------ */

.cut-line {
  border: 0;
  margin: 0 auto;
  max-width: var(--max-w);
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  height: 1px;
  position: relative;
  background:
    repeating-linear-gradient(90deg,
      var(--seda) 0 10px, transparent 10px 18px) center / calc(100% - 4rem) 1px no-repeat;
  overflow: visible;
}

.cut-line::before {
  content: "✂";
  position: absolute;
  left: clamp(1.1rem, 4vw, 2rem);
  top: 50%;
  transform: translateY(-52%);
  color: var(--seda);
  font-size: 1.05rem;
  background: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--uhel) 94%, transparent);
  backdrop-filter: blur(6px);
  color: var(--cihla);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--cihla);
  text-decoration: none;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--neon); }

/* Na desktopu objednání pokrývá tlačítko v hlavičce */
@media (min-width: 721px) {
  .nav-rezervace { display: none; }
}

.nav-rezervace a { color: var(--neon); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--cihla);
  border-radius: 6px;
  color: var(--cihla);
  font: inherit;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

/* --- Tlačítka ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  border: 2px solid var(--uhel);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--uhel);
  color: var(--cihla);
}

.btn-primary:hover {
  background: var(--dub-tmavy);
  border-color: var(--dub-tmavy);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--inkoust);
}

.btn-ghost:hover {
  border-color: var(--dub-tmavy);
  color: var(--dub-tmavy);
  transform: translateY(-2px);
}

.btn-neon {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--uhel);
}

.btn-neon:hover { transform: translateY(-2px); background: #ffc47d; }

/* --- Hero: cihlová zeď s neonem ------------------------------------------ */

.hero {
  /* jemné vodorovné spáry jako na natřené cihlové zdi salonu */
  background-color: var(--cihla);
  background-image:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.35) 0 1px,
      transparent 1px 62px,
      rgba(139, 125, 106, 0.16) 62px 63px,
      transparent 63px 64px);
  text-align: center;
  padding-block: clamp(4rem, 11vw, 7.5rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  /* teplá záře neonu na zdi */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 38% at 50% 26%,
    rgba(255, 183, 99, 0.28), transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.neon-sign {
  font-family: var(--font-neon);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: #fffdf8;
  margin: 0 0 0.35em;
  text-shadow:
    0 0 4px #fff,
    0 0 11px var(--neon),
    0 0 26px var(--neon),
    0 0 65px rgba(255, 150, 60, 0.75);
  animation: neon-on 1.4s ease-out both;
}

@keyframes neon-on {
  0%   { opacity: 0.1; text-shadow: none; }
  38%  { opacity: 0.4; text-shadow: none; }
  42%  { opacity: 1; }
  48%  { opacity: 0.3; text-shadow: none; }
  56%  { opacity: 1; }
  100% { opacity: 1; }
}

.hero-claim {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-style: italic;
  font-weight: 500;
  max-width: 22ch;
  margin-inline: auto;
}

.hero-sub {
  color: var(--seda);
  max-width: 52ch;
  margin: 0 auto 1.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem;
}

.hero-badges li {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--uhel);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--cihla-spara);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* --- O mně --------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: minmax(260px, 380px) 1fr; }
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--cihla);
}

.about-photo figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--seda);
  font-style: italic;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  border-left: 3px solid var(--dub);
  padding-left: 1.1rem;
  margin: 1.6rem 0;
  color: var(--uhel);
}

/* Časová osa kariéry */
.timeline {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  border-left: 2px solid var(--cihla-spara);
}

.timeline li {
  position: relative;
  padding: 0 0 1.4rem 1.6rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dub);
  border: 2px solid var(--papir);
}

.timeline .rok {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dub-tmavy);
  display: block;
}

.timeline p { margin: 0.15rem 0 0; color: var(--seda); font-size: 0.97rem; }

/* --- Ceník: kadeřnická karta --------------------------------------------- */

.pricing { background: var(--cihla); }

.price-card {
  background: var(--uhel);
  color: var(--cihla);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 5vw, 3.2rem);
  max-width: 760px;
  margin-inline: auto;
  box-shadow: 0 24px 60px -30px rgba(38, 35, 33, 0.55);
}

.price-card .monogram {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--neon);
  margin-bottom: 0.2rem;
}

.price-card .karta-titul {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b7ada2;
  margin-bottom: 2rem;
}

.price-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  border-bottom: 1px solid var(--uhel-svetly);
  padding-bottom: 0.4rem;
  margin: 2.2rem 0 0.7rem;
}

.price-group:first-of-type .price-head { margin-top: 0; }

.price-head h3 {
  font-size: 1.1rem;
  color: var(--neon);
  margin: 0;
}

.zahrnuje {
  font-size: 0.9rem;
  color: #b7ada2;
  max-width: 52ch;
  margin: 0;
}

.techniky {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 0.7rem;
}

.techniky li {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--uhel-svetly);
  border-radius: 999px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.32rem;
}

.price-row .sluzba { min-width: 0; }

.price-row .tecky {
  flex: 1;
  border-bottom: 1px dotted #6b645e;
  transform: translateY(-4px);
}

.cena {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}

.price-note {
  font-size: 0.88rem;
  color: #b7ada2;
  margin: 2rem 0 0;
}

/* --- Galerie salonu ------------------------------------------------------ */

.gallery-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .gallery-grid figure:first-child { grid-row: 1 / 3; }
}

.gallery-grid figure { margin: 0; position: relative; }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- Rezervace ----------------------------------------------------------- */

.booking { background: var(--uhel); color: var(--cihla); text-align: center; }

.booking .eyebrow { color: var(--neon); }

.booking .section-title { color: #fffdf8; }

.booking-intro {
  max-width: 54ch;
  margin-inline: auto;
  color: #cfc7bc;
}

.booking-widget {
  max-width: 760px;
  margin: 2.4rem auto 0;
  background: var(--uhel-svetly);
  border: 1px dashed #5a544f;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 5vw, 2.8rem);
}

.booking-widget p { color: #cfc7bc; }

.booking-phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: #fffdf8;
  text-decoration: none;
  display: inline-block;
  margin: 0.6rem 0 1.2rem;
}

.booking-phone:hover { color: var(--neon); }

/* --- Kontakt ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-block h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 0.4rem;
}

.contact-block h3:first-of-type { margin-top: 0; }

.contact-block address { font-style: normal; }

.hours {
  width: 100%;
  border-collapse: collapse;
  max-width: 22rem;
}

.hours td { padding: 0.25rem 0; vertical-align: top; }

.hours td:last-child { text-align: right; white-space: nowrap; }

.hours .zavreno { color: var(--seda); }

.map-frame {
  border: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  filter: grayscale(0.35);
}

/* --- Patička ------------------------------------------------------------- */

.site-footer {
  background: var(--uhel);
  color: #b7ada2;
  padding-block: 2.2rem;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.site-footer img { width: 52px; border-radius: 6px; }

.site-footer a { color: var(--cihla); }

.site-footer .ig { margin-left: auto; }

/* --- Mobilní navigace ---------------------------------------------------- */

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--uhel);
    display: none;
    padding: 0.6rem 1.2rem 1.2rem;
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.5);
  }

  .site-nav.open { display: block; }

  .site-nav ul { flex-direction: column; gap: 0.2rem; }

  .site-nav a { display: block; padding: 0.6rem 0.2rem; font-size: 1.05rem; }

  .header-cta { display: none; }
}

/* --- Pohyb jen pro ty, kdo ho chtějí ------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neon-sign { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}
