:root{
  /* KONTAKT V HLAVIČCE */
  --contact-email-size:18px;
  --contact-phone-size:22px;
  --contact-color:#2f7a33;
  --contact-gap:22px;
  --contact-weight:700;

  /* MENU */
  --menu-font-size:16px;
  --menu-color:#2f7a33;
  --menu-weight:700;

  /* OBECNÉ */
  --hero-gap:40px;
  --content-width:1600px;

  --hero-pad-top:80px;
  --hero-h1-size:42px;
  --hero-p-size:18px;

  --subhero-h2-size:28px;
  --subhero-p-size:18px;
}

*{ box-sizing:border-box; }

  html{
    scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: Arial, sans-serif;
  background:#ffffff;
  color:#1f2a1f;
}

/* HEADER */

.header{
  padding:8px 24px;
  min-height:64px;
  display:flex;
  align-items:center;
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
}

.logo{
  height:56px;
  width:auto;
  display:block;
}

/* KONTAKT – přesně na střed */

.header-contact{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:var(--contact-gap);
  white-space:nowrap;
}

.header-contact a{
  text-decoration:none;
  color:var(--contact-color);
  font-weight:var(--contact-weight);
}

.header-contact .email{ font-size:var(--contact-email-size); }
.header-contact .phone{ font-size:var(--contact-phone-size); }

/* MENU vpravo */

nav{
  margin-left:auto;
  display:flex;
  align-items:center;
}

nav a{
  margin-left:22px;
  text-decoration:none;
  color:var(--menu-color);
  font-weight:var(--menu-weight);
  font-size:var(--menu-font-size);
}

.btn{
  background:#2f7a33;
  color:white;
  padding:10px 16px;
  border-radius:20px;
}

/* HERO */

.hero{
  width:100%;
  height:320px;
  background:url("assets/hero.jpg") center/cover no-repeat;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  padding-top:var(--hero-pad-top);
  color:white;
  text-align:center;
  padding-left:12px;
  padding-right:12px;
  position:relative;
  border-radius:0;
}

.hero h1{
  font-size:var(--hero-h1-size);
  margin:0;
  text-shadow:0 3px 10px rgba(0,0,0,0.7);
}

.hero p{
  font-size:var(--hero-p-size);
  margin-top:10px;
  text-shadow:0 2px 8px rgba(0,0,0,0.7);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.25));
  border-radius:0;
}

.hero h1,
.hero p{
  position:relative;
}

/* SUBHERO */

.subhero{
  max-width:var(--content-width);
  margin:var(--hero-gap) auto 0 auto;
  padding:0 24px;
}

.subhero-inner{
  background:#ffffff;
  border-radius:14px;
  padding:20px 22px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.subhero h2{
  margin:0 0 10px 0;
  font-size:var(--subhero-h2-size);
  color:#1f3a22;
}

.subhero p{
  margin:0;
  font-size:var(--subhero-p-size);
  color:#3a4a3a;
  line-height:1.45;
}

.subhero-link{
  margin-left:8px;
  text-decoration:none;
  font-weight:700;
  color:#2f7a33;
  white-space:nowrap;
}

/* INTRO */

.intro{
  max-width:var(--content-width);
  margin:var(--hero-gap) auto 0 auto;
  padding:0 24px;
}

.intro h1{
  margin:0;
  font-size:24px;
}

.intro-sub{
    margin-left:10px;
    font-size:16px;
    font-weight:400;
    color:#666;
}

/* GALERIE */

.gallery{
  max-width:var(--content-width);
  margin:0 auto;
  padding:20px 24px 40px 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.video{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:12px;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
  content-visibility:auto;
  contain-intrinsic-size:300px;
}

.video:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(0,0,0,0.12);
}

.video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* SECTIONS */

.section{
  max-width:var(--content-width);
  margin:40px auto 0 auto;
  padding:0 24px 0 24px;
}

.section-inner{
  background:#ffffff;
  border-radius:14px;
  padding:22px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.section h2{
  margin:0 0 14px 0;
  font-size:26px;
  color:#1f3a22;
}

.plain{
  margin:0;
  color:#3a4a3a;
  line-height:1.5;
  font-size:18px;
}

.contact-link{
  text-decoration:none;
  color:#2f7a33;
  font-weight:700;
}

/* Bullets */

.bullets{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.bullet{
  background:#f6f8f3;
  border-radius:12px;
  padding:14px;
}

.bullet-title{
  font-weight:800;
  color:#1f3a22;
  margin-bottom:6px;
}

.bullet-text{
  color:#3a4a3a;
  line-height:1.4;
}

/* FOOTER */

.footer{
  margin-top:30px;
  padding:30px;
  text-align:center;
  background:#e8eee0;
}

/* MOBIL */

@media (max-width:700px){
  .header{
    flex-wrap:wrap;
    justify-content:center;
    padding:8px 14px;
    
  .header-contact .phone{
  background:#2f7a33;
  color:#fff !important;
  padding:6px 12px;
  border-radius:16px;
  
  .header-contact .email{
  padding:6px 10px;
}

}
  }

  .header-contact{
    position:static;
    transform:none;
    margin-top:6px;
  }

  nav{
    width:100%;
    justify-content:center;
    margin-top:6px;
    flex-wrap:wrap;
  }

  .hero{
    height:220px;
    padding-top:50px;
  }

  .hero h1{ font-size:28px; }
  .hero p{ font-size:16px; }

  .gallery{
    grid-template-columns:1fr;
    padding:0 14px 30px 14px;
  }

  .bullets{
    grid-template-columns:1fr;
  }

  .section{
    padding:20px 14px 0 14px;
  }
}

.gallery-more{
  max-width:var(--content-width);
  margin:0 auto 40px auto;
  padding:0 24px;
  text-align:center;
}

.btn-more{
  background:#2f7a33;
  color:#fff;
  border:0;
  padding:12px 18px;
  border-radius:22px;
  font-weight:700;
  cursor:pointer;
}

.btn-more:hover{
  filter:brightness(0.95);
}

/* CTA */

.cta{
  max-width:var(--content-width);
  margin:40px auto 40px auto;
  padding:0 24px;
}

.cta-inner{
  background:#ffffff;
  border-radius:14px;
  padding:28px 22px;
  box-shadow:0 8px 22px rgba(0,0,0,0.08);
  text-align:center;
}

.cta h2{
  margin:0 0 8px 0;
  font-size:28px;
  color:#1f3a22;
}

.cta p{
  margin:0 0 16px 0;
  color:#3a4a3a;
  font-size:18px;
}

.cta-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.cta-btn{
  background:#2f7a33;
  color:#fff;
  padding:12px 20px;
  border-radius:24px;
  text-decoration:none;
  font-weight:700;
  transition:transform .12s ease, box-shadow .12s ease;
}

.cta-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,0.14);
}

.cta-link{
  color:#2f7a33;
  text-decoration:none;
  font-weight:700;
}

#header-placeholder{
  min-height:72px;
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

.video.is-new{
  animation:fadeUp .22s ease;
}

section{
  scroll-margin-top:90px;
}