/* ==========================================================================
   Runway Care & Beauty – vlastné štýly (spojené zo všetkých podstránok)
   Tento súbor obsahuje CSS, ktoré bolo pôvodne vložené inline v každej stránke.
   ========================================================================== */

:root {
  color-scheme: light;
  --brand: #b16130;
  --brand-dark: #8f4c24;
  --ink: #181818;
  --cream: #f0e7d7;
  --shell: #f7eadf;
  --line: #bb7b52;
  --muted: #6d6e71;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Satoshi Variable – alias na Fontshare Satoshi, s fallbackom na lokálnu inštaláciu */
@font-face {
  font-family: 'Satoshi Variable';
  src: local('Satoshi Variable'), local('Satoshi-Variable'), local('Satoshi');
  font-display: swap;
}

::selection { background: var(--brand); color: var(--shell); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-mask > span { display: block; overflow: hidden; }
.reveal-mask > span > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.reveal-mask.is-in > span > span { transform: none; }

/* --------------------------------------------------------------------------
   Typografické detaily
   -------------------------------------------------------------------------- */
.label {
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 500;
}
.hairline { height: 1px; background: var(--line); opacity: .45; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Obrázkové karty
   -------------------------------------------------------------------------- */
.card img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.card:hover img { transform: scale(1.07); }
.card-veil {
  background: linear-gradient(to top, rgba(70, 33, 12, .88) 0%, rgba(70, 33, 12, .45) 42%, rgba(70, 33, 12, .05) 100%);
}
.hero-veil {
  background: linear-gradient(to top, rgba(64, 30, 11, .86) 0%, rgba(84, 44, 20, .48) 45%, rgba(120, 68, 34, .22) 100%);
}

/* --------------------------------------------------------------------------
   Podčiarknutie odkazov
   -------------------------------------------------------------------------- */
.ul-link { position: relative; }
.ul-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.ul-link:hover::after { transform: scaleX(1); transform-origin: left; }

.parallax { will-change: transform; }

/* --------------------------------------------------------------------------
   Referencie
   -------------------------------------------------------------------------- */
.quote { opacity: 0; position: absolute; inset: 0; transition: opacity .9s ease; pointer-events: none; }
.quote.is-active { opacity: 1; position: relative; pointer-events: auto; }
.dot {
  height: 6px;
  width: 32px;
  border-radius: 999px;
  background: rgba(187, 123, 82, .35);
  transition: background .4s ease, width .4s ease;
}
.dot.is-active { background: var(--brand); width: 48px; }

/* --------------------------------------------------------------------------
   Hlavička po scrolle
   -------------------------------------------------------------------------- */
#site-header.is-scrolled {
  background: rgba(240, 231, 215, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(187, 123, 82, .35);
}

/* --------------------------------------------------------------------------
   Hero slideshow (úvodná stránka)
   -------------------------------------------------------------------------- */
.slide { opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide-tab { color: var(--muted); }
.slide-tab:hover { color: var(--brand); border-color: var(--brand); }
.slide-tab.is-active { background: var(--brand); border-color: var(--brand); color: var(--shell); }

/* --------------------------------------------------------------------------
   Galéria meniaca sa pri scrolovaní
   -------------------------------------------------------------------------- */
.sc-img {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .9s ease, transform 1.6s cubic-bezier(.16, 1, .3, 1);
}
.sc-img.is-active { opacity: 1; transform: scale(1); }
.sc-item { opacity: .38; transition: opacity .6s ease; }
.sc-item.is-active { opacity: 1; }
.sc-item h3 { transition: color .6s ease; }
.sc-item.is-active h3 { color: var(--brand); }

/* --------------------------------------------------------------------------
   Jemné zrno
   -------------------------------------------------------------------------- */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(187, 123, 82, .10) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* --------------------------------------------------------------------------
   Podnavigácia služieb (sluzby)
   -------------------------------------------------------------------------- */
.svc-tab { color: var(--muted); border: 1px solid rgba(187, 123, 82, .4); transition: all .45s ease; }
.svc-tab:hover { color: var(--brand); border-color: var(--brand); }
.svc-tab.is-active { background: var(--brand); border-color: var(--brand); color: var(--shell); }

.bullets li { position: relative; padding-left: 1.75rem; }
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85rem;
  width: .75rem;
  height: 1px;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Právne dokumenty – obsah (TOC) a typografia
   -------------------------------------------------------------------------- */
.toc-link {
  color: var(--muted);
  transition: color .4s ease, border-color .4s ease;
  border-left: 1px solid rgba(187, 123, 82, .35);
}
.toc-link:hover { color: var(--brand); }
.toc-link.is-active { color: var(--brand); border-color: var(--brand); }

.doc h3 { font-family: "Cormorant Infant", Georgia, serif; }
.doc h4 {
  font-family: "Cormorant Infant", Georgia, serif;
  font-size: 1.5rem;
  color: var(--brand);
  margin-top: 2rem;
}
.doc p,
.doc li { color: var(--muted); font-weight: 300; line-height: 2; }
.doc ul,
.doc ol { list-style: none; }
.doc ul > li,
.doc ol > li { position: relative; padding-left: 1.75rem; margin-top: .75rem; }
.doc ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: .75rem;
  height: 1px;
  background: var(--line);
}
.doc ol { counter-reset: item; }
.doc ol > li { counter-increment: item; }
.doc ol > li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-size: .85rem;
  line-height: 2.2;
}
.doc .law { border-left: 2px solid rgba(187, 123, 82, .5); padding-left: 1.5rem; }

/* --------------------------------------------------------------------------
   Formuláre (registrácia, reklamácia, kontakt)
   -------------------------------------------------------------------------- */
.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(187, 123, 82, .45);
  background: #fff;
  padding: .9rem 1.1rem;
  color: var(--ink);
  outline: none;
  font-weight: 400;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.field::placeholder { color: rgba(109, 110, 113, .6); }
.field:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(177, 97, 48, .12); }

.field-label {
  display: block;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}
.check { accent-color: var(--brand); width: 1rem; height: 1rem; margin-top: .25rem; }
textarea.field { min-height: 9rem; resize: vertical; line-height: 1.7; }

details.optional {
  border: 1px solid rgba(187, 123, 82, .45);
  border-radius: 1rem;
  background: var(--shell);
  padding: .9rem 1.1rem;
}
details.optional summary::-webkit-details-marker { display: none; }

/* honeypot – skryté pole proti spamu */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Zníženie pohybu
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-mask > span > span {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee { animation: none; }
}
