/* ═══════════════════════════════════════════════════════════════════
   COMPONENTS — nav, marquee, cards, form controls, footer
   Reusable pieces. Section-level layout lives in sections.css.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 28px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
nav.scrolled {
  height: 64px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(212,168,80,.18);
}

.nav-logo {
  font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em;
  transition: var(--t);
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-logo:hover { letter-spacing: .04em; }

.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
  position: relative;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-l); transition: color var(--t);
  padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute;
  left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold);
  transition: width var(--t);
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-cta {
  font-size: .8rem !important; padding: 11px 22px !important;
  letter-spacing: .1em !important;
}
/* override nav-links a color for the button */
.nav-links a.btn-gold { color: var(--dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--t); }

/* ── Mobile nav ──────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 101;
  background: var(--dark-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px; opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--ff-serif); font-size: 2.2rem;
  color: var(--white); transition: var(--t);
  position: relative;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a.mobile-nav-cta { color: var(--gold); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 1.6rem; color: var(--muted);
  cursor: pointer; background: none; border: none;
  transition: var(--t);
}
.mobile-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--gold);
  color: var(--dark);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid var(--gold-d);
  border-bottom: 1px solid var(--gold-d);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}
.marquee-item {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  letter-spacing: .12em;
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 28px;
}
.marquee-item::after {
  content: '✦';
  font-size: 1.2rem;
  opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Service card ────────────────────────────────────────── */
/* Sevřenější než dřív — karta má působit jako položka v ceníku
   dobrého podniku, ne jako dlaždice cenové tabulky. Hierarchie:
   ikona → název → popis → cena → rezervace. */
.service-card {
  background: var(--dark-3);
  padding: 38px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background var(--t), box-shadow var(--t);
}

/* Světelná stopa kurzoru zůstává, ale jen jako náznak. */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(212,168,80,.055), transparent 55%);
  transition: opacity var(--t);
  pointer-events: none;
}
.service-card:hover { background: var(--dark-4); }
.service-card:hover::before { opacity: 1; }

/* Vlásková zlatá linka místo dřívějšího dvoupixelového přechodu. */
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(212,168,80,.55);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }

/* První služba je ta hlavní — jen o odstín teplejší podklad
   a výraznější obrys ikony. Žádný štítek, žádný stín. */
.service-card:first-child { background: #1a1917; }
.service-card:first-child:hover { background: var(--dark-4); }
.service-card:first-child .service-icon { border-color: rgba(212,168,80,.62); }

.service-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(212,168,80,.34);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  opacity: .82;
  transition: opacity var(--t), border-color var(--t);
}
.service-icon svg { width: 20px; height: 20px; }
.service-card:hover .service-icon {
  opacity: 1;
  border-color: rgba(212,168,80,.72);
}

.service-name {
  font-family: var(--ff-serif); font-size: 1.3rem;
  color: var(--white); margin-bottom: 9px;
  letter-spacing: -.005em;
}
.service-desc {
  font-size: .875rem; color: var(--muted-l);
  line-height: 1.62; margin-bottom: 20px;
  max-width: 30ch;
}

/* Cena je nejsilnější prvek karty, délka jen technický údaj vedle ní.
   Nad cenou tenká linka — dělicí prvek z editoriálního systému. */
.service-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(212,168,80,.13);
  font-family: var(--ff-serif); font-size: 1.9rem;
  font-weight: 700; color: var(--gold);
  line-height: 1;
  display: flex; align-items: baseline; gap: 12px;
  font-variant-numeric: tabular-nums;
}
.service-price span {
  font-family: var(--ff-sans); font-size: .68rem;
  font-weight: 500; color: var(--muted);
  letter-spacing: .18em; text-transform: uppercase;
}

/* CTA je editoriální odkaz, ne tlačítko: podtržení místo plochy,
   ale s dostatečně velkou klikací oblastí. */
.service-book {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  margin-top: 18px; padding: 9px 0;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212,168,80,.28);
  transition: border-color .28s var(--ease), color .28s var(--ease);
}
.service-book span { transition: transform .28s var(--ease); }
.service-book:hover { border-bottom-color: var(--gold); color: var(--gold-l); }
.service-book:hover span { transform: translateX(5px); }
.service-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── Team card ───────────────────────────────────────────── */
.team-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--dark-3);
  cursor: pointer;
}
.team-photo {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: transform 1s ease, filter .5s ease;
}
.team-card:hover .team-photo {
  transform: scale(1.07);
  filter: grayscale(0%) contrast(1.05);
}
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.95) 0%, rgba(10,10,10,.4) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  transition: var(--t);
}
.team-name {
  font-family: var(--ff-serif); font-size: 1.6rem;
  color: var(--white); margin-bottom: 6px;
  transition: var(--t);
}
.team-card:hover .team-name { color: var(--gold); }
.team-role {
  font-size: .78rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(212,168,80,.12), transparent 60%),
    linear-gradient(135deg, #1a1a1a 0%, #2a2318 100%);
  font-size: 5rem;
  color: rgba(212,168,80,.3);
  transition: var(--t);
}
.team-card:hover .team-photo-placeholder {
  color: var(--gold);
  transform: scale(1.05);
}

/* ── Gallery item ────────────────────────────────────────── */
.gallery-item {
  overflow: hidden; position: relative;
  cursor: pointer; background: var(--dark-3);
}
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(60%) contrast(1.1);
  transition: transform .8s ease, filter .5s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.05);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(212,168,80,.0), rgba(10,10,10,.4));
  opacity: 0; transition: var(--t);
}
.gallery-item:hover::after { opacity: 1; }

/* ── Opening hours ───────────────────────────────────────── */
.hours-list { margin-top: 44px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .92rem; transition: var(--t);
}
.hours-row:hover { padding-left: 8px; border-color: rgba(212,168,80,.3); }
.hours-day { color: var(--muted); }
.hours-time { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-time.closed { color: var(--muted); font-style: italic; }

/* ── Booking form ────────────────────────────────────────── */
.booking-form {
  background: var(--dark-3);
  padding: 40px 40px 36px;
  border: 1px solid rgba(212,168,80,.12);
  position: relative;
}
.booking-form::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l));
}
.form-title {
  font-family: var(--ff-serif); font-size: 1.6rem;
  color: var(--white); margin-bottom: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 22px; position: relative; }
.form-group label {
  display: block; font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
  transition: color var(--t);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--mid); border: 1px solid rgba(255,255,255,.08);
  color: var(--white); padding: 14px 16px; font-size: .92rem;
  font-family: var(--ff-sans); border-radius: 4px; outline: none;
  transition: border-color var(--t), background var(--t);
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); background: var(--dark-4);
  box-shadow: 0 0 0 3px rgba(212,168,80,.12);
}
.form-group:focus-within label { color: var(--gold); }
.form-group select option { background: var(--dark-3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 12px; justify-content: center; font-size: .9rem; }

.form-success { display: none; text-align: center; padding: 40px 0; animation: fadeUp .8s ease; }
.form-success-icon {
  font-size: 3.2rem; margin-bottom: 18px;
  display: inline-flex; width: 80px; height: 80px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(74,222,128,.1);
  color: #4ade80;
  border: 1.5px solid rgba(74,222,128,.4);
}
.form-success h3 { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.form-success p { color: var(--muted-l); font-size: .92rem; }

/* ── Review card ─────────────────────────────────────────── */
.rating-summary {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px;
  border: 1px solid rgba(212,168,80,.25);
  border-radius: 4px;
  background: var(--dark-3);
}
.rating-num {
  font-family: var(--ff-serif);
  font-size: 2.4rem; line-height: 1;
  color: var(--gold); font-weight: 700;
}
.rating-info .rating-stars { color: var(--gold); font-size: .85rem; letter-spacing: .1em; }
.rating-info .rating-meta { font-size: .8rem; color: var(--muted); margin-top: 4px; }

.review-card {
  background: var(--dark-3); padding: 44px 38px;
  position: relative;
  transition: background var(--t), transform var(--t);
}
.review-card:hover { background: var(--dark-4); transform: translateY(-3px); }
.review-card::before {
  content: '\201C';
  position: absolute; top: 18px; right: 30px;
  font-family: var(--ff-serif); font-size: 6rem;
  line-height: 1; color: rgba(212,168,80,.18);
}
.stars { display: flex; gap: 4px; margin-bottom: 20px; color: var(--gold); font-size: .9rem; letter-spacing: .15em; }
.review-text { font-size: .95rem; color: var(--muted-l); line-height: 1.75; margin-bottom: 32px; min-height: 60px; }
.review-author { display: flex; align-items: center; gap: 16px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--mid);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: var(--gold);
  flex-shrink: 0;
  border: 1.5px solid rgba(212,168,80,.4);
  font-family: var(--ff-serif);
}
.review-name { font-weight: 600; font-size: .92rem; color: var(--white); }
.review-source {
  font-size: .75rem; color: var(--muted); margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.review-source::before { content: '✓'; color: var(--gold); font-size: .85rem; }

/* ── Contact item + map ──────────────────────────────────── */
.contact-item { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(212,168,80,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
  transition: var(--t);
}
.contact-item:hover .contact-icon {
  background: rgba(212,168,80,.1); border-color: var(--gold);
  transform: rotate(-6deg);
}
.contact-label { font-size: .73rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-value { font-size: .96rem; color: var(--white); font-weight: 500; line-height: 1.5; }
.contact-note { color: var(--muted); font-size: .85rem; }

.map-frame { height: 100%; min-height: 520px; background: var(--dark-4); overflow: hidden; position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: none; filter: saturate(0.85) brightness(0.97); }
.map-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(212,168,80,.15); }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--dark); border-top: 1px solid rgba(212,168,80,.15); padding: 32px 0; position: relative; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: var(--ff-serif); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--gold); font-style: italic; }
.footer-imprint { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.footer-imprint a { color: var(--muted); transition: color var(--t); }
.footer-imprint a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(212,168,80,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-l);
  transition: var(--t);
}
.footer-social a:hover {
  color: var(--dark); background: var(--gold); border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-copy { font-size: .78rem; color: var(--muted); }
/* Upozornění, že jde o ukázku — podnik ani kontaktní údaje neexistují. */
.footer-demo {
  flex-basis: 100%;
  font-size: .72rem; letter-spacing: .04em;
  color: var(--muted); opacity: .7;
  border-top: 1px solid rgba(212,168,80,.12);
  padding-top: 14px; margin-top: 4px;
}
