/* ═══════════════════════════════════════════════════════
   DERASPOL s.r.o. — /_includes/shared.css
   Verze: 1.2 | Datum: 2026-07-01
   Sdílené CSS proměnné a základní styly pro celý web
   OPRAVA v1.1: odstraněn chybný neuzavřený selektor
   OPRAVA v1.2: doplněny chybějící proměnné pro
   components.css (--dark-3, --radius-xl, --font,
   --red-glow, --shimmer-bg, --shimmer-duration,
   --transition-smooth)
═══════════════════════════════════════════════════════ */

/* ── CSS PROMĚNNÉ ── */
:root {
  /* Barvy */
  --red:           #CD0000;
  --red-dark:      #8B0000;
  --red-light:     #FF6B6B;
  --red-glow:      rgba(205, 0, 0, 0.35);
  --orange:        #E67E22;
  --orange-dark:   #CA6F1E;

  /* Pozadí */
  --dark:          #0D0D0D;
  --dark-card:     #141414;
  --dark2:         #141414;
  --dark3:         #1A1A1A;
  --dark-3:        #1A1A1A;

  /* Texty */
  --white:         #FFFFFF;
  --slate:         #8892A4;
  --slate-light:   #A0AEC0;

  /* Okraje a stíny */
  --border:        rgba(255,255,255,0.08);
  --shadow:        0 4px 20px rgba(0,0,0,0.25);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.4);

  /* Zaoblení */
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  /* Přechody */
  --transition:         all 0.2s ease;
  --transition-smooth:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Písmo — obě varianty aliasu pro kompatibilitu */
  --font-main:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font:          'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Shimmer efekt (skeleton loader, btn hover) */
  --shimmer-bg:       linear-gradient(
                        90deg,
                        transparent,
                        rgba(255,255,255,0.06),
                        transparent
                      );
  --shimmer-duration: 1.5s;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── ZÁKLADNÍ ELEMENTY ── */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
  font-size: .9rem;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── NAVIGACE — sticky wrapper ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--dark-card);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: .82rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  color: var(--slate);
}

.breadcrumb ol li::after {
  content: '›';
  margin-left: 8px;
  color: rgba(255,255,255,.2);
}

.breadcrumb ol li:last-child::after {
  display: none;
}

.breadcrumb ol li:last-child {
  color: var(--slate-light);
}

.breadcrumb ol li a {
  color: var(--slate);
  transition: color .2s;
}

.breadcrumb ol li a:hover {
  color: var(--white);
}

/* ── SEKCE ── */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--dark-card);
}

/* ── TLAČÍTKA ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(205,0,0,.3);
}

.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(205,0,0,.5);
}

.btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 12px rgba(230,126,34,.3);
}

.btn--orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(230,126,34,.5);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.25);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge--red {
  background: rgba(205,0,0,.15);
  color: var(--red-light);
  border: 1px solid rgba(205,0,0,.25);
}

.badge--orange {
  background: rgba(230,126,34,.12);
  color: var(--orange);
  border: 1px solid rgba(230,126,34,.25);
}

/* ── NADPISY SEKCÍ ── */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 36px;
}

/* ── FLOAT BUTTONS ── */
.float-btn-wrap {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.float-btn-wa {
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}

.float-btn-phone {
  background: var(--red);
  box-shadow: 0 4px 16px rgba(205,0,0,.4);
}

/* ── SCROLL TOP ── */
#scrollTop,
#scroll-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 500;
  box-shadow: 0 4px 16px rgba(205,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTop.visible,
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── TABULKY ── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ── FORMULÁŘE ── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  font-size: .93rem;
  font-family: inherit;
  color: var(--white);
  background: rgba(255,255,255,.05);
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(205,0,0,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* ── RESPONZIVITA ── */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }
  .btn--lg {
    padding: 13px 24px;
    font-size: .97rem;
  }
  .float-btn-wrap {
    bottom: 70px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .float-btn-wrap,
  #scrollTop,
  #scroll-top,
  #cookie-banner,
  .nav {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}

/* ── KONEC SOUBORU — shared.css v1.2 ── */
