/* === COLORS === */
:root {
  --green: #E3E0D7; /* světle béžová */
  --beige: #505A36; /* tmavě olivová */
  --white: #fff;
  --black: #000;
}

/* === BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Mono', monospace;
  background-color: var(--beige);
  color: var(--white);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-weight: 700;
  text-transform: none;
}

/* === NAVIGATION === */
header {
  position: sticky;
  top: 0;
  background-color: var(--beige);
  z-index: 999;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  text-transform: lowercase;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  opacity: 0.7;
  color: var(--white);
}



/* === TEXTOVÁ SEKCE === */
.about-main {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
}

.about-main p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.about-signature {
  font-weight: 700;
  text-align: right;
  font-size: 1.2rem;
}


/* === MENU PAGE === */
.menu-hero {
  text-align: center;
  padding: 5rem 1rem 2rem;
}

.menu-hero h1 {
  font-size: 3rem;
  color: var(--green);
  text-transform: uppercase;
}

/* Kontejner celé menu stránky */
.menu-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* Každá sekce (Pizzy, Nápoje, atd.) */
.menu-section {
  margin-bottom: 3rem; /* dříve 3rem */
}


.menu-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--green);
  text-transform: lowercase;
  border-bottom: 2px solid var(--green);
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* Ohrádky pro jednotlivé položky menu */
.menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.menu-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.menu-list li:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Styl pro text uvnitř položky */
.item-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.item-desc {
  font-size: 0.95rem;
  opacity: 0.9;
}

.item-price {
  font-weight: 700;
  text-align: right;
  color: var(--green);
  margin-top: 0.3rem;
}

/* Nadpisy v rámci sekce (např. Pivo, Nealko) */
.menu-section h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--green);
  text-transform: lowercase;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .menu-hero h1 {
    font-size: 2.2rem;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-list li {
    padding: 1rem;
  }

  .item-price {
    text-align: left;
  }
}
/* === MENU NADPISY === */

/* hlavní nadpisy sekcí (Pizza, Nápoje) */
.menu-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color:  #ffffff;  /* sytě červená */
  text-transform: uppercase;
  border-bottom:  #ffffff; 
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* podnadpisy (Pivo, Nealkoholické nápoje) */
.menu-section h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffffff; /* sytě červená */
  text-transform: uppercase;
}
/* === CONTACT PAGE === */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  color: var(--white);
}

.contact-page h1 {
  text-align: center;
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 3rem;
  text-transform: uppercase;
}



/* === MAPA === */
.contact-map {
  flex: 1 1 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* === MAPA – ÚPRAVA VELIKOSTI === */
.contact-map iframe {
  width: 100%;
  height: 350px; /* menší výška, ladí s kontaktním boxem */
  border: 0;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: height 0.3s ease;
}

/* Na menších displejích může být mapa vyšší kvůli lepší čitelnosti */
@media (max-width: 900px) {
  .contact-map iframe {
    height: 400px;
  }
}


/* === INFO BLOK === */
.contact-info {
  flex: 1 1 300px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  line-height: 1.8;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.contact-info strong {
  color: var(--green);
}

/* === SOCIAL IKONY === */
.socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.socials img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.socials img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-map iframe {
    height: 300px;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-page h1 {
    font-size: 2.4rem;
  }
}
/* === PRIVATE DINING FORM PAGE === */
.reservation-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  color: var(--white);
  text-align: center;
}

.reservation-page h1 {
  font-size: 2.6rem;
  color: var(--green);
  margin-bottom: 1rem;
  text-transform: none;
}

.reservation-page p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* === FORM CARD === */
.form-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: left;
}

/* Grid pro pole */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Jednotlivé pole */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green);
}

input, select, textarea {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  background-color: rgba(255,255,255,0.15);
}

::placeholder {
  color: rgba(255,255,255,0.6);
}

/* Checkbox pole */
.checkbox-field {
  align-items: center;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}

.checkbox span {
  font-size: 0.95rem;
}

/* Tlačítko */
.btn {
  display: inline-block;
  background-color: var(--green);
  color: var(--beige);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Chybové hlášky */
.error {
  color: #D23C3C;
  font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .reservation-page h1 {
    font-size: 2rem;
  }

  .form-card {
    padding: 2rem 1.2rem;
  }
}
/* Zvýší mezeru nad sekcí Víno */
.menu-section h2 {
  margin-top: 3rem;
}

/* Speciálně větší mezera pro nadpis "Víno" */
.menu-section h2:contains("Víno"),
.menu-section h2:nth-of-type(2) {
  margin-top: 6rem;
}
/* === NAVIGATION === */
.navbar {
  background-color: var(--beige);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Desktop menu */
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  text-transform: lowercase;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  opacity: 0.8;
}

/* === TOGGLE BUTTON (hamburger) === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--green);
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.8rem 1.2rem;
  line-height: 1;
  z-index: 2000; /* vždy nad menu */
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

/* === MOBILE MENU === */
@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  /* výchozí stav menu – skryté */
  .nav-links {
    display: none;
  }

  /* aktivní stav – fullscreen */
  .nav-links.active {
    display: flex !important; /* 🔥 přepíše vše ostatní */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background-color: var(--beige);
    z-index: 1000;
    animation: fadeIn 0.3s ease forwards;
    width: 100vw;
    height: 100vh;
  }

  .nav-links.active ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
  }

  .nav-links.active a {
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .nav-links.active a:hover {
    opacity: 0.7;
  }

  /* === HAMBURGER / ✕ === */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--green);
  cursor: pointer;
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  line-height: 1;
  z-index: 2001;
  transition: all 0.3s ease;
}

/* Po kliknutí – změní ☰ na ✕ a zároveň skryje původní znak */
.nav-toggle.active {
  color: transparent; /* 🔥 skryje původní ☰ */
  position: fixed;
}

.nav-toggle.active::after {
  content: '✕';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: var(--white);
}

.nav-toggle.active::before {
  content: '';
}

}

/* animace */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* === FOTOGALERIE PAGE === */
.gallery-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  color: var(--white);
  text-align: center;
}

.gallery-page h1 {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.gallery-intro {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

/* Mřížka galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .gallery-page h1 {
    font-size: 2rem;
  }
  .gallery-intro {
    font-size: 1rem;
  }
}
/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Změna kurzoru při najetí */
.gallery-item img {
  cursor: zoom-in;
}

.lightbox.active img {
  cursor: zoom-out;
}
/* === FOOTER === */
.site-footer {
  background-color: #3E4630; /* tmavě olivová */
  color: var(--white);
  padding: 3rem 2rem 1rem;
  font-family: 'Space Mono', monospace;
}

.footer-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* rozdělí vlevo / vpravo */
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2rem;
  gap: 2rem;
}

.footer-right {
  flex: 1 1 300px;
  text-align: left;
}

.footer-left {
  flex: 1 1 300px;
  text-align: right;
}

.footer-left h4,
.footer-right h4 {
  font-size: 1rem;
  text-transform: uppercase;
  color: #E3E0D7;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.footer-left p,
.footer-right p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.footer-right a {
  color: #E3E0D7;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-socials img {
  width: 26px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-right {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* === FOOTER – FINAL VERSION (sjednocený) === */
.site-footer {
  background-color: #3E4630; /* tmavě olivová */
  color: var(--white);
  padding: 3rem 2rem 1rem;
  font-family: 'Space Mono', monospace;
}

.footer-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* rozdělí vlevo/vpravo */
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2rem;
  gap: 2rem;
}

.footer-left {
  flex: 1 1 300px;
  text-align: right;
}

.footer-right {
  flex: 1 1 300px;
  text-align: left;
}

.footer-left h4,
.footer-right h4 {
  font-size: 1rem;
  text-transform: uppercase;
  color: #E3E0D7;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.footer-left p,
.footer-right p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.footer-right a {
  color: #E3E0D7;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-socials img {
  width: 26px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* === OPRAVA – BÍLÉ FONT AWESOME IKONY VE FOOTERU === */
footer.site-footer .footer-socials a i {
  color: var(--white) !important;   /* natvrdo přebije všechny prohlížečové styly */
  font-size: 28px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.2s ease, color 0.3s ease;
}

footer.site-footer .footer-socials a:hover i {
  transform: scale(1.1);
  opacity: 1;
  color: var(--green) !important;   /* při hoveru jemný béžový odstín */
}

footer.site-footer .footer-socials a,
footer.site-footer .footer-socials a:visited,
footer.site-footer .footer-socials a:hover,
footer.site-footer .footer-socials a:active {
  color: inherit !important;        /* aby se barva nebrala z odkazu */
  text-decoration: none !important;
}
/* === IKONY V SEKCI KONTAKT === */
.contact-info .socials a,
.contact-info .socials a:visited,
.contact-info .socials a:hover,
.contact-info .socials a:active {
  color: var(--white) !important;
  text-decoration: none;
}

.contact-info .socials i {
  font-size: 26px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.2s ease, color 0.3s ease;
}

.contact-info .socials i:hover {
  transform: scale(1.1);
  opacity: 1;
  color: var(--green) !important; /* jemný béžový efekt při hoveru */
}
/* === KONTAKT – MAPA A INFO VEDLE SEBE, ELEGANTNĚ === */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* MAPA vlevo */
.contact-map {
  flex: 1 1 55%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Kontakt vpravo */
.contact-info {
  flex: 1 1 45%;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  line-height: 1.8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* === MAPA === */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px; /* stejné jako kontakt */
  border: 0;
  display: block;
}

/* === TEXT STYLING === */
.contact-info h3 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info strong {
  color: var(--green);
}

/* === SOCIAL IKONY === */
.contact-info .socials {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.contact-info .socials i {
  font-size: 26px;
  color: var(--white);
  opacity: 0.9;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.contact-info .socials i:hover {
  transform: scale(1.15);
  color: var(--green);
  opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-map,
  .contact-info {
    width: 100%;
  }

  .contact-map iframe {
    min-height: 300px;
  }
}
/* === OPRAVA BARVY ODKAZŮ V KONTAKTU === */
.contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-info a:hover {
  color: var(--green); /* jemný béžový odstín při hoveru */
  opacity: 0.9;
}
/* === FOOTER – MINIMALIZACE MEZERY MEZI BLOKY NA MOBILU === */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0 !important; /* žádný mezery mezi flex položkami */
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .footer-left,
  .footer-right {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-left { margin-bottom: 0.5rem !important; 
  }

  .footer-socials {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer-right {
    margin-top: -0.4rem !important; /* ještě stáhne „KONTAKT“ blíž k ikonám */
  }

  .footer-left h4,
  .footer-right h4 {
    margin-bottom: 0.2rem !important;
  }
}
/* --- FOTOGALERIE --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  position: relative;
}

.gallery-item picture,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🎯 zajistí vyplnění rámečku bez deformace */
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* === HERO O NÁS – FINAL RESPONSIVE VERSION === */
.about-hero {
  position: relative;
  background-image: url("../images/serpente-krajina.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed; /* ✨ vrátí parallax efekt na desktopu */
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}



.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.about-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-content {
  text-align: left;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.about-hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.8;
  text-align: justify;
}

/* === MOBILNÍ OPRAVA === */
@media (max-width: 900px) {
  .about-hero {
    background-attachment: scroll !important; /* vypne parallax na mobilech */
    background-size: contain !important; /* zachová celý nápis */
    background-position: center top;
    min-height: 90vh;
  }
}



  .about-hero-content {
    padding: 1rem;
  }


/* === EXTRA MALÁ ZAŘÍZENÍ === */
@media (max-width: 600px) {
  .about-hero {
    min-height: 65vh;
  }

  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }
}

