﻿:root {
  --sage-900: #5a6658;
  --sage-800: #768472;
  --sage-700: #909e8b;
  --sage-600: #a7b39f;
  --sage-200: #dce2d5;
  --ivory: #f1e8cf;
  --glass: rgba(144, 158, 139, 0.74);
  --glass-strong: rgba(144, 158, 139, 0.9);
  --heading-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --heading-dark: #253227;
  --heading-dark-2: #2f3d31;
  --heading-dark-3: #3b4c3d;
  }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--ivory);
  text-align: center;
  position: relative;
  background: var(--sage-800);
  --bg-shift: 0px;
}

body::before {
  content: "";
  position: fixed;
  inset: -140px;
  background-image: linear-gradient(rgba(40, 36, 30, 0.2), rgba(40, 36, 30, 0.34)), url("img/main-mobile.jpg");
  background-size: cover;
  background-position: center;
  filter: none;
  transform: translateY(var(--bg-shift));
  z-index: -2;
  transition: transform 0.15s linear;
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 40, 35, 0.14), rgba(34, 40, 35, 0.4));
  z-index: -1;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--glass-strong);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--ivory);
}

.topbar {
  background: rgba(68, 80, 66, 0.58);
  backdrop-filter: blur(8px) saturate(110%) brightness(0.75);
  height: 4.5rem;
  z-index: 1100;
  overflow: hidden;
  isolation: isolate;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 44, 37, 0.32);
  pointer-events: none;
}

.topbar-inner {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
}

.brand {
  text-decoration: none;
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.85rem;
}

.menu-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 1rem;
}

.menu-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.menu-list a {
  text-decoration: none;
  color: var(--ivory);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-list a:hover,
.menu-list a:focus-visible {
  background: transparent;
  color: var(--ivory);
}


main {
  padding-top: 4.5rem;
}

.hero {
  min-height: 92vh;
  padding: 2.4rem 0 1.6rem;
}

.panel {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 0;
  border-radius: 1.25rem;
  box-shadow: none;
}

.hero-content {
  max-width: 1080px;
  padding: 3.8rem 1.2rem 3rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--ivory);
  font-weight: 700;
}

.hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2.15rem, 8vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.hero-meta {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  color: var(--ivory);
}

.hero-names {
  font-family: var(--heading-font);
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff7df;
  text-shadow: 0 0.2rem 0.8rem rgba(24, 24, 24, 0.28);
}

h2,
.h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-wrap {
  padding: 0;
}

.section-panel {
  padding: 2rem 0;
  background: rgba(144, 158, 139, 0.64);
  backdrop-filter: none;
  color: var(--ivory);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.section-panel h2,
.section-panel .h3,
.section-panel .fw-semibold,
.section-panel strong {
  color: var(--ivory);
}

.section-panel h2,
.section-panel .h3 {
  text-align: center;
  font-weight: 700 !important;
  font-size: clamp(2.25rem, 4.7vw, 3.25rem);
}
#kdy-a-kde .h3,
#dary .h3 {
  color: var(--ivory);
}

#harmonogram .h3,
#rozvoz-hostu .h3 {
  color: var(--ivory);
}

#podrobnosti .h3 {
  color: var(--ivory);
}

#rozvoz-hostu .h3,
#dary .h3 {
  font-size: clamp(2rem, 4.2vw, 2.85rem) !important;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.35rem;
  vertical-align: -0.08em;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  color: currentColor;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78em;
  line-height: 1;
}

.icon-map::before {
  content: "+";
  font-weight: 700;
}

.icon-time::before {
  content: "•";
  font-size: 1.2em;
}

.icon-drive::before {
  content: "›";
  font-weight: 700;
}

.icon-info::before {
  content: "i";
  font-weight: 700;
}

.icon-gift::before {
  content: "*";
  font-weight: 700;
}

.btn-sage {
  background: var(--ivory);
  color: var(--sage-900);
  border: 1px solid var(--ivory);
}

.btn-sage:hover,
.btn-sage:focus-visible {
  background: #f8f2df;
  border-color: #f8f2df;
  color: #4f5b4d;
}

.map-frame {
  border-radius: 0;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
  margin: 0;
  background: transparent;
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: block;
  background: transparent;
}

#kdy-a-kde .map-col {
  padding-left: 0;
  padding-right: 0;
}

#kdy-a-kde .when-where-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 1rem;
}

#kdy-a-kde .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991.98px) {
  #kdy-a-kde .when-where-text {
    padding: 1rem 1rem 1.15rem;
    align-items: center;
    text-align: center;
  }

  #kdy-a-kde .when-where-text .h3 {
    text-align: center;
  }
}

.timeline {
  max-width: 42rem;
  margin: 0 auto;
  display: inline-block;
  padding-left: 1.45rem;
  border-left: 2px solid rgba(241, 232, 207, 0.45);
  text-align: left;
}

.timeline-item {
  position: relative;
  text-align: left;
}

#harmonogram .timeline .fw-semibold {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700 !important;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ivory);
  border-radius: 50%;
  border: 2px solid rgba(118, 132, 114, 0.9);
  transform: none;
}

.section-muted {
  color: rgba(241, 232, 207, 0.95);
  font-size: 1.3rem;
  line-height: 1.62;
}

.details-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.details-card {
  background: transparent;
  border: 0;
  border-left: 0;
  border-radius: 0;
  padding: 1rem 1rem 1rem 1.1rem;
  color: var(--ivory);
  font-size: 1.3rem;
  line-height: 1.62;
}

.details-card .h6 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 1.4rem;
  justify-items: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.color-dot {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.52);
  flex: 0 0 auto;
}

.section-panel p,
.section-panel li,
.section-panel .mb-0,
.section-panel .mb-2,
.section-panel .mb-3 {
  font-size: 1.3rem;
  line-height: 1.65;
}

.site-footer {
  padding: 1.45rem 0 1.7rem;
  color: #f1e8cf;
  text-align: center;
}

.site-footer a {
  color: #f1e8cf;
}

section {
  scroll-margin-top: 0;
}

@media (min-width: 768px) {
  body::before {
    background-image: linear-gradient(rgba(40, 36, 30, 0.2), rgba(40, 36, 30, 0.34)), url("img/main-desktop.jpg");
  }

  .topbar-inner {
    gap: 1rem;
  }

  .brand {
    margin-left: 0.65rem;
  }

  .brand-logo {
    height: 3.05rem;
  }

  .menu-list {
    gap: 0.5rem;
  }

  .menu-scroll {
    margin-left: 0.65rem;
  }

  .hero {
    min-height: 98vh;
  }

  .hero-content {
    padding: 4.8rem 2.6rem 3.6rem;
  }

  .section-wrap {
    padding: 0;
  }

  .section-panel {
    padding: 2.5rem 0;
  }

}

@media (min-width: 992px) {
  .topbar-inner {
    justify-content: center;
    gap: 1.75rem;
  }

  .brand {
    margin-left: 0.35rem;
  }

  .menu-scroll {
    flex: 0 1 auto;
    margin-left: 0;
    overflow-x: visible;
  }

  .menu-list {
    justify-content: center;
  }

  .hero-meta {
    font-size: 1.75rem;
  }

  .section-panel p,
  .section-panel li,
  .section-panel .mb-0,
  .section-panel .mb-2,
  .section-panel .mb-3,
  .section-muted,
  .details-card {
    font-size: 1.42rem;
    line-height: 1.68;
  }

  .color-dot {
    width: 2.6rem;
    height: 2.6rem;
  }

  #kdy-a-kde .section-panel {
    padding: 0;
  }

  #kdy-a-kde .when-where-row {
    min-height: 30rem;
    margin-left: 0;
    margin-right: 0;
  }

  #kdy-a-kde .when-where-text {
    padding: 1.75rem 2.75rem 2.5rem;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  #kdy-a-kde .when-where-text .h3 {
    width: 100%;
    text-align: center;
  }

  #kdy-a-kde .map-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    align-items: stretch;
    min-height: 30rem;
  }

  #kdy-a-kde .map-frame {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
    flex: 1 1 auto;
    margin-top: 0 !important;
  }

  #kdy-a-kde .map-frame iframe {
    min-height: 100%;
  }
}

@media (max-width: 767.98px) {
  body::before {
    background-image: linear-gradient(rgba(84, 70, 44, 0.16), rgba(84, 70, 44, 0.24)), image-set(url("img/main-mobile.jpg") 1x, url("img/main-desktop.jpg") 2x);
    filter: none;
    background-position: center 36%;
  }
}





