/* ═══════════════════════════════════════════════════════════════
   HEY APPLE — SHOW THEME (volitelný overlay)
   Zapnutí:  APP_THEME_SHOW=true  v .env / .env.local
   Vypnutí:  APP_THEME_SHOW=false  → zůstane jen styles.css
   ═══════════════════════════════════════════════════════════════ */

html.theme-show {
  --show-accent: #c8f542;
  --show-glow: rgba(200, 245, 66, 0.45);
  --show-spot: rgba(200, 245, 66, 0.14);
}

/* ── Stage atmosphere ── */
html.theme-show body {
  background:
    radial-gradient(ellipse 120% 70% at 50% -5%, rgba(200, 245, 66, 0.09), transparent 50%),
    radial-gradient(ellipse 35% 45% at 0% 30%, rgba(200, 245, 66, 0.06), transparent),
    radial-gradient(ellipse 35% 45% at 100% 30%, rgba(200, 245, 66, 0.06), transparent),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(15, 83, 46, 0.15), transparent),
    var(--bg);
}

html.theme-show .hero {
  min-height: 105vh;
  min-height: 105svh;
}

html.theme-show .hero-media video {
  transform: translate(-50%, -50%) scale(1.22);
  filter: contrast(1.08) saturate(1.12);
}

html.theme-show .hero-overlay {
  background:
    radial-gradient(ellipse 80% 55% at 50% 48%, rgba(7, 7, 8, 0.15) 0%, transparent 65%),
    linear-gradient(180deg, rgba(7, 7, 8, 0.55) 0%, transparent 30%, transparent 80%, rgba(7, 7, 8, 0.75) 100%),
    linear-gradient(90deg, rgba(7, 7, 8, 0.4) 0%, transparent 28%, transparent 72%, rgba(7, 7, 8, 0.4) 100%);
}

html.theme-show .hero-glow {
  bottom: 5%;
  width: min(700px, 85vw);
  height: 220px;
  background: radial-gradient(ellipse, rgba(200, 245, 66, 0.14) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.7;
  animation: show-glow-pulse 6s ease-in-out infinite;
}

@keyframes show-glow-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

/* Stage lights */
html.theme-show .stage-lights {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

html.theme-show .stage-light {
  position: absolute;
  top: -10%;
  width: 40%;
  height: 70%;
  opacity: 0.35;
  filter: blur(24px);
  animation: show-light-sway 8s ease-in-out infinite;
}

html.theme-show .stage-light--left {
  left: -5%;
  background: radial-gradient(ellipse at 30% 0%, rgba(200, 245, 66, 0.35), transparent 65%);
  animation-delay: 0s;
}

html.theme-show .stage-light--right {
  right: -5%;
  background: radial-gradient(ellipse at 70% 0%, rgba(200, 245, 66, 0.35), transparent 65%);
  animation-delay: -4s;
}

html.theme-show .stage-light--center {
  display: none;
}

@keyframes show-light-sway {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(3%) scaleY(1.05); }
}

/* Film grain — jen na video, velmi jemně */
html.theme-show .hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Hero typography — BIG show headlines, sharp & crisp ── */
html.theme-show .hero-copy {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

html.theme-show .hero h1 {
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 6px 18px rgba(0, 0, 0, 0.45);
}

html.theme-show .hero-title-line {
  font-size: 0.42em;
  letter-spacing: 0.22em;
  margin-top: 0.15em;
  color: #ffffff;
}

html.theme-show .text-accent--glow {
  display: inline-block;
  background: linear-gradient(
    120deg,
    #e8ff6a 0%,
    #c8f542 30%,
    #9ed42a 60%,
    #c8f542 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(158, 212, 42, 0.3));
  animation: show-accent-shine 6s linear infinite;
}

@keyframes show-accent-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

html.theme-show .eyebrow {
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  border-color: rgba(200, 245, 66, 0.45);
  box-shadow: 0 0 40px rgba(200, 245, 66, 0.12), inset 0 0 20px rgba(200, 245, 66, 0.05);
}

html.theme-show .hero-lead {
  font-size: 1.2rem;
  max-width: 580px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

html.theme-show .hero-chips li {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-color: rgba(200, 245, 66, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 245, 66, 0.05);
}

/* ── Buttons — clean, no halo glow ── */
html.theme-show .btn-primary {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

html.theme-show .btn-primary:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html.theme-show .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: show-btn-shine 5s ease-in-out infinite;
}

@keyframes show-btn-shine {
  0%, 70%, 100% { left: -120%; }
  40% { left: 140%; }
}

html.theme-show .btn-ghost {
  letter-spacing: 0.08em;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

html.theme-show .btn-ghost:hover {
  border-color: rgba(200, 245, 66, 0.35);
}

/* ── Stats — marquee strip feel ── */
html.theme-show .stats-bar {
  padding: 2.5rem 0 3rem;
  background:
    linear-gradient(180deg, transparent, rgba(7, 7, 8, 0.6) 20%, rgba(7, 7, 8, 0.95) 100%);
  border-top: 1px solid rgba(200, 245, 66, 0.12);
}

html.theme-show .stat-item {
  padding: 1.75rem 1rem;
  border-color: rgba(200, 245, 66, 0.12);
  background: rgba(12, 12, 16, 0.8);
}

html.theme-show .stat-item:hover {
  border-color: rgba(200, 245, 66, 0.5);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(200, 245, 66, 0.12);
}

html.theme-show .stat-value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  text-shadow: 0 0 40px rgba(200, 245, 66, 0.35);
}

/* ── Section headlines — cinematic scale ── */
html.theme-show .section {
  padding: 8rem 0;
}

html.theme-show .section-head h2,
html.theme-show .split-content h2 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: 0.05em;
  text-shadow: 0 0 60px rgba(200, 245, 66, 0.08);
}

html.theme-show .section--dark .section-head {
  text-align: center;
  margin-inline: auto;
  max-width: 800px;
}

html.theme-show .section--dark .section-head .section-label::before {
  display: none;
}

html.theme-show .section--dark .section-head .section-label::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--show-accent), transparent);
}

html.theme-show .section-label {
  font-size: 1rem;
  letter-spacing: 0.22em;
}

/* Diagonal section break */
html.theme-show .section--dark::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, transparent 49.5%, rgba(200, 245, 66, 0.06) 50%, transparent 50.5%);
  pointer-events: none;
}

/* ── Cards — neon stage glow ── */
html.theme-show .rep-card:hover,
html.theme-show .service-card:hover,
html.theme-show .review-card:hover {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(200, 245, 66, 0.1),
    inset 0 0 0 1px rgba(200, 245, 66, 0.15);
}

html.theme-show .service-card--featured {
  border-color: rgba(200, 245, 66, 0.5);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 60px rgba(200, 245, 66, 0.1);
}

html.theme-show .gallery-item:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(200, 245, 66, 0.08);
}

/* ── Video — cinematic letterbox ── */
html.theme-show .video-block {
  position: relative;
}

html.theme-show .video-embed {
  border-color: rgba(200, 245, 66, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(200, 245, 66, 0.06);
}

html.theme-show .video-embed::before,
html.theme-show .video-embed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8%;
  background: #000;
  z-index: 2;
  pointer-events: none;
}

html.theme-show .video-embed::before { top: 0; }
html.theme-show .video-embed::after { bottom: 0; }

/* ── Header — show mode accent ── */
html.theme-show .site-header-row.is-scrolled {
  border-bottom-color: rgba(200, 245, 66, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(200, 245, 66, 0.04);
}

html.theme-show .nav-link--cta {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ── Contact CTA glow ── */
html.theme-show .contact-form {
  border-color: rgba(200, 245, 66, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 50px rgba(200, 245, 66, 0.05);
}

/* ── Scroll hint ── */
html.theme-show .scroll-hint {
  color: var(--show-accent);
  filter: drop-shadow(0 0 12px rgba(200, 245, 66, 0.4));
}

/* ── Reveal — staggered show entrance ── */
html.theme-show .reveal.is-visible {
  animation: show-reveal-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes show-reveal-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.theme-show .rep-card:nth-child(2).is-visible { animation-delay: 0.08s; }
html.theme-show .rep-card:nth-child(3).is-visible { animation-delay: 0.16s; }
html.theme-show .rep-card:nth-child(4).is-visible { animation-delay: 0.24s; }
html.theme-show .service-card:nth-child(2).is-visible { animation-delay: 0.1s; }
html.theme-show .service-card:nth-child(3).is-visible { animation-delay: 0.2s; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html.theme-show .text-accent--glow,
  html.theme-show .btn-primary::after,
  html.theme-show .hero-glow,
  html.theme-show .stage-light {
    animation: none;
  }

  html.theme-show .reveal.is-visible {
    animation: none;
  }
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
  html.theme-show .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
    letter-spacing: 0.03em;
  }

  html.theme-show .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  html.theme-show .section {
    padding: 5.5rem 0;
  }
}
