@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap&subset=latin-ext");

:root {
  --bg: #0c0c0c;
  --bg-2: #161616;
  --bg-3: #1f1f1f;
  --text: #f4f1ea;
  --muted: #b9b3a8;
  --oak: #a67333;
  --oak-d: #8f6229;
  --accent: #eda034;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", "Arial", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar .wrap {
  display: flex;
  justify-content: flex-start;
  gap: 1.6rem;
  padding: 0.85rem 0 0.15rem;
  flex-wrap: wrap;
  align-items: center;
}
.topbar span, .topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar a:hover { color: var(--oak); }

.header {
  position: relative;
  z-index: 3;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0 0.9rem;
}
.logo {
  display: block;
  width: 92px;
  height: 58px;
  overflow: hidden;
}
.logo img {
  width: 92px;
  height: auto;
  margin-top: -2px;
  mix-blend-mode: screen;
}
.nav { display: flex; gap: 1.7rem; align-items: center; }
.nav a { font-size: 0.98rem; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active { box-shadow: inset 0 -2px 0 #fff; padding-bottom: 0.15rem; }
.nav .btn { text-transform: none; letter-spacing: 0; box-shadow: none; padding: 0.62rem 1.15rem; }
.nav .btn:hover, .nav a.btn.is-active { color: #fff; box-shadow: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.35rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1;
}
.btn-oak { background: var(--oak); color: #fff; }
.btn-oak:hover { background: var(--oak-d); }
.btn-oak span { font-size: 1.05em; }
.btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(10,10,10,0.55);
  padding: 0.78rem 1.2rem;
}
.btn-ghost:hover { border-color: #fff; }
.btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
  padding: 0.62rem 1.15rem;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #fff;
  padding: 0.45rem 0.7rem;
}

.hero-stage {
  position: relative;
  min-height: min(600px, 82vh);
  overflow: hidden;
  isolation: isolate;
  background: #0c0c0c;
}
.hero-stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 46%;
  z-index: 0;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.5) 26%, rgba(10,10,10,0.15) 46%, transparent 62%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, transparent 26%),
    linear-gradient(0deg, rgba(10,10,10,0.35) 0%, transparent 18%);
}
.hero-stage .topbar,
.hero-stage .header {
  position: relative;
  z-index: 3;
  background: transparent;
  backdrop-filter: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 6.5rem;
  max-width: 30rem;
  margin: 0;
}
.hero-copy h1 {
  font-family: "Oswald", "Segoe UI", "Arial", sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: none;
}
.hero-sub {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  color: #f1ede4;
  white-space: nowrap;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.7rem; }

.shot-band {
  position: relative;
  background: #1a1814 url("../assets/bg-shot.jpg?v=1") center 18% / cover no-repeat;
}
.shot-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,0.22) 0%, transparent 22%, rgba(12,12,12,0.18) 100%);
}
.shot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.15rem;
  padding: 2.2rem 0 2.8rem;
}
.shot {
  display: block;
}
.shot-frame {
  position: relative;
  display: block;
  height: 268px;
  background: #141414;
  overflow: hidden;
  border-radius: 6px;
}
.shot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease, transform 0.6s ease;
}
.shot:hover .shot-frame img { transform: scale(1.04); }
.shot-frame img:first-child,
.shot-frame img.is-on {
  opacity: 1;
}
.shot-frame img.is-off {
  opacity: 0;
}
.shot-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.15rem 0.1rem;
}
.shot-meta span {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.shot-meta i,
.card-body h3 i {
  font-style: normal;
  color: var(--accent);
  font-size: 1.05em;
  flex-shrink: 0;
  line-height: 1;
}

.section { padding: 4.5rem 0; }
.section h2 {
  font-family: "Oswald", "Segoe UI", "Arial", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 0.6rem;
}
.lead { color: var(--muted); max-width: 42rem; margin-bottom: 1.1rem; }
.about {
  position: relative;
  padding: 6rem 0 6.5rem;
  background: #0c0c0c url("../assets/bg-more.jpg?v=1") right center / cover no-repeat;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,6,6,0.62) 0%, rgba(6,6,6,0.32) 32%, rgba(6,6,6,0.1) 58%, rgba(6,6,6,0) 82%),
    linear-gradient(180deg, rgba(6,6,6,0.28) 0%, transparent 20%, transparent 84%, rgba(6,6,6,0.38) 100%);
}
.about-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 0.2rem 2.2rem 0.4rem 0;
  background: none;
}
.about-copy h2 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 18px rgba(0,0,0,0.75);
}
.about-copy p { color: #f6f2ea; margin: 0 0 1.15rem; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 16px rgba(0,0,0,0.75); }
.about-copy h3 {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.45rem;
  margin: 1.8rem 0 0.5rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 16px rgba(0,0,0,0.7);
}
.about-copy .btn { margin-top: 1.2rem; }

body.page-realizace {
  background: #0c0c0c url("../assets/bg-realizace.jpg?v=1") center top / cover no-repeat;
}
body.page-realizace .header {
  background: rgba(10, 10, 10, 0.55);
}
.realizace-hero {
  position: relative;
  padding: 3.2rem 0 5.5rem;
}
.realizace-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.42) 0%, rgba(6,6,6,0.12) 24%, transparent 62%),
    linear-gradient(90deg, rgba(6,6,6,0.22) 0%, transparent 48%);
}
.realizace-hero .wrap { position: relative; z-index: 1; }
.realizace-hero h2 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 22px rgba(0,0,0,0.8);
}

body.page-detail { background-color: #0c0c0c; }
body.page-detail .header { background: rgba(10, 10, 10, 0.55); }
body.page-detail .section {
  position: relative;
  padding-bottom: 5.5rem;
  background-color: #0c0c0c;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}
body.page-detail .section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,6,6,0.58) 0%, rgba(6,6,6,0.28) 28%, rgba(6,6,6,0.08) 52%, rgba(6,6,6,0) 78%),
    linear-gradient(180deg, rgba(6,6,6,0.28) 0%, transparent 26%);
}
body.page-detail .section .wrap { position: relative; z-index: 1; }
body.page-detail .section h2,
body.page-detail .prose,
body.page-detail .lead,
body.page-detail .spec {
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 18px rgba(0,0,0,0.75);
}
body.page-detail .prose { color: #f7f3ea; }
body.page-detail .prose p { color: #f7f3ea; }
body.page-detail .lead,
body.page-detail .lead a { color: #efe8dc; }
body.page-detail .spec {
  background: none;
  padding: 0.7rem 0;
  border: none;
  color: #f3ece0;
}
body.page-detail .footer { background: rgba(8, 8, 8, 0.55); }
body.bg-kite .section { background-image: url("../assets/bg-detail-kite.jpg?v=1"); }
body.bg-surf .section { background-image: url("../assets/bg-detail-surf.jpg?v=1"); }
body.bg-road .section { background-image: url("../assets/bg-detail-road.jpg?v=1"); }
body.bg-lagoon .section { background-image: url("../assets/bg-detail-lagoon.jpg?v=1"); }
body.page-sluzby .section {
  background-image: url("../assets/bg-sluzby.jpg?v=1");
  min-height: calc(100vh - 7rem);
}

.read-panel {
  max-width: 56rem;
  padding: 0.3rem 2rem 0.6rem 0;
  background: none;
}
.read-panel h2 { text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 16px rgba(0,0,0,0.7); }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.2rem;
  margin: 1.4rem 0 1.6rem;
}
.services-col h3 {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 14px rgba(0,0,0,0.7);
}
.services-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.services-col li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1.05rem;
  color: #f6f2ea;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 12px rgba(0,0,0,0.65);
}
.services-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  background: var(--oak);
}

.build-video { margin: 0 0 1.5rem; }
.build-video video {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  background: rgba(0,0,0,0.35);
}

.grid-3, .grid-4 { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .service {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.service { padding: 1.4rem; }
.service h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #f7f3ea;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.card p { margin: 0; color: #e6dfd2; font-size: 0.9rem; }
body.page-realizace .card {
  background: rgba(14, 14, 14, 0.88);
  border-color: rgba(255,255,255,0.14);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.7rem;
}
.gallery a { display: block; background: transparent; }
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.03); }

.prose { max-width: 46rem; color: #ddd8ce; }
.prose p { margin: 0 0 1rem; }
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.4rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.form {
  display: grid;
  gap: 0.8rem;
  max-width: 32rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: #fff;
  padding: 0.8rem 0.9rem;
  font: inherit;
}
.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-note {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.9rem;
  max-width: 32rem;
  font-size: 0.95rem;
}
.form-note.is-ok {
  color: #e8f0e4;
  background: rgba(90, 140, 70, 0.28);
  border-left: 3px solid #7aa35a;
}
.form-note.is-err {
  color: #f3e4e0;
  background: rgba(160, 70, 50, 0.28);
  border-left: 3px solid #c56a4a;
}
.hours {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 22rem;
  margin: 0 0 1.4rem;
  padding: 0.85rem 1.05rem 0.9rem 1rem;
  border-left: 3px solid var(--oak);
  background: linear-gradient(90deg, rgba(166,115,51,0.16) 0%, rgba(166,115,51,0.04) 70%, transparent 100%);
}
.hours-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 700;
}
.hours-main {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.hours-main strong {
  font-weight: 600;
  color: #f6f2ea;
}
.hours-time {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a:hover { color: var(--oak); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox img.is-zoomed { cursor: grab; }
.lightbox img.is-zoomed:active { cursor: grabbing; }
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
}
.lb-nav:hover { border-color: #fff; background: rgba(0,0,0,0.75); }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }
.lb-bar {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0.7rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  z-index: 3;
}
.lb-count { font-size: 0.9rem; color: var(--muted); min-width: 4.5rem; text-align: center; }
.lb-zoom {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  background: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.lb-zoom:hover { border-color: #fff; }

@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 0.4rem; }
  .lb-next { right: 0.4rem; }
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.split img { width: 100%; height: 360px; object-fit: cover; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #111;
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav.is-open { display: flex; }
  .grid-3, .grid-4, .contact-grid, .spec, .split, .shot-grid, .services { grid-template-columns: 1fr; }
  .hero-stage { min-height: 560px; }
  .hero-stage-photo { object-position: 55% 45%; }
  .hero-stage::after {
    background:
      linear-gradient(90deg, rgba(12,12,12,0.9) 0%, rgba(12,12,12,0.55) 40%, transparent 75%),
      linear-gradient(180deg, rgba(12,12,12,0.4) 0%, transparent 22%);
  }
  .hero-copy { padding: 2.2rem 0 3.2rem; max-width: 30rem; }
  .hero-sub { white-space: normal; font-size: 0.98rem; }
  .shot-frame { height: 230px; }
  .about { padding: 3.8rem 0 4.2rem; }
}
