/* ==========================================================================
   RODINNÉ STOLAŘSTVÍ — 1. VARIANTA (OXFORD & SWISS MINIMALIST STYLE)
   Precizní firemní prezentace · Špičková typografie · Bezchybný čistý design
   ========================================================================== */

:root {
  /* Brand barvy — Elegantní terakotová červeň a architektonická břidlice */
  --primary:             #b21c1e;
  --primary-hover:       #931618;
  --primary-light:       #fdf2f2;
  --primary-dim:         rgba(178, 28, 30, 0.05);
  --primary-rim:         rgba(178, 28, 30, 0.15);
  
  --secondary:           #0f172a; /* Slate 900 */
  --secondary-hover:     #1e293b; /* Slate 800 */
  
  /* Text */
  --text-dark:           #0f172a;
  --text-muted:          #475569; /* Slate 600 */
  --text-faint:          #94a3b8; /* Slate 400 */
  --text-light:          #f8fafc; /* Slate 50 */
  
  /* Pozadí */
  --bg-light:            #ffffff;
  --bg-subtle:           #f8fafc;
  --bg-dark:             #0f172a;
  
  /* Rámce a oddělovače */
  --border-color:        #e2e8f0;
  --border-color-subtle: rgba(15, 23, 42, 0.04);
  
  /* Proměnné chování */
  --transition-fast:     0.2s ease;
  --transition-smooth:   0.45s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Border Radius */
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           16px;
  
  /* Stíny */
  --shadow-sm:           0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md:           0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg:           0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover:        0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset pro navigaci při skoku na kotvu */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Plus Jakarta Sans pro všechny nadpisy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   SEKČNÍ PRVKY & TYPOGRAFIE
   ────────────────────────────────────────────────────────────────────────── */
section {
  padding: 8rem 0;
  position: relative;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: #fff;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--primary);
  margin: 1.25rem auto 0;
  border-radius: 10px;
}

.section-title.align-left {
  text-align: left;
}

.section-title.align-left::after {
  margin: 1.25rem 0 0 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────────────
   TLAČÍTKA (PRÉMIOVÝ DESIGN)
   ────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(178, 28, 30, 0.22);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 8px 22px rgba(178, 28, 30, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--secondary);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* ──────────────────────────────────────────────────────────────────────────
   NAVIGACE (TRANSPARENT-TO-SOLID SCROLL TRANSITION)
   ────────────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
}

/* Stav při scrollu */
.navbar.scrolled {
  height: 75px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 40px;
  display: block;
  transition: transform var(--transition-smooth);
}

.logo:hover img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

/* Dynamické barvy textu na základě stavu scrollu */
.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: #fff;
}

.navbar.scrolled .nav-links a {
  color: var(--text-muted);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--secondary);
}

/* Link underline */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Tlačítko Kontakt v navbaru */
.nav-links .nav-btn {
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition: all var(--transition-fast);
}

.nav-links .nav-btn::after {
  display: none !important;
}

.navbar:not(.scrolled) .nav-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

.navbar:not(.scrolled) .nav-btn:hover {
  background-color: #fff;
  color: var(--secondary) !important;
  border-color: #fff;
}

.navbar.scrolled .nav-btn {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
}

.navbar.scrolled .nav-btn:hover {
  background-color: var(--primary);
  color: #fff !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

/* ──────────────────────────────────────────────────────────────────────────
   HERO SEKCE (NÁDHERNÉ CELOOBRAZOVKOVÉ VIDEO)
   ────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(10, 15, 30, 0.97) 0%, rgba(10, 15, 30, 0.85) 45%, rgba(10, 15, 30, 0.5) 100%),
    radial-gradient(circle at 30% 50%, transparent 20%, rgba(10, 15, 30, 0.3) 100%);
  z-index: -1;
}

.hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 40px; /* Kompenzace pro navbar */
}

.hero-content {
  text-align: left;
  max-width: 750px;
  animation: fadeIn var(--transition-smooth) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--primary); /* Značková terakotová červeň */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-start;
}

/* ──────────────────────────────────────────────────────────────────────────
   O NÁS (ARCHITEKTONICKÝ DESIGN A FLUIDNÍ BADGE)
   ────────────────────────────────────────────────────────────────────────── */
.section-about {
  padding: 9rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-smooth);
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Elegantní obdélníkový badge namísto kruhu */
.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background-color: var(--primary);
  color: white;
  padding: 1.8rem 2.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(178, 28, 30, 0.25);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.experience-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px rgba(178, 28, 30, 0.35);
}

.experience-badge .years {
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.about-text {
  padding-left: 0.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text p:first-of-type {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: var(--secondary);
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   SLUŽBY (DOKONALÉ MINIMALISTICKÉ KARTY)
   ────────────────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color-subtle);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Spodní elegantní linka při najetí */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(178, 28, 30, 0.05);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

/* ──────────────────────────────────────────────────────────────────────────
   SÉRIOVÁ VÝROBA (TECHNICKÝ B2B PANEL)
   ────────────────────────────────────────────────────────────────────────── */
.serial-production {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.serial-production .section-title {
  color: white;
}

.serial-production .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.serial-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.serial-feature {
  background: rgba(255, 255, 255, 0.02);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-smooth);
  text-align: left;
}

.serial-feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.serial-feature h3 {
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.serial-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────────────────
   UKÁZKY PRÁCE (PRÉMIOVÝ GRID GALERIE)
   ────────────────────────────────────────────────────────────────────────── */
/* Classic Traditional Portfolio Tabs */
.gallery-tabs-container-classic {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 3.5rem;
  margin-top: 1rem;
}

.gallery-tabs-classic {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2.5rem;
  row-gap: 1rem;
  border-bottom: 2px solid var(--border-color);
  width: 100%;
  max-width: 900px;
}

.gallery-tab-classic {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.8rem 0.5rem 1.2rem 0.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  outline: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.gallery-tab-classic:hover {
  color: var(--primary);
}

.gallery-tab-classic.active {
  color: var(--primary);
}

.gallery-tab-line {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  width: 0;
  background-color: var(--primary);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Classic Traditional Portfolio Grid */
.gallery-grid-classic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}

.gallery-card-classic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: white;
  transition: transform 0.5s var(--transition-smooth), 
              box-shadow 0.5s var(--transition-smooth), 
              border-color 0.5s var(--transition-smooth);
}

.gallery-card-classic:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-rim);
}

.gallery-card-classic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

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

.gallery-overlay-classic {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.gallery-card-classic:hover .gallery-overlay-classic {
  opacity: 1;
}

.gallery-overlay-classic span {
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  transform: translateY(15px);
  transition: transform 0.45s var(--transition-smooth);
}

.gallery-card-classic:hover .gallery-overlay-classic span {
  transform: translateY(0);
}

/* Classic Fullscreen Lightbox Modal */
.lightbox-modal-classic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop-classic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.lightbox-close-classic {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10100;
}

.lightbox-close-classic:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-prev-classic,
.lightbox-next-classic {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10100;
}

.lightbox-prev-classic {
  left: 2rem;
}

.lightbox-prev-classic:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1) translateX(-4px);
}

.lightbox-next-classic {
  right: 2rem;
}

.lightbox-next-classic:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1) translateX(4px);
}

.lightbox-content-classic {
  max-width: 960px;
  width: 90%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10050;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal-classic.active .lightbox-content-classic {
  transform: scale(1);
}

.lightbox-img-wrapper-classic {
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  background: #000;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper-classic img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.lightbox-caption-classic {
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.lightbox-caption-text-classic h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.lightbox-caption-text-classic p {
  color: var(--text-faint);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lightbox-counter-classic {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .gallery-grid-classic {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  .gallery-tabs-classic {
    column-gap: 1.5rem;
  }
  
  .gallery-tab-classic {
    padding: 0.6rem 0.2rem 0.8rem 0.2rem;
    font-size: 0.95rem;
  }
  
  .lightbox-close-classic {
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .lightbox-prev-classic {
    left: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .lightbox-next-classic {
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .lightbox-caption-classic {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .lightbox-counter-classic {
    align-self: flex-start;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   KOMPLETNÍ REALIZACE (INŽENÝRSKÉ SCHÉMA)
   ────────────────────────────────────────────────────────────────────────── */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  max-width: 1100px;
  margin: 5rem auto 0;
}

/* Tenká linka spojující kroky */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  width: 76%;
  height: 1.5px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 auto 2rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step:hover .step-number {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 10px 25px var(--primary-dim);
}

.process-step h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 0.5rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   PATIČKA & KONTAKT (SaaS STYLE FORM & ORG INFO)
   ────────────────────────────────────────────────────────────────────────── */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 8rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.contact-info h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-details i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
  background: rgba(178, 28, 30, 0.08);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-details strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-details span {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.5;
  display: block;
}

.contact-details a {
  color: inherit;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-details .subtext {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 0.25rem;
  display: block;
}

/* Moderní čistý formulář */
.contact-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(178, 28, 30, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  font-size: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILNÍ RESPONSIVITA (DOKONALE ODLADĚNÁ)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  section {
    padding: 6rem 0;
  }
  
  .navbar .container {
    padding: 0 2rem;
  }
  
  .navbar:not(.scrolled) .nav-btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
  }
  
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--secondary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }
  
  .navbar:not(.scrolled) .mobile-menu-btn {
    color: #fff;
  }
  
  /* Moderní dropdown mobilní menu */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1.1rem 0;
    width: 100%;
    color: var(--secondary) !important;
    font-size: 0.9rem;
  }
  
  .nav-links a::after {
    display: none !important;
  }
  
  .nav-links .nav-btn {
    border: none !important;
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    margin: 0.5rem auto !important;
    width: 80% !important;
    max-width: 320px;
    border-radius: var(--radius-sm);
  }
  
  .nav-links .nav-btn:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .process-timeline::before {
    left: 40px;
    top: 0;
    width: 2px;
    height: 100%;
  }
  
  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
  }
  
  .step-number {
    margin: 0 2rem 0 0;
    flex-shrink: 0;
  }
  
  .process-step p {
    padding: 0;
  }
  
  .step-content {
    flex: 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .btn {
    width: 100%;
  }
  
  .experience-badge {
    bottom: -15px;
    right: -15px;
    padding: 1.2rem 1.6rem;
  }
  
  .experience-badge .years {
    font-size: 2.25rem;
  }
  
  .contact-form {
    padding: 2.5rem 1.5rem;
  }
}
