﻿:root {
  --nav-height: clamp(40px, 4vw, 64px);
}

main {
  position: relative;
  z-index: 0;
}

/* ============================= */
/* Reset + fullscreen layout     */
/* ============================= */

html {
  height: auto;
  overflow-y: scroll;
}

body {
  height: auto;
  overflow: visible;
  margin: 0;
  padding: 0;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.65;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
             Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: clamp(30px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: #012903;
}

h2 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #012903;
}
h3 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.onas-heading {
  text-align: center;
  width: 100%;
  display: block;
  color: #012903;
}


/* ============================= */
/* Logo                         */
/* ============================= */

.logo {
  position: fixed;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
}

.logo {
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 3.6s ease, transform 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.logo-ready .logo {
  opacity: 1;
  transform: scale(1);
}

.logo img {
  height: 80px;
  max-width: 90vw;
  object-fit: contain;
}

/* ============================= */
/* Parallax pozadí               */
/* ============================= */

.parallax-bg {
  position: fixed;
  inset: 0;
  background: url("areal.jpg") center/cover no-repeat;
  z-index: -3;
  transform: translateZ(0);
}

.page-night {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.2s ease;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.75) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.85));
}

.page-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
}

/* ============================= */
/* Hlavní vrstva                 */
/* ============================= */

.hero {
  height: 100dvh;
  position: relative;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero img {
  display: block;
}

.hero-logo {
  transform-origin: top center;
  position: absolute;
  will-change: transform;
  left: 50%;
  transform: translateX(-50%) scale(0.2);
  width: clamp(140px, 22vw, 260px);
  top: clamp(40px, 12vh, 160px);
  opacity: 0;
  z-index: 1;
  transition:
    opacity 3.6s ease,
    transform 3.6s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.4s ease;
}

.hero-logo.logo-ready {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ============================= */
/* DESKTOP – ovály               */
/* ============================= */

/* Wrapper = ovál – JEDINÁ DESKTOP DEFINICE */
.oval-wrapper {
  position: absolute;
  width: 340px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.oval-breath {
  width: 100%;
  height: 100%;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.oval {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oval-wrapper:hover {
  transform: rotate(1.5deg) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.oval-wrapper:hover .oval img {
  transform: scale(1.08);
  transition: transform 0.35s ease-out;
}


/* Noční režim */
body.night .oval-wrapper {
  filter: brightness(1.18) contrast(1.05);
  transform: translateY(-1px);
}

body.night .oval-label {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

body.night .logo img {
  filter: brightness(1.25);
}

/* Jemné dýchání oválů */


@keyframes breathe {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}

/* Při hoveru dýchání vypneme */
.oval-wrapper:hover .oval-breath {
  animation: none;
}

/* Ovál = klikací prvek */


/* Mikro-animace při hoveru */
.oval-wrapper:hover {
  transform: rotate(1.5deg) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.oval-wrapper:hover .oval img {
  transform: scale(1.08);
}



/* Hover zvětšení obsahu */
.oval:hover {
  transform: scale(1.12);
}

/* Obrázek v oválu */


/* Jemnější horní gradient */
.oval::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0) 30%
  );
}

/* Jemnější, níže posunutý lesk */
.oval::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 25%,
    rgba(255,255,255,0) 70%
  );
  mix-blend-mode: screen;
}

/* ============================= */
/* Fade-in animace oválů         */
/* ============================= */

.fade-top    { animation: fadeTop 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.fade-left   { animation: fadeLeft 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.fade-right  { animation: fadeRight 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.fade-bottom { animation: fadeBottom 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.oval1 { animation-delay: 0.1s; }
.oval2 { animation-delay: 0.3s; }
.oval3 { animation-delay: 0.5s; }
.oval4 { animation-delay: 0.7s; }

@keyframes fadeTop {
  from { opacity: 0; transform: translateY(-80px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeBottom {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* Excentrické rozmístění oválů */
/* ============================= */

.oval1 { top: 10%; left: 8%; }
.oval2 { top: 18%; right: 10%; }
.oval3 { bottom: 16%; left: 14%; }
.oval4 { bottom: 10%; right: 18%; }

/* ============================= */
/* Textové popisky               */
/* ============================= */

.oval-label {
  position: absolute;
  width: 340px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 0 8px rgba(0,0,0,0.85);
  pointer-events: none;
  user-select: none;
}

/* Pozice popisků */
.label1 { top: calc(10% + 250px + 14px); left: 8%; }
.label2 { top: calc(18% + 250px + 14px); right: 10%; }
.label3 { top: calc(100% - 16% + 14px); left: 14%; }
.label4 { top: calc(100% - 10% + 14px); right: 18%; }

/* Fade-in popisků */
.oval-label {
  opacity: 0;
  animation: fadeLabel 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  background: rgba(255, 255, 255, 0.10);
  padding: 6px 12px;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

@keyframes fadeLabel {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.label1 { animation-delay: 0.1s; }
.label2 { animation-delay: 0.3s; }
.label3 { animation-delay: 0.5s; }
.label4 { animation-delay: 0.7s; }

/* Mikro-posun při hoveru na oválu */
.oval-wrapper:hover + .oval-label {
  transform: translateY(-6px);
}

/* ============================= */
/* Ikony v pravém horním rohu   */
/* ============================= */

.top-icons {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.top-icons .icon {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.top-icons .icon svg {
  width: 26px;
  height: 26px;
  fill: black;
}

.top-icons .icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(255,255,255,0.8);
}

.top-icons .icon::after {
  content: attr(data-tip);
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.top-icons .icon:hover::after {
  opacity: 1;
}

/* ============================= */
/* Loader                        */
/* ============================= */

#loader {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: rgba(255,255,255,1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 20000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e6e6e6 60%, #cccccc 100%);
  box-shadow: inset -4px -4px 8px rgba(0,0,0,0.15);
  border: 2px solid #d0d0d0;
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  margin-top: 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b4d0b;
  opacity: 0.8;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ============================= */
/* Sekce O NÁS                   */
/* ============================= */

.section-onas {
  position: relative;
  background: #f5f5f5;
  /*background: url("pozadi_sekce.jpg") center/cover no-repeat;*/
  color: #222;
  padding: 120px 8% 100px;
  z-index: 1;
  overflow: hidden;
}


.section-onas::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  width: 70%;
  height: 70%;
  background: url("logo-minigolf.png") center/contain no-repeat;
  opacity: 0.14;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.section-onas * {
  position: relative;
  z-index: 1;
}

.section-onas h2 {
  color: #111;
}

.section-kontakt {
  position: relative;
  background: #f5f5f5;
  /*background: url("pozadi_sekce.jpg") center/cover no-repeat;*/
  color: #222;
  padding: 120px 8% 100px;
  z-index: 1;
  overflow: hidden;
}


.section-kontakt::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  background: url("logo-minigolf.png") center/contain no-repeat;
  opacity: 0.14;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.section-kontakt * {
  position: relative;
  z-index: 1;
}

.section-kontakt h2 {
  color: #111;
}
.onas-text {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #222;
}

.onas-text p {
  flex: 1 1 calc(50% - 40px);
  margin: 0;
}
/* základní styl obrázků */
.onas-gallery {
  display: grid;
  gap: 20px; /* mezery mezi obrázky */
}

/* desktop – dva sloupce */
@media (min-width: 901px) {
  .onas-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* mobily a menší šířky – jeden sloupec */
@media (max-width: 900px) {
  .onas-gallery {
    grid-template-columns: 1fr;
  }
}


.onas-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* pokud chceš */
  transition: transform 0.25s ease;
  cursor: zoom-in;
}


/* první zoom – fit-to-screen */
.onas-gallery img.zoom1 {
  transform: scale(1.6); /* uprav podle oka */
  cursor: zoom-in;
}

/* druhý zoom – původní velikost */
.onas-gallery img.zoom2 {
  transform: none; /* transform vypneme, protože použijeme natural size */
  width: auto;
  max-width: none;
  cursor: zoom-out;
}
/* Na velkých obrazovkách zvětšování zakážeme */
@media (min-width: 901px) {
  .onas-gallery img {
    cursor: default;
    pointer-events: none; /* obrázky nebudou klikatelné */
  }
}
/* na velkých obrazovkách obrázky v galerii nejsou klikací */
@media (min-width: 901px) {
  .onas-gallery img {
    cursor: default;
    pointer-events: none;
  }
}
/* Wrapper pro každý obrázek */
.onas-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px; /* stejné jako obrázek */
}

/* Popisek */
.onas-gallery-item .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 8px; /* přidáno – gradient kopíruje rohy */
}

/* Desktop – zobrazit při hoveru */
@media (min-width: 901px) {
  .onas-gallery-item:hover .caption {
    opacity: 1;
  }
}

/* Mobil – popisek vždy viditelný */
@media (max-width: 900px) {
  .onas-gallery-item .caption {
    opacity: 1;
  }
}

/* Fullscreen overlay pro zvětšený obrázek */
.image-fullscreen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-fullscreen img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

/* Aktivní stav */
.image-fullscreen.active {
  opacity: 1;
  pointer-events: auto;
}



/* Fullscreen zoom overlay – výchozí stav skrytý */
.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
}

.image-zoom-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* scrollovací kontejner */
.image-zoom-scroll {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto; /* KLÍČOVÉ */
}

/* fit-to-screen */
.image-zoom-scroll img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

/* původní velikost */
.image-zoom-scroll img.fullsize {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  cursor: zoom-out;
}





/* --- Scroll-trigger animace --- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* Navigace                      */
/* ============================= */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  font-family: "Segoe UI", Arial, sans-serif;
}

.nav-desktop {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  background: rgba(255,255,255,0.8);
  padding: 0 clamp(10px, 2vw, 20px);
  border-bottom-right-radius: 12px;
  backdrop-filter: blur(4px);
}

.nav-desktop a {
  color: #0b4d0b;
  text-decoration: none;
  font-weight: 600;
  /*font-size: clamp(0.8rem, 1.1vw, 1.15rem);*/
  font-size: clamp(14px, 1vw, 18px);
  transition: color 0.25s ease;
}

.nav-desktop a:hover {
  color: #c40000;
}

.nav-mobile {
  display: none;
}

.hamburger {
  font-size: 32px;
  cursor: pointer;
  color: #0b4d0b;
  background: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: 6px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: rgba(255,255,255,0.95);
  width: 220px;
  padding: 12px;
  border-radius: 8px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  color: #0b4d0b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.mobile-menu a:hover {
  color: #c40000;
}

/* ============================= */
/* MEDIA QUERIES                 */
/* ============================= */

/* Mobilní verze – ovály, hero, logo, ikony, O NÁS */

@media (max-width: 900px) {
  .section-onas::before {
    opacity: 0.03;
    width: 80%;
    height: 80%;
  }

  .onas-text p {
    flex: 1 1 100%;
  }

  .onas-text {
    column-count: 1;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9998;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 600px) {

  body {
    overflow-y: auto;
  }

  .hero {
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important; /* necháme hero růst podle obsahu */
  min-height: 100dvh; /* VRACÍME ZPĚT, jinak se hero zhroutí */
  height: auto; /* prostor nahoře i dole */
  padding-top: 140px;
  padding-bottom: 140px; }








  .hero-logo {
    top: 20px;
    width: 32vw;
    max-width: 180px;
    z-index: 0;
  }

  /* Mobilní ovál – JEDINÁ DEFINICE PRO MOBIL */
  .oval-wrapper {
    position: relative;
    width: 240px;
    height: 176px;
    margin: 40px auto 20px auto;
    overflow: hidden;
  }
/* Odsazení prvního oválu pod logem */
.oval-wrapper:first-of-type { margin-top: 120px; }

  .oval-breath {
    width: 100%;
    height: 100%;
    animation: none;
    position: relative;
  }

  .oval {
    position: relative !important;
    width: 100%;
    height: 100%;
    display: block;
  }

  .oval img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .oval1,
  .oval2,
  .oval3,
  .oval4 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .fade-top,
  .fade-left,
  .fade-right,
  .fade-bottom {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .oval-label {
    width: 240px;
    font-size: 1.3rem;
    margin-top: 10px;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .top-icons {
    top: auto;
    bottom: 20px;
    right: 20px;
    flex-direction: row;
    gap: 16px;
  }

  .top-icons .icon {
    width: 50px;
    height: 50px;
    padding: 8px;
  }

  .top-icons .icon svg {
    width: 30px;
    height: 30px;
  }

  .top-icons .icon::after {
    display: none;
  }

  .section-onas::before {
    display: none;
  }

  .logo {
    left: auto;
    right: 20px;
    transform: none;
    top: 14px;
  }

  .logo img {
    height: 48px;
  }
}


/* Malé notebooky (800×600) */

@media (max-height: 650px) and (min-width: 600px) {

  body {
    overflow-y: auto;
  }

  .hero {
    height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .oval-wrapper {
    position: relative;
    width: 260px;
    height: 190px;
    margin-bottom: 20px;
  }

  .oval-label {
    position: relative;
    width: 260px;
    font-size: 1.1rem;
    margin: 10px auto 40px auto;
  }

  .oval1, .oval2, .oval3, .oval4 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: flex;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9998;
    flex-direction: column;
    gap: 10px;
  }
}

/* Wrapper – 1 sloupec mobil, 2 sloupce PC */
.menu-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0 auto;
  /*max-width: 1200px;*/
  max-width: 80%;
  padding: 0 20px;
}

.menu-background {
  text-align: left;
  padding: 0 8%;
}




@media (min-width: 900px) {
  .menu-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px; /* mezera mezi sloupci */
    width: 100%;
    max-width: 80%; /* obsahová oblast */
     /*max-width: 1200px;*/
     margin: 60px auto;
    padding: 0;
  }

  .menu-column {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}




/* Nadpisy */
.menu-column h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.menu-section h3 {
  margin: 25px 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: #333;
}

/* Položky */
.menu-item {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  align-items: center;
}

.menu-item .amount {
  font-size: 0.9rem;
  color: #777;
  text-align: right;
  padding-right: 10px;
}

.menu-item .name {
  font-size: 1rem;
  padding: 0 10px;
}

.menu-item .price {
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}

/* Jemný hover efekt na PC */
@media (min-width: 900px) {
  .menu-item:hover {
    background: rgba(0,0,0,0.03);
    transition: background 0.2s ease;
  }
}
.menu-background {
  /*background: #f5f5f5;*/ /* nebo stejná barva jako textová sekce*/
  background: url("pozadi_sekce.jpg") center/cover no-repeat;
  padding: 60px 0;
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  text-align: left; /* zruší dědičné centrování */
}

@media (max-width: 700px) {
.menu-background {
  background: #f5f5f5; /* nebo stejná barva jako textová sekce*/
}
}


.menu-section h3::before {
  content: attr(data-icon);
  margin-right: 8px;
  font-size: 1.2rem;
  display: inline-block;
  transform: translateY(1px);
}

.menu-column p,
.menu-column li,
.menu-column .item {
  font-size: clamp(15px, 1.8vw, 22px);
  line-height: 1.55;
}
.menu-item-title {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
}
.menu-item-price {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
}
/* SUPER GALLERY */
.super-gallery {
  background: #f5f5f5;
  padding: 60px 0;
}

/* PC – 4 obrázky v řádku */
.super-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4%;
}

/* KAŽDÝ OBRÁZEK */
.super-item {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.super-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: zoom-in;
}

/* POPISEK – vlevo, jen při hoveru */
.super-item figcaption {
  position: absolute;
  bottom: 0; /* původní bylo 10px */
  left: 0; /* původní bylo 14px */
  width: 93%; /* původně nebylo vůbec nastaveno */
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  /*background: rgba(0,0,0,0.55);*/
  font-size: 0.9rem;/* původně nebylo vůbec nastaveno */
  pointer-events: none; /* původně nebylo vůbec nastaveno */
  color: white;
  padding: 10px 14px; /* původní bylo 6px 14px */
  border-radius: 8px;
  /*původně bylo nastaveno: white-space: nowrap;*/
  opacity: 0;
  transition: opacity 0.3s ease;
}

.super-item:hover figcaption {
  opacity: 1;
  border-radius: 8px;
}

/* MOBIL – 2 obrázky v řádku */
@media (max-width: 700px) {
  .super-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 2%; /* ← aby obrázky byly VELKÉ */
  }
}
.super-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.super-lightbox.active {
  display: flex;
  opacity: 1;
}

.super-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.super-lightbox-caption {
  margin-top: 16px;
  color: white;
  font-size: clamp(16px, 2vw, 24px);
  text-align: center;
  max-width: 90vw;
}

.super-lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.super-lightbox-arrow:hover {
  opacity: 1;
}

.super-lightbox-arrow.left {
  left: 20px;
}

.super-lightbox-arrow.right {
  right: 20px;
}
.listek_zahrada {
  position: relative;
  background: #f5f5f5;
  /*background: url("pozadi_sekce.jpg") center/cover no-repeat;*/
  color: #222;
  padding: 120px 8% 100px;
  z-index: 1;
  overflow: hidden;
  text-align: center;
}
.listek_zahrada_img {
   width: 36%;
   text-align: center;
}
@media (max-width: 700px) {
.listek_zahrada_img {
   width: 96%;
   text-align: center;
}
}
#foto-dialog {
    /* FIXNÍ POZICE NA STŘED */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;

    /* VZHLED */
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    background: white;
    overflow: hidden;
    z-index: 9999; /* Jistota, že bude nad hero sekcí i menu */
}

/* KOMPLETNÍ OPRAVENÝ STYL */
#foto-dialog {
    /* 1. ABSOLUTNÍ CENTROVÁNÍ NA OBRAZOVKU */
    position: fixed;
    top: 50% !important;   /* !important zajistí, že to nic nepřebije */
    left: 50% !important;
    transform: translate(-50%, -50%);
    margin: 0;

    /* 2. VZHLED */
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    background: white;
    overflow: hidden;
    z-index: 9999;
}

/* 3. JEDINÁ ANIMACE (obsahuje v sobě i centrování) */
#foto-dialog[open] {
    animation: fadeInCenter 0.3s ease-out;
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: translate(-50%, -52%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 4. POZADÍ (BACKDROP) */
#foto-dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* 5. OBRÁZEK A TLAČÍTKO */
.dialog-obsah img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 80vh; /* Trochu jsme ubrali, aby zbyl prostor pro tlačítko */
    object-fit: contain;
}

.dialog-obsah button {
    width: 100%;
    padding: 15px; /* Větší plocha pro prsty na mobilu */
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.kontaktni-formular {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: sans-serif;
}
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 5px; font-weight: bold; font-size: 14px; }
.field input, .field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}
.odeslat-btn {
    width: 100%;
    padding: 12px;
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.odeslat-btn:hover { background: #444; }
.alert { padding: 12px; border-radius: 6px; margin-bottom: 15px; text-align: center; color: white; font-weight: bold; }
.alert-error { background: #d9534f; }
.alert-success { background: #5cb85c; }

.stredozeme {
  text-align: center;
}