    :root {
      --green-700: #1b5e20;
      --green-500: #2e7d32;
      --green-100: #e8f5e9;
      --blue-600: #1565c0;
      --gray-900: #1f2937;
      --gray-700: #374151;
      --gray-500: #6b7280;
      --gray-300: #d1d5db;
      --white: #ffffff;
      --maxw: 1100px;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--gray-900); background: var(--white); }
    a { color: var(--blue-600); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* Header */
    .topbar {
      background: linear-gradient(90deg, var(--green-700), var(--green-500));
      color: var(--white);
    }
    .topbar-inner {
      max-width: var(--maxw);
      margin: 0 auto;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      letter-spacing: 0.2px;
    }
    .brand .logo {
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--white);
      color: var(--green-700);
      display: grid; place-items: center;
      font-weight: 700;
    }
    .brand .title { font-size: 18px; line-height: 1.2; }
    .brand .subtitle { font-size: 12px; opacity: 0.9; font-weight: 600; }

  
   .hero {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slideshow img.active {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--white);
}
.hero h1 { margin: 0 0 8px; font-size: 32px; }
.hero p { margin: 0; max-width: 700px; }

    /* Main */
    main { max-width: var(--maxw); margin: 0 auto; padding: 24px 20px 60px; }
    section.tab { display: none; }
    section.tab.active { display: block; }
    h2 { margin: 0 0 14px; font-size: 24px; }
    .card {
      border: 1px solid var(--gray-300);
      border-radius: 12px;
      padding: 16px;
      background: var(--white);
    }
    .grid {
      display: grid; gap: 16px;
    }
    @media (min-width: 700px) {
      .grid.cols-2 { grid-template-columns: 1fr 1fr; }
      .grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
    }
    .list { margin: 10px 0 0; padding: 0 0 0 18px; }
    .pill {
      display: inline-block; padding: 4px 8px; border-radius: 999px;
      background: var(--green-100); color: var(--green-700); font-weight: 600; font-size: 12px;
      border: 1px solid #cfead1;
    }
    .muted { color: var(--gray-500); }
    .cta {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--green-700); color: var(--white);
      padding: 10px 14px; border-radius: 10px; font-weight: 600;
      border: none; cursor: pointer;
    }
    .cta.secondary { background: var(--green-100); color: var(--green-700); border: 1px solid #cfead1; }

    /* Footer */
    footer {
      border-top: 1px solid var(--gray-300);
      background: #fafafa;
    }
    .footer-inner {
      max-width: var(--maxw); margin: 0 auto; padding: 20px;
      display: grid; gap: 12px;
    }
    .small { font-size: 12px; color: var(--gray-500); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cta {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cta:hover {
  background: var(--green-500);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--white);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

 
}
.section-title {
  font-size: 28px;
  color: #2E8B57;
  margin-bottom: 20px;
  border-bottom: 2px solid #2E8B57;
  padding-bottom: 6px;
}

.card-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 12px;
  font-weight: bold;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
}

.event-list li:last-child {
  border-bottom: none;
}

.event-list .date {
  font-weight: bold;
  color: #2E8B57;
  margin-right: 8px;
}

.event-list em {
  color: #666;
  font-style: italic;
}

.event-list strong {
  color: #333;
}

.year-tabs {
  margin-bottom: 20px;
}

.year-tab {
  background: #eee;
  border: none;
  padding: 8px 16px;
  margin-right: 8px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

.year-tab.active {
  background: #1C5E3C;
  color: #fff;
}

.year-content {
  display: none;
}

.year-content.active {
  display: block;
}

.gallery img {
    width: 150px; /* velikost miniatury */
    cursor: pointer;
    margin: 5px;
    border-radius: 4px;
    transition: transform 0.2s;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px #000;
    border-radius: 6px;
  }

 body {
      background-color: #f0f5e9; /* světle zelená */
      margin: 0;
      font-family: Arial, sans-serif;
    }

 
/* Obecný styl pro sekci kontaktů */
#kontakty {
  background: linear-gradient(to bottom, #e0f7fa, #ffffff);
  padding: 2rem;
  border-radius: 8px;
}

/* Karta kontaktu */
.contact-card {
  background: #f0fff4; /* jemně zelená jako příroda */
  border: 1px solid #a3d9a5;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-card h3, 
.contact-card h4 {
  margin-top: 0;
  color: #2e7d32; /* tmavě zelená */
}

/* Hlavní kontakt zvýrazněný modře jako voda */
.main-contact {
  background: #e3f2fd;
  border: 2px solid #2196f3;
}

/* Seznam pozic */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* Ikony a text */
.contact-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Kontejner navigace */
.nav {
  display: flex;
  flex-wrap: wrap;          /* povolí zalamování do dalšího řádku */
  gap: 0.5rem;              /* mezery mezi prvky */
  justify-content: center;  /* zarovnání na střed */
  margin-top: 1rem;
}

/* Styl tlačítek a odkazů */
.nav button,
.nav a {
  padding: 0.5rem 1rem;
  border: none;
  background: #e0f7fa;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  color: #2c3e50;
}

.nav button.active {
  background: #1C5E3C;
  color: #fff;
}

.nav a.cta.secondary {
  background: #4caf50;
  color: #fff;
}

.card {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Oznámení – neutrální */
.card.oznameni {
  background-color: #f9f9f9;
  border-left: 4px solid #2196f3; /* modrá */
}

/* Pozvánka – pozitivní */
.card.pozvanka {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50; /* zelená */
}

/* Zákaz – varovná */
.card.zakaz {
  background-color: #ffebee;
  border-left: 4px solid #f44336; /* červená */
}

/* Black */
.card.black {
  background-color: #FFFFFF;
  border-left: 4px solid #000000; /* červená */
}

/* Styl pro pill */
.pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  background: #ddd;
}
/* Základní pill */
.pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
}

/* Barevné varianty pill */
.pill-oznameni {
  background: #2196f3; /* modrá */
}

.pill-pozvanka {
  background: #4caf50; /* zelená */
}

.pill-zakaz {
  background: #f44336; /* červená */
}

.pill-black {
  background: #000000; /* černá */
}


/* Základní styl pro desktop */
.topbar {
  background: #2E8B57;
  border-bottom: 1px solid #ddd;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}



/* Hamburger tlačítko defaultně skryté */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
}


@media (max-width: 768px) {
  .nav {
    display: none;              /* menu skryté */
    flex-direction: column;     /* po otevření bude vertikální */
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav.open {
    display: flex;              /* zobrazí se po kliknutí */
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
  }

  .nav button,
  .nav a {
    width: 100%;
    text-align: center;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: slideDown 0.4s ease, fadeIn 0.4s ease;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

@keyframes slideDown {
  from { transform: translateY(-30px); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery .photo img {
    width: 100%;
    height: 220px; /* můžeš upravit podle sebe */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.photo {
  position: relative;
  overflow: hidden;
}

.photo img {
  width: 100%;
  display: block;
  border-radius: 4px 4px 0 0;
}

.caption {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  font-size: 0.9rem;
  border-radius: 0 0 4px 4px;
}
