:root{
  --bg:#fffdf8;       /* světle krémové pozadí */
  --text:#2e2a24;     /* tmavě hnědo-šedý text */
  --muted:#7a7266;    /* utlumený text */

  --brand:#a76d3e;    /* měděná/terakota – hlavní barva */
  --brand-2:#7f4f2b;  /* tmavší odstín pro hover */
  --accent:#e7d4b5;   /* pískový akcent */

  --surface:#faf3e7;  /* světlé panely */
  --radius:12px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block}

a{color:var(--brand-2);text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1100px,92%);margin-inline:auto}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
}
.skip-link:focus{
  left:1rem;top:1rem;background:#000;color:#fff;
  padding:.5rem .75rem;border-radius:8px;z-index:1000;
}

.site-header{
  position:sticky;top:0;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid #e6e9ef;
  z-index:100;
}

.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:.75rem 0;
}

.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);font-weight:700}

.nav-toggle{display:none}

.nav-list{
  display:flex;gap:1rem;list-style:none;margin:0;padding:0;
}

.nav-list a{padding:.5rem .75rem;border-radius:8px}
.nav-list a:hover{
  background:var(--surface);
  text-decoration:none;
}

.btn{
  display:inline-block;
  padding:.7rem 1rem;
  border-radius:10px;
  font-weight:600;
  border:1px solid transparent;
}

.btn-primary{
  background:var(--brand);
  color:#fff;
}
.btn-primary:hover{
  background:var(--brand-2);
}

.btn-secondary{
  background:transparent;
  border-color:var(--brand);
  color:var(--brand);
}
.btn-secondary:hover{
  background:var(--surface);
}

.hero{
  background:linear-gradient(180deg, #f3e7d6 0%, var(--bg) 100%);
}

.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:2rem;align-items:center;
  padding:4rem 0;
}

.hero h1{
  font-family:Merriweather,serif;
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.2;
  margin:.2rem 0 .6rem;
}

.hero p{
  color:var(--muted);
  max-width:52ch;
}

.hero-cta{
  display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap;
}

.section{padding:3.5rem 0}
.section.alt{background:var(--surface)}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;align-items:start;
}

.card{
  background:#fff;
  border:1px solid #eadfce;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1rem;
}

.photo img{border-radius:10px}

.muted{color:var(--muted)}
.small{font-size:.9rem}

.feature-list{padding-left:1rem}
.feature-list li{margin:.25rem 0}

.schedule{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.schedule-item{
  background:#fff;
  border:1px solid #eadfce;
  border-radius:var(--radius);
  padding:1rem;
}

.news{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
}
.news-item{
  background:#fff;
  border:1px solid #eadfce;
  border-radius:var(--radius);
  padding:1rem;
}
.news-date{display:inline-block;margin-bottom:.25rem;color:#7a7266;font-size:.9rem}
.text-link{color:var(--brand)}

.form label{
  display:block;margin:.6rem 0 .25rem;font-weight:600;
}
.form input,.form textarea{
  width:100%;
  padding:.7rem;
  border:1px solid #cfc6b9;
  border-radius:10px;
}
.form button{margin-top:.75rem}

.site-footer{
  border-top:1px solid #eadfce;
  background:#fff;
}

.footer-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1.25rem 0;
}
.footer-inner nav{display:flex;gap:1rem}

@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr;padding:2.5rem 0}
  .grid-2{grid-template-columns:1fr}
  .schedule{grid-template-columns:1fr 1fr}
  .news{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .nav-toggle{
    display:inline-flex;align-items:center;gap:.5rem;
    border:1px solid #cfc6b9;
    background:#fff;
    border-radius:10px;
    padding:.4rem .6rem;
  }
  .nav-list{
    display:none;
    position:absolute;
    right:1rem;
    top:3.2rem;
    background:#fff;
    border:1px solid #eadfce;
    border-radius:10px;
    box-shadow:var(--shadow);
    padding:.5rem;
    flex-direction:column;
  }
  .nav-list.open{display:flex}
  .schedule{grid-template-columns:1fr}
}
.hero h1{
  white-space: nowrap;
  font-size: clamp(1.6rem, 3vw, 3rem);
}
/* Podpis autora webu */
.creator{
  text-align:center;
  font-size:.85rem;
  color:#9a8f82;
  margin-top:.5rem;
}
/* Galerie – záložky */
.tabs{ margin-top: 1rem; }

.tabs-nav{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin: 1rem 0 1.2rem;
}

.tab-btn{
  appearance:none;
  border:1px solid #eadfce;
  background:#fff;
  border-radius:999px;
  padding:.55rem .9rem;
  font-weight:700;
  cursor:pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

.tab-btn:hover{
  background: rgba(167,109,62,.08);
  transform: translateY(-1px);
  border-color: rgba(167,109,62,.35);
}

.tab-btn.is-active{
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
}

.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }
/* ===== LIGHTBOX ===== */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:2rem;
}

.lightbox.active{
  display:flex;
}

.lightbox-img{
  max-width:95%;
  max-height:90%;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close{
  position:absolute;
  top:25px;
  right:35px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
  font-weight:bold;
  transition:.2s;
}

.lightbox-close:hover{
  transform:scale(1.2);
}
/* Galerie – mřížka fotek */
.gallery{
  margin-top: 1rem;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
}

.gallery-item{
  display:block;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid #eadfce;
  box-shadow: var(--shadow);
  background:#fff;
}

.gallery-item img{
  width:100%;
  height:190px;
  object-fit:cover;
  transition: transform .25s ease;
}

.gallery-item:hover img{
  transform: scale(1.03);
}

@media (max-width: 900px){
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .gallery-item img{ height:200px; }
}

@media (max-width: 520px){
  .gallery{ grid-template-columns:1fr; }
  .gallery-item img{ height:220px; }
}