/* ============================================================
   OPRAVY24NA7 — OSZS Praha Servis
   Design system: Dark Navy + Yellow
   ============================================================ */

:root {
  --bg: #07090f;
  --surface: #0d1120;
  --card: #131828;
  --border: rgba(251, 191, 36, 0.18);
  --yellow: #fbbf24;
  --yellow-dim: #d97706;
  --blue: #3b82f6;
  --cream: #f0f4ff;
  --text: #c8d4f0;
  --muted: #5a6a8a;
  --f-serif: 'Fraunces', serif;
  --f-sans: 'Inter Tight', sans-serif;
  --nav-h: 64px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ===== SECTION HEADINGS ===== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-yellow {
  background: var(--yellow);
  color: #07090f;
}
.btn-yellow:hover {
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.38);
  filter: brightness(1.06);
}

.btn-wa {
  background: transparent;
  color: #25d366;
  border: 1.5px solid #25d366;
}
.btn-wa:hover {
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.18);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 9, 15, 0.96);
  border-bottom-color: rgba(251, 191, 36, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}

.nav-brand { flex-shrink: 0; }

/* Logo badge — makes logo readable on dark bg */
.nav-logo-wrap {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.08);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: #07090f;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: filter 0.18s, box-shadow 0.18s;
}

.nav-phone:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 15, 0.35) 0%,
    rgba(7, 9, 15, 0.55) 40%,
    rgba(7, 9, 15, 0.90) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-headline em {
  color: var(--yellow);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(200, 212, 240, 0.88);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(200, 212, 240, 0.8);
}

.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  cursor: default;
}

.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(251, 191, 36, 0.1);
}

.sc-icon {
  width: 56px;
  height: 56px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--yellow);
  transition: background 0.22s;
}

.service-card:hover .sc-icon {
  background: rgba(251, 191, 36, 0.18);
}

.service-card h3 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.sc-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yellow);
  transition: gap 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-link:hover { opacity: 0.8; }

/* ===== WHY STRIP ===== */
.why-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}

.why-item:last-child { border-right: none; }

.why-stat {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.why-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--bg); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 16px;
}

.how-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.how-num {
  display: inline-block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--yellow);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 14px;
}

.how-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.how-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  position: relative;
  top: 80px;
  flex-shrink: 0;
}

.how-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(251, 191, 36, 0.3);
}

/* ===== GALLERY ===== */
.gallery { background: var(--surface); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 15, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== REVIEWS ===== */
.reviews { background: var(--bg); }

.reviews-meta {
  margin-top: 16px;
}

.reviews-rating-big {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: var(--radius);
}

.rrb-score {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.rrb-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.rrb-count {
  font-size: 0.8rem;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.22s, transform 0.22s;
}

.review-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-3px);
}

.rc-stars { display: flex; gap: 3px; }

.review-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.rc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
}

.rc-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 600;
}

.rc-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews-cta {
  text-align: center;
}

.reviews-more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--yellow);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  padding-bottom: 2px;
  transition: opacity 0.18s;
}

.reviews-more:hover { opacity: 0.75; }

/* ===== CONTACT ===== */
.contact { background: var(--surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-phone-wrap {
  margin-bottom: 28px;
}

.contact-phone {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.1;
  margin-bottom: 6px;
  transition: opacity 0.18s;
}

.contact-phone:hover { opacity: 0.8; }

.contact-phone-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.ch-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s, transform 0.18s;
  width: fit-content;
}

.ch-item:hover {
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateX(4px);
}

.ch-wa { color: #25d366; }
.ch-wa:hover { border-color: rgba(37, 211, 102, 0.4); }
.ch-fb { color: #1877f2; }
.ch-fb:hover { border-color: rgba(24, 119, 242, 0.4); }

.contact-hours h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.hours-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 340px;
}

.hours-table td {
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(90, 106, 138, 0.2);
  vertical-align: middle;
}

.hours-table td:first-child {
  color: var(--muted);
  padding-right: 24px;
  white-space: nowrap;
}

.hours-table td strong {
  color: var(--cream);
  font-weight: 600;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

.contact-map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  align-items: start;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-logo-wrap {
  display: inline-flex;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(90, 106, 138, 0.2);
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.18s;
}

.footer-legal a:hover { color: var(--yellow); }

/* ===== LIGHTBOX ===== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.lightbox-backdrop.active { opacity: 1; pointer-events: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lb-img {
  max-width: min(90vw, 900px);
  max-height: 75vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.lb-caption {
  font-size: 0.88rem;
  color: rgba(200, 212, 240, 0.7);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}

.lb-close:hover { background: rgba(255, 255, 255, 0.18); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.18); }

/* ===== FLOATING CTA ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  background: var(--yellow);
  color: #07090f;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 20px;
  border-radius: 40px;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.4);
  transition: transform 0.18s var(--ease), box-shadow 0.18s;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(251, 191, 36, 0.5);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .how-connector { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-right: none; border-bottom: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(7, 9, 15, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.28s var(--ease);
    margin: 0;
    z-index: 890;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
    display: block;
  }

  /* Phone: show icon-only on mobile */
  .nav-phone {
    font-size: 0;
    padding: 7px 9px;
    gap: 0;
    border-radius: 50%;
    min-width: 36px;
    justify-content: center;
  }
  .nav-phone svg { width: 20px; height: 20px; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-bottom: 48px; min-height: 100svh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-right: none; border-bottom: 1px solid var(--border); }
  .why-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 280px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16/9; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Lightbox arrows */
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }

  /* Floating CTA */
  .floating-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust-sep { display: none; }
  .reviews-rating-big { flex-direction: column; gap: 8px; text-align: center; }
}
