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

:root {
  --red:      #8b1a1a;
  --red-dark: #6b1212;
  --red-light:#a52020;
  --teal:     #1a2e2e;
  --teal-mid: #243636;
  --teal-light:#2d4444;
  --white:    #ffffff;
  --off-white:#f5f4f0;
  --gray:     #555;
  --cyan:     #00d4d4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: #222;
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 38px; }
.nav-logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--red);
  letter-spacing: .5px;
}

.nav-links { 
  display: flex; 
  gap: 2rem; 
  list-style: none;
  margin-left: auto;
  margin-right: 3rem;
}

.nav-links a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem; font-weight: 600;
  color: #333; text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--red); }

/* ── HERO ────────────────────────────────────────── */
#home {
  background: var(--teal);
  /* background-color: black; */
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* cross pattern */
/* #home::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(139,26,26,.18) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M24 4h12v16h16v12H36v16H24V32H8V20h16z' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E");
  background-size: auto, 60px 60px;
} */

.hero-img {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 0 4%;
}
.hero-img img {
  max-height: 420px; width: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.5));
}

.hero-text {
  position: relative; z-index: 1;
  padding: 4rem 6% 4rem 4%;
}
.hero-text h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
/* zmena barvy tretiho radku */
/* .hero-text h1 span { color: var(--cyan); } */

/* druhy radek neni bold */
.hero-text span span { 
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3rem);;
  }

.hero-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* logo */
.hero-logo {
    width: 100px;   /* uprav podle potřeby */
    height: auto;
}





.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  padding: .85rem 2.4rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }

/* ── FEATURE BAR (from main_2) ───────────────────── */
.feature-bar {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 1.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,.15);
  gap: .6rem;
}


.feature-item img{
  width:80px;
  height:80px;
  object-fit:contain;
  margin-bottom:10px;
}



.feature-item:last-child { border-right: none; }
/* .feature-item img { width: 52px; height: 52px; object-fit: contain; filter: brightness(0) invert(1); } */
.feature-item strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem; 
  font-weight: 600;
  color: var(--white); line-height: 1.2;
}
.feature-item p { font-size: .82rem; color: rgba(255,255,255,.8); }

#feature-subbar {
  background: var(--red);
  color: var(--white);
  text-align: center;

  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;

  padding: 0.9rem 1rem;

  /* border-top: 1px solid rgba(255,255,255,.15); */
}

/* ── SECTION WRAPPER ────────────────────────────── */
section { scroll-margin-top: 64px; }
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem; font-weight: 700;
  text-align: center; margin-bottom: 1rem;
  color: #1a1a1a;
}
.section-sub {
  text-align: center; color: var(--gray);
  font-size: 1rem; margin-bottom: 2.5rem;
}

/* ── MISE ────────────────────────────────────────── */
#mise {
  background: var(--off-white);
  padding: 5rem 8%;
}
.mise-inner {
  max-width: 800px; margin: 0 auto;
}
.mise-card {
  background: var(--white);
  border: 2px solid #e0dcdc;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  padding: 2rem 2.4rem;
  font-size: 1.02rem; line-height: 1.75;
  color: #333;
}
.mise-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: .9rem; color: #111;
}

/* ── PROC VR ─────────────────────────────────────── */
#proc-vr { padding: 5rem 8%; background: var(--white); }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 900px; margin: 0 auto;
}
.proc-card {
  border: 2px solid #e0dada;
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: box-shadow .2s, border-color .2s;
}
.proc-card:hover { 
  box-shadow: 0 4px 20px rgba(139,26,26,.12);
  border-color: var(--red); 
  cursor: default;
}
.proc-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.proc-icon img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.proc-text h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; font-weight: 600; margin-bottom: .3rem;
}
.proc-text p { font-size: .9rem; color: var(--gray); }

/* ── SCÉNÁŘE ─────────────────────────────────────── */
#scenare { padding: 5rem 8%; background: var(--off-white); }

.scenare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}


.scenare-card {
  background: var(--white);
  border: 2px solid #e0dcdc;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.scenare-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(139,26,26,.15);
  transform: translateY(-3px);
  cursor: default;
}
.scenare-card img { width: 44px; height: 44px; margin-bottom: .7rem; }
.scenare-card span {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 600; color: #222;
}
.scenare-note { text-align: center; color: var(--gray); font-size: .95rem; }


/* redesign */
.scenare-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e0dcdc;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scenare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.scenare-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.scenare-content {
  padding: 1rem 1.2rem 1.4rem;
}

.scenare-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.scenare-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.4;
}

@media (max-width: 700px) {
  .scenare-grid {
    grid-template-columns: 1fr;
  }
}













/* ── GALERIE ─────────────────────────────────────── */
#galerie { padding: 5rem 8%; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1000px; margin: 0 auto;
}
.gallery-thumb {
  position: relative; overflow: hidden;
  border-radius: 8px; cursor: pointer;
  aspect-ratio: 4/3;
  background: #ddd;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s;
}
.gallery-thumb:hover img { transform: scale(1.06); filter: brightness(.85); }
.gallery-thumb::after {
  /* content: '🔍'; */
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: rgba(0,0,0,.0);
  transition: background .3s;
  pointer-events: none;
}
.gallery-thumb:hover::after { background: rgba(0,0,0,.25); }

/* placeholder tiles */
.gallery-placeholder {
  background: linear-gradient(135deg, #e8e4e4 0%, #d0caca 100%);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .4rem;
  border: 2px dashed #c0b8b8;
  color: #999;
  font-size: .85rem;
  font-style: italic;
}
.gallery-placeholder svg { opacity: .4; }

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
}
.lightbox-inner img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 8px 60px rgba(0,0,0,.7);
  display: block;
}
/* .lb-close {
  position: absolute; top: -36px; right: -4px;
  font-size: 2rem; color: #fff; cursor: pointer;
  line-height: 1; background: none; border: none;
} */


.lb-close {
  position: fixed;
  top: 25px;
  right: 25px;

  font-size: 2.2rem;
  color: white;

  background: none;
  border: none;
  cursor: pointer;

  line-height: 1;
}

.lb-close:hover {
  transform: scale(1.15);
}



.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.3);
  color: #fff; font-size: 2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ── KONTAKT ─────────────────────────────────────── */
#kontakt {
  background: var(--red-dark);
  padding: 5rem 8%;
}
#kontakt .section-title { color: var(--white); }
#kontakt .section-sub { color: rgba(255,255,255,.7); }

.contact-form {
  max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.contact-form select { color: rgba(255,255,255,.7); cursor: pointer; }
.contact-form select option { color: #222; background: #fff; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,.18);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.btn-send {
  background: var(--cyan);
  color: #003333;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  padding: 1rem;
  border: none; border-radius: 5px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .5px;
}
.btn-send:hover { background: #00bfbf; transform: translateY(-2px); }
.form-success {
  display: none;
  text-align: center;
  color: var(--cyan);
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  padding: 2rem;
}

.checkbox-row {
  display: flex;
  align-items: center;   /* zarovná na střed (lepší než flex-start) */
  gap: 10px;

  font-size: 1rem;       /* větší text */
  color: rgba(255,255,255,0.9);

  white-space: normal;   /* zabrání zalomení */
}

/* větší checkbox */
.checkbox-row input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* play button overlay na thumbnailu */
.gallery-video {
  position: relative;
  cursor: pointer;
}

.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s;
}

.gallery-video:hover .yt-play-btn {
  background: rgba(0, 0, 0, 0.55);
}

/* iframe v lightboxu */
#lbFrame {
  width: min(900px, 90vw);
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 4px;
}

/* scroll animace */
/* výchozí stav – skryté */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

/* když se objeví */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: #111;
  color: rgba(255,255,255,.5);
  text-align: center;
  font-size: .85rem;
  padding: 1.2rem;
}
footer span { 
  /* color: var(--red); */
  font-weight: 600; 
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 760px) {
  #home { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-text { padding: 3rem 6%; text-align: center; }
  .feature-bar { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px; /* menší mezery */
  }
}

footer {
margin-top: -1px; 
}

/* ── LANGUAGE SWITCHER ─────────────────── */
.lang-dropdown {
  position: relative;
  z-index: 200;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 5px;
  padding: 4px 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lang-dropdown-btn:hover {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.35);
}

.lang-dropdown-btn svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.lang-dropdown.open .lang-dropdown-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  list-style: none;
  overflow: hidden;
  min-width: 60px;
}

.lang-dropdown.open .lang-dropdown-list {
  display: block;
}

.lang-opt {
  display: block;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.lang-opt:hover {
  background: var(--off-white);
  color: var(--red);
}

.lang-opt.active {
  color: var(--red);
}

/* desktop → inline */
@media (min-width: 760px) {
  .lang-inline {
    display: flex;
  }

  .lang-dropdown {
    display: none;
  }
}

/* mobil → dropdown */
@media (max-width: 759px) {
  .lang-inline {
    display: none;
  }

  .lang-dropdown {
    display: flex;
  }
}

/* inline .lang-switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: inherit;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(255,255,255,0.15);
  border-color: white;
} 

/* button up */
#scrollTop {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 500;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s, opacity 0.3s;
  opacity: 0;
}

#scrollTop:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  #scrollTop {
    display: flex;
  }
}
