/* =========================================================
   JAPA Colors – hlavní CSS
   Upraveno pro web práškové lakovny

   Hlavní úpravy:
   - hero obrázek provozovny je statický, zaoblený a bez parallax efektu
   - sekce Realizace je sjednocená: obrázek vyplňuje celou kartu
   - text v realizacích leží přímo na obrázku přes gradient, bez tmavého panelu navíc
   - CSS je rozdělené do komentovaných bloků
   ========================================================= */

/* =========================================================
   1) Proměnné / základní barvy a nastavení
   ========================================================= */

:root {
  --red: #ff3347;
  --red-dark: #9e1023;
  --red-soft: rgba(255, 51, 71, .14);

  --bg: #08090c;
  --bg-2: #101115;

  --card: rgba(255,255,255,.045);
  --card-2: rgba(255,255,255,.075);

  --line: rgba(255,255,255,.12);
  --line-red: rgba(255, 51, 71, .35);

  --text: #f5f5f7;
  --muted: #c8c8cf;
  --muted-2: #8f9098;

  --ff-display: 'Chakra Petch', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --section-padding: 92px;

  --radius: 28px;
  --radius-sm: 18px;
  --radius-pill: 999px;

  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --transition: .28s ease;
}

/* =========================================================
   2) Reset a globální základy
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--ff-body);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--muted);
  background:
    radial-gradient(circle at 0 15%, rgba(255, 51, 71, .10), transparent 26%),
    radial-gradient(circle at 100% 20%, rgba(255, 51, 71, .08), transparent 24%),
    linear-gradient(180deg, #07080b 0%, #0b0c10 45%, #08090c 100%);
  overflow-x: hidden;
}

/* Jemná tečkovaná textura přes celý web */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.38) .55px, transparent .55px);
  background-size: 22px 22px;
  z-index: 0;
}

body.nav-open {
  overflow: hidden;
}

li {
  list-style: none;
}

a, img, span, button {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Starší efekty z původního návrhu – vypnuté */
.noise-overlay,
.cursor-glow {
  display: none;
}

/* =========================================================
   3) Layout pomocné třídy
   ========================================================= */

.container {
  width: min(100% - 36px, 1254px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.section {
  padding-block: var(--section-padding);
  position: relative;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-symbols-rounded {
  font-size: 1em;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* =========================================================
   4) Header / navigace
   ========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  background: rgba(7,8,11,.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo img {
  width: 138px;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.45));
}

.navbar-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar-link {
  position: relative;
  padding: 10px 12px;
  color: var(--text);
  font: 700 1.35rem/1 var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.navbar-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.navbar-link:hover,
.navbar-link:focus-visible {
  color: var(--red);
}

.navbar-link:hover::after,
.navbar-link:focus-visible::after {
  transform: scaleX(1);
}

/* Mobilní hamburger */
.nav-toggle-btn {
  display: none;
  gap: 6px;
  z-index: 10;
}

.nav-toggle-icon {
  width: 30px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.nav-toggle-btn.active .icon-1 {
  transform: rotate(45deg) translate(6px,6px);
}

.nav-toggle-btn.active .icon-2 {
  opacity: 0;
}

.nav-toggle-btn.active .icon-3 {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* =========================================================
   5) Typografie
   ========================================================= */

.h1,
.h2,
.h3,
.display-1 {
  font-family: var(--ff-display);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--text);
}

.h1 {
  font-size: clamp(4.2rem, 6vw, 7.2rem);
  font-weight: 800;
  max-width: 920px;
}

.h2 {
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.04em;
}

.h3 {
  font-size: clamp(2rem, 2vw, 2.4rem);
  font-weight: 800;
}

.section-title {
  margin-bottom: 16px;
}

.section-text {
  max-width: 65ch;
}

.section-head-center {
  text-align: center;
  margin-bottom: 52px;
}

.section-kicker,
.section-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--red);
  font: 800 1.35rem/1 var(--ff-display);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-subtitle {
  padding: 0;
  background: none !important;
  border: 0 !important;
}

.section-subtitle::before {
  display: none;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  color: var(--muted);
}

.section-head-center::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  margin: 28px auto 0;
  background: var(--red);
  box-shadow: 0 0 24px rgba(255,51,71,.6);
}

/* =========================================================
   6) Tlačítka a odkazy
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 16px 24px;
  border-radius: 16px;
  font: 800 1.35rem/1 var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

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

.btn-primary {
  color: var(--text);
  border: 1px solid var(--red);
  background: rgba(255,51,71,.08);
  box-shadow:
    0 0 0 1px rgba(255,51,71,.08),
    0 18px 50px rgba(255,51,71,.12);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--red);
  font: 800 1.25rem/1 var(--ff-display);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.btn-link::after {
  content: "→";
  transition: var(--transition);
}

.btn-link:hover::after {
  transform: translateX(5px);
}

.pulse {
  animation: none;
}

/* =========================================================
   7) Glass card obecný styl
   Používá se u služeb, about, procesu atd.
   U realizací je tento efekt cíleně vypnutý níže.
   ========================================================= */

.glass-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(255,51,71,.11), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 35%, rgba(255,51,71,.05));
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.featured {
  border-color: var(--line-red);
}

/* =========================================================
   8) Reveal animace
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}

.reveal-left {
  transform: translateX(-26px);
}

.reveal-right {
  transform: translateX(26px);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0,0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* Původní pohybové efekty vypnuté */
.move-anim,
.floating-card {
  animation: none;
}

/* =========================================================
   9) Hero sekce
   Upraveno pro reálnou fotku provozovny:
   - žádný pohyb podle myši
   - zaoblené rohy
   - decentní červená záře
   ========================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(7,8,11,.92) 0%,
    rgba(7,8,11,.72) 45%,
    rgba(7,8,11,.22) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 44px;
}

.hero-content,
.hero-banner {
  position: relative;
  z-index: 2;
}

.hero .section-text {
  font-size: 1.85rem;
  color: var(--muted);
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-top: 36px;
}

.hero-stats li {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--text);
  font: 800 2.8rem/1 var(--ff-display);
  margin-bottom: 6px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 1.35rem;
}

.hero-banner {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner img {
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 35px 90px rgba(0,0,0,.65),
    0 0 0 10px rgba(255,255,255,.03),
    0 0 55px rgba(255,51,71,.16);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: -25px;
  border-radius: 60px;
  background:
    radial-gradient(
      circle,
      rgba(255,51,71,.18) 0%,
      rgba(255,51,71,.05) 45%,
      transparent 75%
    );
  filter: blur(35px);
  z-index: -1;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 0 0 120px rgba(0,0,0,.25);
  pointer-events: none;
}

/* =========================================================
   10) Služby
   ========================================================= */

.service {
  padding-top: 96px;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-card {
  min-height: 292px;
  padding: 28px 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 22px;
  color: var(--red);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 26px rgba(255,51,71,.10);
}

.service-icon .material-symbols-rounded {
  font-size: 3.4rem;
}

.service-card .card-title {
  margin-bottom: 14px;
}

.service-card .card-text {
  margin-bottom: 28px;
  color: var(--muted);
}

.service-showcase {
  min-height: 606px;
  border-radius: var(--radius);
}

.service-showcase img {
  position: absolute;
  inset: 0;
  filter: saturate(.9) contrast(1.06) brightness(.72);
}

.service-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.78) 100%);
  z-index: 1;
}

.showcase-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  border-radius: 24px;
  background: rgba(12,13,17,.70);
}

.showcase-panel .service-icon {
  margin: 0;
  width: 66px;
  height: 66px;
}

.showcase-panel p {
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1.55;
  margin-top: 10px;
}

.service-wide {
  margin-top: 22px;
  min-height: 118px;
  padding: 26px 34px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.service-wide .service-icon {
  margin: 0;
  width: 70px;
  height: 70px;
}

.service-wide .card-title {
  margin-bottom: 8px;
}

.service-wide .card-text {
  margin: 0;
}

/* =========================================================
   11) O nás
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 42px;
}

.about-visual {
  min-height: 610px;
  border-radius: var(--radius);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.8);
}

.about-floating {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 285px;
  padding: 22px;
  border-radius: 22px;
  color: var(--text);
}

.about-floating strong {
  font: 800 2.4rem/1.1 var(--ff-display);
  margin-bottom: 8px;
}

.about-content .section-text + .section-text {
  margin-top: 14px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-item {
  padding: 20px;
  border-radius: 20px;
}

.display-1 {
  font-size: clamp(3.2rem,4vw,5rem);
}

.about-item .strong {
  margin-bottom: 6px;
}

/* =========================================================
   12) Realizace / projekty
   Hlavní oprava:
   - obrázek je absolutně přes celou kartu
   - žádné spodní blokující pozadí
   - text leží přímo na obrázku přes gradient
   ========================================================= */

.projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
}

.projects-head .section-lead {
  margin: 0;
  text-align: left;
}

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

.project-grid > li {
  min-width: 0;
}

/* Samotná karta realizace */
.work-card {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0b0c10;
}

/* U realizací vypínáme obecný glass overlay,
   protože právě ten dělal tmavé obdélníky pod textem */
.work-card.glass-card::before {
  display: none !important;
}

/* Obrázek musí vyplnit celou kartu */
.work-card .card-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Obrázek přes celou kartu */
.work-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* Jemný zoom na hover */
.work-card:hover .card-banner img {
  transform: scale(1.04);
}

/* Gradient pro čitelnost textu */
.work-card .card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.60) 34%,
    rgba(0,0,0,.22) 62%,
    transparent 100%
  );
}

/* Text je pouze přes obrázek – žádný vlastní panel */
.work-card .card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
  background: transparent !important;
}

.card-subtitle {
  color: var(--red);
  font: 800 1.25rem/1 var(--ff-display);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-text {
  color: var(--muted);
  margin-top: 12px;
}

.project-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.project-chip {
  padding: 7px 10px;
  border-radius: 999px;
  font: 700 1.1rem/1 var(--ff-display);
  color: var(--text);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
}

/* =========================================================
   13) Proces spolupráce
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.process-card {
  min-height: 235px;
  padding: 26px;
  border-radius: 24px;
}

.step {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--text);
  font: 800 1.35rem/1 var(--ff-display);
}

.process-card p {
  margin-top: 12px;
}

/* =========================================================
   14) CTA pruh
   ========================================================= */

.cta-band {
  padding-top: 22px;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,51,71,.16), rgba(255,255,255,.05));
  border: 1px solid var(--line-red);
  box-shadow: var(--shadow);
}

.cta-band .section-title {
  margin: 0;
}

/* =========================================================
   15) Footer
   ========================================================= */

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 34px;
}

.footer-text {
  max-width: 45ch;
  margin: 20px 0 24px;
}

.social-list {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.social-link img,
.social-link .material-symbols-rounded {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.footer .h3 {
  margin-bottom: 18px;
}

.footer-list li + li {
  margin-top: 14px;
}

.footer-list .p {
  color: var(--text);
  font-weight: 700;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-link:hover {
  color: var(--text);
}

.footer-link .material-symbols-rounded {
  color: var(--red);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.copyright {
  font-size: 1.35rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font: 800 1.25rem/1 var(--ff-display);
  text-transform: uppercase;
}

/* =========================================================
   16) Responzivita – větší tablety / menší notebooky
   ========================================================= */

@media (max-width: 1199px) {
  .hero-grid,
  .service-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 460px;
  }

  .service-showcase {
    min-height: 520px;
  }

  .service-stack {
    grid-template-columns: repeat(2,1fr);
  }

  .project-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .featured-project {
    grid-column: span 2;
  }
}

.hero-red{
    color: var(--red);
    text-shadow:
        0 0 15px rgba(255,51,71,.45),
        0 0 35px rgba(255,51,71,.25);
}
/* =========================================================
   17) Responzivita – tablet / mobilní menu
   ========================================================= */

@media (max-width: 991px) {
  :root {
    --section-padding: 76px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle-btn {
    display: grid;
  }

  .navbar {
    position: fixed;
    inset: 74px 18px auto;
    padding: 14px;
    border-radius: 20px;
    background: rgba(8,9,12,.96);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
  }

  .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-list {
    display: grid;
    gap: 4px;
  }

  .navbar-link {
    padding: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .projects-head {
    display: block;
  }

  .projects-head .section-lead {
    margin-top: 12px;
  }
}

/* =========================================================
   18) Responzivita – mobil
   ========================================================= */

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 1254px);
  }

  .h1 {
    font-size: clamp(3.5rem, 12vw, 5rem);
  }

  .h2 {
    font-size: clamp(2.9rem, 10vw, 4rem);
  }

  .hero-actions,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: stretch;
    display: flex;
  }

  .service-stack,
  .about-list,
  .project-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-showcase {
    min-height: 520px;
  }

  .showcase-panel {
    grid-template-columns: 1fr;
  }

  .service-wide {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-column: auto;
  }

  .work-card {
    min-height: 420px;
  }

  .about-visual {
    min-height: 420px;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* =========================================================
   19) Omezení animací pro uživatele, kteří mají zapnuté
       prefers-reduced-motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.cta-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}