:root {
  --color-bg: #f0e9df;
  --color-bg-soft: #e7ddd0;
  --color-surface: rgba(255, 250, 245, 0.62);
  --color-surface-border: rgba(255, 255, 255, 0.45);
  --color-text: #2f241d;
  --color-muted: #5f5147;
  --color-brand: #5c3a23;
  --color-brand-2: #8b5e3d;
  --color-highlight: #d6b28a;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow-card: 0 10px 30px rgba(48, 32, 22, 0.14);
  --shadow-soft: 0 4px 12px rgba(53, 33, 19, 0.1);
  --nav-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.65), transparent 32%),
    radial-gradient(circle at 85% 30%, rgba(214, 178, 138, 0.16), transparent 38%),
    linear-gradient(180deg, #f3ece3 0%, var(--color-bg) 45%, #ebe1d5 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: relative;
  z-index: 40;
}

main,
.site-footer {
  position: relative;
  z-index: 10;
}

.nature-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.nature-scene__mountains,
.nature-scene__ridge,
.nature-scene__pines,
.nature-scene__gentian,
.nature-scene__gentian-sprig,
.nature-scene__topo {
  position: absolute;
  background-repeat: no-repeat;
}

.nature-scene__mountains {
  left: 0;
  right: 0;
  bottom: 0;
  height: min(32vh, 260px);
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/mountains.svg");
  background-position: center bottom;
  background-size: 120% auto;
  opacity: 0.28;
  animation: mountainDrift 85s linear infinite alternate;
}

.nature-scene__pines {
  left: -8%;
  right: -8%;
  bottom: 0;
  height: min(22vh, 160px);
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/pine-band.svg");
  background-position: center bottom;
  background-size: 60% auto;
  opacity: 0.25;
  animation: pineDrift 42s ease-in-out infinite alternate;
}

.nature-scene__ridge {
  left: -4%;
  right: -4%;
  bottom: 110px;
  height: 180px;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/ridge-line.svg");
  background-position: center bottom;
  background-size: 115% auto;
  opacity: 0.25;
  animation: ridgeDrift 56s ease-in-out infinite alternate;
}

.nature-scene__gentian {
  width: clamp(160px, 18vw, 260px);
  height: clamp(160px, 18vw, 260px);
  right: max(2vw, 1rem);
  top: 22vh;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/gentian.svg");
  background-size: contain;
  background-position: center;
  opacity: 0.2;
  animation: gentianFloat 17s ease-in-out infinite;
}

.nature-scene__gentian-sprig {
  width: clamp(170px, 20vw, 270px);
  height: clamp(170px, 20vw, 270px);
  left: max(1vw, 0.5rem);
  bottom: 14vh;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/gentian-sprig.svg");
  background-size: contain;
  background-position: center;
  opacity: 0.18;
  animation: sprigFloat 24s ease-in-out infinite;
}

.nature-scene__topo {
  width: min(44vw, 620px);
  height: min(44vw, 620px);
  top: 14vh;
  left: -4vw;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/topo-lines.svg");
  background-size: contain;
  background-position: center;
  opacity: 0.26;
  animation: topoShift 74s linear infinite alternate;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-title {
  font-family: "Playfair Display", serif;
  color: #2f1f13;
}

p {
  color: var(--color-muted);
}

a {
  color: var(--color-brand);
}

a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 3px solid #8ab2d8;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -120px;
  z-index: 9999;
  background: #fff;
  color: #111;
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.section-space {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2rem;
  position: relative;
}

.section-head h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.4rem);
  margin-bottom: 0;
}

.section-head::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 142, 194, 0.2), rgba(111, 142, 194, 0.85), rgba(111, 142, 194, 0.2));
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-brand-2);
  font-size: 0.82rem;
}

.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  min-height: var(--nav-height);
  background: rgba(94, 68, 49, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

.glass-nav.is-scrolled {
  background: rgba(74, 53, 38, 0.85);
  box-shadow: 0 10px 24px rgba(33, 20, 12, 0.2);
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand-title {
  color: #fff6ef;
  font-size: 1.3rem;
}

.brand-subtitle {
  color: #e5d4c5;
  font-size: 0.84rem;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: #f5ece4;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.46rem 0.8rem !important;
  position: relative;
  text-decoration: none;
  transition: color 0.22s ease, background-color 0.22s ease;
}

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

.navbar-nav .nav-item {
  margin-inline: 0.35rem;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  background: linear-gradient(130deg, #7d5335, #5d3b24);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background: linear-gradient(130deg, #8e6344, #69442c);
  color: #fff;
}

.btn-outline-brand {
  border: 1px solid rgba(92, 58, 35, 0.65);
  color: var(--color-brand);
  background: rgba(255, 255, 255, 0.45);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  color: #3d2516;
}

.hero-section {
  padding-top: calc(var(--nav-height) + 2.5rem);
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(60, 44, 31, 0.34), rgba(60, 44, 31, 0.08) 45%, rgba(60, 44, 31, 0.24)),
    radial-gradient(circle at 78% 18%, rgba(255, 245, 225, 0.3), rgba(255, 245, 225, 0) 44%),
    url("../themes/jagu-benecko-131/assets/images/motifs/hero-landscape.svg") center / cover no-repeat;
  opacity: 0.82;
  filter: saturate(1.06) contrast(1.02);
}

.hero-motifs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-motifs__ridge,
.hero-motifs__gentian,
.hero-motifs__topo {
  position: absolute;
  background-repeat: no-repeat;
}

.hero-motifs__ridge {
  left: -6%;
  right: -6%;
  bottom: 2%;
  height: 180px;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/ridge-line.svg");
  background-position: center bottom;
  background-size: 118% auto;
  opacity: 0.34;
  animation: ridgeDrift 48s ease-in-out infinite alternate;
}

.hero-motifs__gentian {
  width: clamp(150px, 16vw, 240px);
  height: clamp(150px, 16vw, 240px);
  right: 2.5%;
  top: 16%;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/gentian.svg");
  background-size: contain;
  background-position: center;
  opacity: 0.28;
  animation: gentianFloat 15s ease-in-out infinite;
}

.hero-motifs__topo {
  width: min(34vw, 470px);
  height: min(34vw, 470px);
  left: -4%;
  top: 10%;
  background-image: url("../themes/jagu-benecko-131/assets/images/motifs/topo-lines.svg");
  background-size: contain;
  background-position: center;
  opacity: 0.26;
  animation: topoShift 62s linear infinite alternate;
}

.hero-scroll-hint {
  margin: 2rem auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.92;
  text-shadow: 0 2px 10px rgba(26, 16, 9, 0.45);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero-scroll-hint i {
  font-size: 1.2rem;
  animation: bounceHint 1.8s ease-in-out infinite;
}

.hero-scroll-hint:hover {
  transform: translateY(2px);
  opacity: 1;
}

.glass-card,
.content-card,
.trip-card,
.gallery-item,
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.glass-card {
  position: relative;
  z-index: 2;
}

.glass-card::before,
.content-card::before,
.trip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0.45;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.42);
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: min(520px, 62vw);
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 992px) {
  .hero-section .col-lg-5 {
    display: flex;
  }

  .hero-section .hero-image-wrap {
    width: 100%;
  }

  .hero-section .hero-image {
    height: 100%;
    min-height: 100%;
  }
}

.content-card {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  position: relative;
}

.content-card:hover,
.trip-card:hover,
.gallery-item:hover,
.accordion-item:hover,
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(48, 32, 22, 0.17);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #4a3a2f;
  font-weight: 600;
  font-size: 0.93rem;
}

.hero-trust-list i {
  color: #5f7d64;
}

.equal-card-row {
  align-items: stretch !important;
}

.equal-card-row > [class*="col-"] {
  display: flex;
}

.equal-card-row .content-card,
.equal-card-row .trip-card,
.equal-card-row .gallery-item,
.equal-card-row .glass-card {
  width: 100%;
  height: 100%;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.check-list i {
  color: #587746;
  margin-top: 0.3rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, rgba(50, 31, 18, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.table-brand {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.table-brand thead th {
  background: rgba(92, 58, 35, 0.85);
  color: #fff;
}

.table-brand > :not(caption) > * > * {
  border-color: rgba(90, 62, 38, 0.28);
}

.trip-card {
  overflow: hidden;
  position: relative;
}

.trip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.trip-card-body {
  padding: 1rem;
}

.trip-card h3 {
  margin-bottom: 0.45rem;
}

.trip-card p {
  margin-bottom: 0;
}

.accordion-brand {
  max-width: 860px;
  --bs-accordion-border-radius: var(--radius-md);
  --bs-accordion-inner-border-radius: var(--radius-md);
}

.accordion-brand .accordion-button {
  font-weight: 700;
  color: var(--color-text);
  background: transparent;
}

.accordion-brand .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.35);
  color: var(--color-brand);
  box-shadow: none;
}

.accordion-brand .accordion-item {
  margin-bottom: 0.8rem;
}

.accordion-brand .accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-brand .accordion-item,
.accordion-brand .accordion-item:first-of-type,
.accordion-brand .accordion-item:last-of-type,
.accordion-brand .accordion-item .accordion-button,
.accordion-brand .accordion-item .accordion-button.collapsed,
.accordion-brand .accordion-item:first-of-type .accordion-button,
.accordion-brand .accordion-item:last-of-type .accordion-button.collapsed {
  border-radius: var(--radius-md) !important;
}

.contact-list li {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.contact-list i {
  color: var(--color-brand-2);
}

.site-footer {
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  color: #f3e9de;
  background:
    linear-gradient(180deg, rgba(77, 55, 39, 0.95), rgba(62, 43, 30, 0.96)),
    url("../themes/jagu-benecko-131/assets/images/pattern.jpg") center / cover;
}

.site-footer p,
.site-footer a,
.site-footer h2 {
  color: #f8ede2;
}

.footer-title {
  margin-bottom: 0.8rem;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a,
.back-to-top,
.site-footer ul a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.back-to-top:hover,
.site-footer ul a:hover {
  border-bottom-color: rgba(248, 237, 226, 0.6);
}

.jagu-link {
  color: #f8ede2;
  text-decoration: none;
}

.jagu-link:hover {
  color: #ffffff;
}

.jagulogo-jagu-line:before {
  font-size: 150%;
  margin: 0 5px;
  top: 5px;
  position: relative;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

@media (max-width: 991.98px) {
  :root {
    --nav-height: 76px;
  }

  .navbar-collapse {
    background: rgba(59, 41, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0.75rem;
    padding: 0.7rem;
    border-radius: var(--radius-md);
  }

  .hero-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .hero-image {
    height: 100%;
    object-position: center 30%;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 4rem);
  }

  .hero-motifs__ridge {
    height: 120px;
    background-size: 170% auto;
    opacity: 0.28;
  }

  .hero-motifs__gentian {
    width: 170px;
    height: 170px;
    right: 1%;
    top: 20%;
    opacity: 0.18;
  }

  .hero-motifs__topo {
    width: 56vw;
    height: 56vw;
    left: -16vw;
    opacity: 0.2;
  }

  .trip-card img {
    height: 210px;
  }

  .navbar-nav .nav-item {
    margin-inline: 0;
    margin-bottom: 0.2rem;
  }

  .nav-link::after {
    display: none;
  }

  .nature-scene__mountains {
    height: 180px;
    background-size: 165% auto;
  }

  .nature-scene__ridge {
    height: 120px;
    bottom: 88px;
    background-size: 160% auto;
  }

  .nature-scene__pines {
    height: 120px;
    background-size: 95% auto;
  }

  .nature-scene__gentian {
    opacity: 0.12;
    top: 30vh;
  }

  .nature-scene__gentian-sprig {
    opacity: 0.13;
    left: -2vw;
  }

  .nature-scene__topo {
    width: 56vw;
    height: 56vw;
    top: 18vh;
    opacity: 0.2;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 3rem 0;
  }

  .hero-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .hero-image {
    height: 100%;
  }

  .hero-trust-list {
    gap: 0.5rem;
  }

  .hero-trust-list li {
    font-size: 0.84rem;
  }

  .hero-scroll-hint {
    margin-top: 1.3rem;
    font-size: 0.92rem;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 4.5rem);
  }

  .hero-motifs__gentian {
    display: none;
  }

  .hero-motifs__ridge {
    height: 90px;
    background-size: 220% auto;
    opacity: 0.22;
  }

  .hero-motifs__topo {
    width: 80vw;
    height: 80vw;
    left: -24vw;
    opacity: 0.15;
  }

  .trip-card img {
    height: 190px;
  }

  .nature-scene__mountains,
  .nature-scene__ridge,
  .nature-scene__pines {
    opacity: 0.18;
  }

  .nature-scene__gentian,
  .nature-scene__gentian-sprig {
    display: none;
  }

  .nature-scene__topo {
    width: 82vw;
    height: 82vw;
    top: 24vh;
    left: -24vw;
    opacity: 0.16;
  }
}

@keyframes gentianFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(-3deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes mountainDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3%);
  }
}

@keyframes ridgeDrift {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(2.5%) translateY(4px);
  }
}

@keyframes pineDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(2%);
  }
}

@keyframes sprigFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes topoShift {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(16px) translateY(-10px);
  }
}

@keyframes bounceHint {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
