* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* aby menu nepřekrylo kotvy */
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* MENU */
.nav-toggle{
  display: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 18px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}

.brand-link {
  text-decoration: none;
  color: #222;
  font-weight: 700;
  font-size: 1.05rem;
}

.links a {
  text-decoration: none;
  color: #222;
  margin-left: 14px;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

/* Kontakt jako tlačítko */
.links .cta {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
}

.links .cta:hover {
  text-decoration: none;
  border-color: #bbb;
}

/* HERO – gradient nahoře 
.hero-gradient {
  min-height: 320px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 153, 153, 1) 0%,
    rgba(255, 100, 100, 1) 100%
  );
}*/

/* HERO */
.hero-canvas{
  min-height: 360px;
  height: auto;
  padding-top: 72px;   /* aby sticky menu nepřekrývalo hero */
  padding-bottom: 20px;
}

main {
  position: relative;
  z-index: 1;
}
/* CANVAS NA POZADÍ */
#canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* TEXT NAD CANVASEM */
.hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px;

  background: transparent;      /* důležité */
  backdrop-filter: none;        /* důležité */
}

.hero-box{
  background:rgba(255,82,82, 0.95); /*poslední číslo udavá procenta průhlednosti boxu*/
  padding: 18px 22px;
  border-radius: 16px;
  max-width: 720px;
  text-align: center;
}

.hero-content h1{
  font-family: "Chewy", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #000000;
  font-size: 4rem;
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* OBSAH */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}


.instagram-embed {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-photo{
  width: 160px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-box{
  background: var(--box-bg, rgba(255,255,255,0.95));
  padding: 32px 36px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

behold-widget{
  display: block;
  max-width: 420px;
  margin: 0 auto;
}
/* DVOUSLOUPCOVÝ LAYOUT V CONTENT BOXU */
.content-box.split{
  display: flex;
  align-items: stretch;
  gap: 32px;
}

/* FOTO */
.content-box .media{
  flex: 1.2;
  max-width: 45%;
  margin: -12px;
}

.content-box .media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}




/* TEXT */
.content-box h2{
   font-family: "Chewy", system-ui, -apple-system, "Segoe UI", sans-serif;
   letter-spacing: 1px;
}

.content-box .text{
  flex: 1;
  padding: 8px 0;
}

.content-box .text p{
  margin-bottom: 1.4em;
}

/* FOTO VPRAVO */
.content-box.split.right{
  flex-direction: row-reverse;
}

.content-image{
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 24px auto;
  border-radius: 18px;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery-grid img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
}

@media (max-width: 768px){
  .hero-content{
    flex-direction: column;
    height: auto;
  }

  .hero-photo{
    width: 140px;
    height: 140px;
  }

  .content-box{
    padding: 24px 22px;
    border-radius: 18px;
  }

  .content-box.split{
    flex-direction: column;
  }

  .content-box.split.right{
    flex-direction: column !important;
    align-items: stretch;
  }

  .content-box.split .media{
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .content-box.split .media img{
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .hero-content h1{
  font-size: 2.8rem;
  }

  .lightbox-arrow{
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

   .nav-toggle{
    display: inline-block;
  }

  .top-nav{
    flex-wrap: wrap;
    gap: 10px;
  }

  .links{
    width: 100%;
    display: none; /* skryté, dokud se neotevře */
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
  }

  .top-nav.open .links{
    display: flex;
  }

  .links a{
    margin-left: 0;
  }
}

/* ROZKLIKÁVACÍ GALERIE */
#lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: zoom-out;
}

#lightbox img{
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* hover efekt v galerii */
.gallery-item{
  transition: transform 0.2s ease;
}

.gallery-item:hover{
  transform: scale(1.03);
}

/* ŠIPKY V GALERII */
.lightbox-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.9);
  font-size: 54px;
  padding: 8px 14px;
  cursor: pointer;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, color 0.15s ease;
}

.lightbox-arrow:hover{
  transform: translateY(-50%) scale(1.08);
  color: rgba(255,255,255,1);
}

.lightbox-arrow.left{ left: 8px; }
.lightbox-arrow.right{ right: 8px; }
.footer{
  text-align: center;
  padding: 30px 16px;
  color: rgba(0,0,0,0.6);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}