:root {
  --bg: #050b0a;
  --bg-alt: #0c1716;
  --accent: #f3b34c;
  --accent-soft: rgba(243,179,76,0.15);
  --text: #f7f7f7;
  --muted: #cfd4d3;
  --border: #23312f;
  --danger: #e36b4c;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max-width: 1100px;
  --transition-fast: 0.2s ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #102724 0, #050b0a 50%, #030606 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & nav */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,11,10,0.95), rgba(5,11,10,0.75));
  border-bottom: 1px solid rgba(112,149,140,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(243,179,76,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: radial-gradient(circle at 20% 0, #f3b34c, #8b4b15);
  box-shadow: 0 0 12px rgba(243,179,76,0.45);
}

.logo span {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media (min-width: 880px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #f9d47e, #f3b34c, #c25b26);
  color: #160f05;
  box-shadow: 0 12px 28px rgba(243,179,76,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(243,179,76,0.5);
}

.btn-outline {
  border-color: rgba(243,179,76,0.6);
  background: rgba(5,11,10,0.7);
}

.btn-outline:hover {
  background: rgba(243,179,76,0.08);
  border-color: rgba(243,179,76,0.9);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

/* Hero */
.hero {
  position: relative;            /* kvůli absolutnímu canvasu */
  overflow: hidden;              /* částice nelezou mimo sekci */
  padding: 2.5rem 0 2.75rem;
  border-bottom: 1px solid rgba(112,149,140,0.16);
  background:
          radial-gradient(circle at top, rgba(27,83,73,0.85), transparent 55%),
          radial-gradient(circle at 60% 120%, rgba(109,76,65,0.68), transparent 55%);
}

@media (min-width: 880px) {
  .hero {
    padding: 3.25rem 0 3.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  background: rgba(5,11,10,0.7);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(112,149,140,0.4);
  margin-bottom: 1.1rem;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f3b34c, #c25b26);
  box-shadow: 0 0 12px rgba(243,179,76,0.7);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-title span {
  background: linear-gradient(120deg, #f9d47e, #f3b34c, #f0f0e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-subtitle strong {
  color: #f9d47e;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-note strong {
  color: #f9d47e;
  font-weight: 500;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(243,179,76,0.14), transparent 55%),
  radial-gradient(circle at 70% 140%, rgba(10,52,42,0.9), rgba(5,11,10,0.98));
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(112,149,140,0.45);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -5% -5%, rgba(255,255,255,0.16), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-badge {
  font-size: 0.74rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(243,179,76,0.6);
  background: rgba(5,11,10,0.7);
  color: #f9d47e;
}

.hero-card-main {
  position: relative;
  z-index: 1;
}

.hero-card-main h2 {
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
}

.hero-card-main p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
}

.hero-highlight {
  padding: 0.45rem 0.6rem;
  border-radius: 0.9rem;
  background: rgba(4,12,10,0.85);
  border: 1px solid rgba(112,149,140,0.5);
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-highlight strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
  color: #f9d47e;
}

/* Sections */
section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(112,149,140,0.16);
  background: radial-gradient(circle at top, rgba(1,6,6,0.7), transparent 65%);
}

@media (min-width: 880px) {
  section {
    padding: 3.2rem 0;
  }
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.6rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

.section-title span {
  color: #f9d47e;
}

.section-intro {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0;
}

/* Video section */
.video-section {
  background:
          radial-gradient(circle at top, rgba(9,40,34,0.9), transparent 65%),
          radial-gradient(circle at 80% 120%, rgba(112,75,55,0.7), transparent 55%);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 poměr */
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(112,149,140,0.6);
  box-shadow: 0 18px 45px rgba(0,0,0,0.75);
  background: radial-gradient(circle at top, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Two-column text */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 880px) {
  .grid-2 {
    grid-template-columns: 1.2fr 1fr;
  }
}

.card {
  background: rgba(4,10,9,0.95);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112,149,140,0.4);
  padding: 1.2rem 1.35rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.list-check li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.2rem;
}

.list-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-size: 1rem;
  color: var(--accent);
}

/* Columns / simple grid */
.columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .columns-3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (min-width: 700px) {
  .columns-2 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(112,149,140,0.5);
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.muted {
  color: var(--muted);
}

.accent {
  color: #f9d47e;
}

/* Team cards */
.team-card {
  background: rgba(3,9,8,0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112,149,140,0.45);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
}
.team-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(112,149,140,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.55);
  background: rgba(4,12,11,0.8); /* hezké i během načítání */
}

@media (max-width: 520px) {
  .team-photo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
}

.map-preview {
  max-width: 300px;
}

.map-preview a {
  position: relative;
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(112,149,140,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}

.map-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.map-preview a:hover img {
  transform: scale(1.05);
}

.map-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.7rem;
  text-align: center;
  background: linear-gradient(
          to top,
          rgba(0,0,0,0.7),
          rgba(0,0,0,0)
  );
  letter-spacing: 0.04em;
}

.research-flex {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.research-flex > div:first-child {
  flex: 1 1 50%;
}

.research-flex > div:last-child {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .research-flex {
    flex-direction: column;
    align-items: center;
  }

  .research-flex > div:last-child {
    margin-top: 1.25rem;
  }
}

.expedice-gallery {
  margin-top: 2rem;
}

.gallery-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.gallery-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Carousel wrapper */
.expedice-carousel {
  --gap: 16px;
  --cards: 3; /* desktop default */
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 10px 0;
  border: 1px solid rgba(112,149,140,0.22);
  background: rgba(4, 12, 11, 0.35);
}
.expedice-carousel {
  touch-action: pan-y;  /* dovolí swipe do stran + normální scroll nahoru/dolů */
  cursor: grab;
}

.expedice-carousel.is-dragging {
  cursor: grabbing;
}

.expedice-carousel.is-dragging .expedice-track {
  animation-play-state: paused;
}

/* jemné ztmavení okrajů (cinematic) */
.expedice-carousel::before,
.expedice-carousel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}

.expedice-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(3,10,9,0.85), rgba(3,10,9,0));
}

.expedice-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(3,10,9,0.85), rgba(3,10,9,0));
}

/* Track */
.expedice-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: expedice-drift 28s linear infinite;
}

/* Karty */
.expedice-card {
  flex: 0 0 calc((100% - (var(--gap) * (var(--cards) - 1))) / var(--cards));
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(27,83,73,0.55);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
  transform: translateZ(0);
  text-decoration: none;
  cursor: zoom-in;
}

/* jemný „liánový“ feeling – drobný tilt */
.expedice-card {
  transform: perspective(900px) rotateY(-6deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.expedice-card:hover {
  transform: perspective(900px) rotateY(0deg) scale(1.02);
  box-shadow: 0 22px 48px rgba(0,0,0,0.55);
}

/* lesk přes fotku (nenápadný) */
.expedice-card::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%);
  transform: rotate(12deg);
  opacity: 0.55;
  pointer-events: none;
}

.expedice-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: none;
  transform: scale(1.02);
}

/* Responsivita: 2 karty */
@media (max-width: 1000px) {
  .expedice-carousel { --cards: 2; }
  .expedice-card img { height: 210px; }
}

/* Mobil: 1 karta */
@media (max-width: 640px) {
  .expedice-carousel { --cards: 1; }
  .expedice-card img { height: 220px; }
}

/* Animace driftu: posun o šířku poloviny tracku (díky duplikaci) */
@keyframes expedice-drift {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* Pauza při hoveru / focusu (uživatelsky příjemné) */
.expedice-carousel:hover .expedice-track,
.expedice-carousel:focus-within .expedice-track {
  animation-play-state: paused;
}

/* Respekt pro reduced motion */
@media (prefers-reduced-motion: reduce) {
  .expedice-track { animation: none; }
}


.team-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Highlight boxes */
.highlight-box {
  background: rgba(7,23,21,0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112,149,140,0.6);
  padding: 0.8rem 1rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.highlight-box strong {
  color: #f9d47e;
  font-weight: 500;
}

/* FAQ / lists */
.bullet-list {
  padding-left: 1rem;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bullet-list li {
  margin-bottom: 0.3rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tag {
  font-size: 0.78rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(9,26,24,0.95);
  border: 1px solid rgba(112,149,140,0.7);
  color: var(--muted);
}

/* Stays */
.stay-card {
  background: rgba(3,9,8,0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112,149,140,0.45);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.stay-title {
  font-weight: 600;
  margin-bottom: 0.15rem;
  font-size: 0.97rem;
}

.stay-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.stay-footer {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Contact */
.contact-box {
  background: rgba(3,9,8,0.98);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(112,149,140,0.6);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.contact-box p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.contact-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 2fr 1.4fr;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.contact-field label {
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-field input,
.contact-field textarea {
  background: rgba(4,12,11,0.96);
  border-radius: 999px;
  border: 1px solid rgba(112,149,140,0.7);
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  font-family: var(--font-sans);
}

.contact-field textarea {
  border-radius: 14px;
  min-height: 110px;
  resize: vertical;
  line-height: 1.4;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(243,179,76,0.4);
}

.contact-side {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-side strong {
  color: #f9d47e;
}

/* Footer */
footer {
  padding: 1.5rem 0 1.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-top: 1px solid rgba(112,149,140,0.4);
  padding-top: 0.9rem;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 2rem;
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* obsah hero nad částicemi */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-trail,
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-trail {
  z-index: 0;
}

.hero-particles {
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.music-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.35rem 0.75rem;
  margin-right: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s, border-color 0.25s;
}

.music-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

