:root{
  --bg:#0b1220;
  --text:#eaf0ff;
  --muted:#a9b7d6;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 55px rgba(0,0,0,.40);
  --shadow2: 0 10px 25px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:24px;
  --accent:#7dd3fc;
  --accent2:#a78bfa;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 20% -10%, rgba(167,139,250,.35), transparent 60%),
    radial-gradient(1000px 600px at 90% 0%, rgba(125,211,252,.28), transparent 55%),
    radial-gradient(900px 500px at 70% 120%, rgba(52,211,153,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), #050812);
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background:rgba(0,0,0,.75);
  border:1px solid var(--line);
  border-radius:12px;
  z-index:9999;
}

/* header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,18,32,.75), rgba(11,18,32,.35));
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:42px; height:42px; display:grid; place-items:center;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(125,211,252,.35), rgba(167,139,250,.35));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow2);
  font-weight:800;
}
.brand-title{ font-weight:800; letter-spacing:.2px; }
.brand-subtitle{ color:var(--muted); font-size:13px; margin-top:2px; }

.nav{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
}
.nav a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  text-decoration:none;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  background: linear-gradient(135deg, rgba(125,211,252,.9), rgba(167,139,250,.9));
  color:#061022;
  border:1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow2);
  text-decoration:none !important;
}
.btn:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-small{ padding:10px 12px; font-size:14px; }

.btn-ghost{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}
.btn-ghost:hover{ background: rgba(255,255,255,.10); }

/* hero */
.hero{ padding:34px 0 18px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.pill{
  display:inline-flex;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  width: fit-content;
}
.hero-copy h1{
  font-size: clamp(30px, 3.8vw, 48px);
  line-height:1.05;
  margin:14px 0 10px;
}
.lead{
  color:rgba(234,240,255,.88);
  line-height:1.65;
  font-size:16px;
  margin:0 0 16px;
}
.note{ color:var(--muted); font-size:14px; margin-top:12px; }

.hero-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin:14px 0 16px;
}
.mini-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px;
}
.mini-card-k{ color:var(--muted); font-size:12px; font-weight:700; }
.mini-card-v{ font-size:16px; font-weight:900; margin-top:6px; }

.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-media{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  padding:12px;
  box-shadow: var(--shadow);
}
.hero-photo{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  aspect-ratio: 16 / 11;
  background: rgba(0,0,0,.25);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; }

.hero-thumbs{ display:flex; gap:10px; margin-top:12px; }
.thumb{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:14px;
  padding:0;
  overflow:hidden;
  width:56px;
  height:46px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
}
.thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); }
.thumb.is-active{ outline: 2px solid rgba(125,211,252,.65); }

.hero-wave{
  height:38px;
  margin-top:24px;
  background: linear-gradient(90deg, rgba(125,211,252,.20), rgba(167,139,250,.18), rgba(52,211,153,.10));
  filter: blur(22px);
  opacity:.75;
}

/* sections */
.section{ padding:34px 0; }

/* ZJEMNĚNÍ: místo gradientů v sekcích dáme jednotný "tint" */
.section-alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Galerie: pevné pozadí, aby nepůsobila "přetékavě" */
#galerie.section-alt{
  background: rgba(10,14,30,.85);
}

.section-head{ margin-bottom:16px; }
.section-head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
}
.section-head p{ margin:0; color:var(--muted); line-height:1.6; }

/* cards / grids */
.card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow2);
}
.card h3{ margin:0 0 10px; font-size:18px; }
.card h4{ margin:0 0 8px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}

.list{
  margin:0;
  padding-left:18px;
  color:rgba(234,240,255,.88);
  line-height:1.65;
}
.list li{ margin:6px 0; }

.muted{ color:var(--muted); }
.small{ font-size:13px; }

.divider{
  height:1px;
  background: rgba(255,255,255,.12);
  margin:14px 0;
}

/* gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}
.g-item{
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding:0;
  overflow:hidden;
  cursor:pointer;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, background .12s ease;
  aspect-ratio: 4 / 3;
}
.g-item img{ width:100%; height:100%; object-fit:cover; }
.g-item:hover{ transform: translateY(-2px); background: rgba(255,255,255,.08); }
.g-wide{ grid-column: span 2; aspect-ratio: 8 / 3; }

/* contact */
.contact-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  padding:20px;
  box-shadow: var(--shadow);
}
.contact-link{ text-decoration: underline; text-underline-offset: 4px; }
.contact-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* footer */
.site-footer{
  padding:28px 0 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.footer-title{ color:var(--muted); font-weight:800; margin-bottom:8px; }
.footer-text{ color:rgba(234,240,255,.88); line-height:1.6; font-size:14px; }
.footer-bottom{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.dot{ opacity:.6; }

/* lightbox */
.no-scroll{ overflow:hidden; }
.lightbox{ position:fixed; inset:0; z-index:200; }
.lightbox-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(6px);
}
.lightbox-dialog{
  position:relative;
  margin: min(6vh, 48px) auto 0;
  width: min(980px, calc(100% - 28px));
  background: rgba(15,26,51,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 12px 12px 16px;
}
.lightbox-dialog img{
  width:100%;
  height:auto;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}
.lightbox-close{
  position:absolute;
  top:10px; right:10px;
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size:18px;
  cursor:pointer;
}
.lightbox-close:hover{ background: rgba(255,255,255,.12); }
.lightbox-hint{ margin-top:10px; color: var(--muted); font-size:13px; }

/* responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .nav{ display:none; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-wide{ grid-column: span 2; }
}