/* Navigace */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 60px;
  max-height: 100%;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  display: flex;
  align-items: center; 
}
/* Navigační seznam */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav li {
  display: inline-block;
  align-items: center;
}

nav a {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #3a3a3a;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

nav a:hover {
  background-color: #dd9625ef;
  box-shadow: 0 2px 5px rgb(132, 132, 132);
}



.responsive-banner {
  width: 100%;
  height: auto;
  max-height: 530px;
  object-fit: cover;
  display: block;
  margin-top: 10px;
}

#produkty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  background-color: #dfd7b953;
  padding: 60px 20px;
  border-top: 4px solid #f7941e; /* pěkný oddělovač */
  margin-top: 40px;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.block img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s, filter 0.5s;
  transition-timing-function: ease;
}

.block span {
  text-align: center;
  background: rgba(100, 100, 100, 0.8);
  padding: 15px;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  color: #fff;
}

.block:hover {
  transform: translateY(-7px);
}

.block:hover img {
  filter: brightness(70%);
  transform: scale(1.05);
}

.block:hover span {
  background: rgba(215, 142, 53, 0.85);
  color: #000;
}

@media (max-width: 600px) {
  #produkty-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); /* menší min-width */
    padding: 20px 10px;
  }

  .block {
    padding-bottom: 0;
  }

  .block span {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .block:hover {
    transform: none;
  }

  .block:hover img {
    filter: none;
    transform: none;
  }

  .block:hover span {
    background: rgba(215, 142, 53, 0.85);
    color: #000;
  }
}
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: flex;
  align-items: center;
}

.main-nav a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  height: 20px;
}

.main-nav a:hover {
  color: #ffffff;
}

/* Sekce */
section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

section h3 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffffff;
  padding-bottom: 10px;
}
/* Text a bloky */
.hero {
  text-align: center;
}
p {
  margin-bottom: 16px;
}

ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 300px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Kontakt */
.contact-info {
  background-color: #e9f5ee;
  padding: 20px;
  border-radius: 8px;
}

/* Patička */
footer {
  background-color: #396a44;
  color: white;
  text-align: center;
  padding: 20px 10px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Responsivita */
@media (max-width: 600px) {
  body {
    font-size: 14px; /* základní velikost */
  }

  h2 {
    font-size: 1.2rem; /* cca 24px */
  }

  h3 {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 0.9rem; /* menší menu */
  }

  .block span {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

.obsah {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* fonty globálně */
p {
  font-family: "Inter";
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  color: #222;
  margin-top: 40PX;
  text-transform: uppercase;
  text-decoration: none;
}

/* recenze - o nás */
.reviews {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #dfd7b953;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.reviews h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #222;
}

.review {
  background-color: white;
  padding: 1rem 1.25rem;
  border-left: 4px solid #f7941e; 
  border-radius: 4px;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.review p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.review span {
  font-size: 0.9rem;
  color: #666;
  display: block;
}


---- o nas landing ----
.about {
  font-family: 'Inter', sans-serif;
  padding: 80px 20px;
  margin-top: 80px;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 auto;
  gap: 40px;
  padding: 40px;
  background-color: #ffffff;
}

.about-text {
  font-family: 'Inter', sans-serif;
  flex: 1 1 500px;
}

.about-text h3 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.about-text h3::before {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: #f7941e;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .about {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .about-wrapper {
    display: block; /* přepne z flex na blok */
    padding: 20px;
    gap: 0;         /* zruší mezeru, použíj marginy v jednotlivých prvcích */
  }

  .about-text, 
  .about-image {
    width: 100%;
    flex: none;
    margin-bottom: 30px; /* mezera mezi textem a obrázkem */
  }

  .about-text h3 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
  }

  .btn-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

/* Moderní tlačítko */
.btn-more {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f7941e;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-more:hover {
  background-color: #e07c00;
}

section.about {
  margin-top: 30px;
}

.kontakt {
  background-color: #dfd7b953;
  padding: 80px 20px;
  text-align: center;
  border-top: 4px solid #f7941e;
  font-family: 'Inter', sans-serif;
  max-width: 100%;
}

.kontakt h3 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.kontakt h3::after {
  display: block;
  width: 60px;
  height: 3px;
  background-color: #7bc043;
  margin: 10px auto 0;
}

.kontakt p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.kontakt iframe {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  border: none;
  border-radius: 12px kontakt;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .kontakt h3 {
    font-size: 1.6rem;
  }

  .kontakt p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .kontakt iframe {
    height: 250px; /* menší výška mapy na mobilu */
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .kontakt h3 {
    font-size: 1.4rem;
  }

  .kontakt p {
    font-size: 0.95rem;
  }

  .kontakt iframe {
    height: 200px; /* ještě menší mapa na extra malých zařízeních */
  }
}

.tlacitko {
  background-color: #dd9625ef;
  box-shadow: 0 2px 5px rgb(132, 132, 132);
}
.tlacitko a {
  color: #ffffff;
}
.tlacitko:hover{
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

body {
  background-image: url('/images/81310.jpg');
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
}

/* Skryjeme menu i tlačítko hamburger mimo mobil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Hamburger ikona - 3 čárky */
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  background-color: #333;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger menu - mobil */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-left: 20px;
  }

  /* schováme seznam */
  .main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* hned pod navigační lištu */
    right: 0;
    background: #fff;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 999;
  }

  /* zobrazíme po kliknutí */
  .main-nav.show ul {
    display: flex;
  }

  /* hamburger tlačítko */
  .nav-toggle {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    z-index: 1001; /* aby byl nad obsahem */
  }
}
form {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Inter', sans-serif;
}

form h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #f7941e;
  box-shadow: 0 0 5px rgba(247, 148, 30, 0.3);
}

form button {
  background-color: #f7941e;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #e07c00;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
  form {
    padding: 15px;
  }

  form h2 {
    font-size: 1.5rem;
  }

  form input,
  form textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  form button {
    font-size: 0.95rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  form {
    margin: 20px 10px;
  }

  form h2 {
    font-size: 1.3rem;
  }
}

a, a:link, a:visited, a:hover, a:focus, a:active {
  text-decoration: none !important;
  border-bottom: none !important; /* pokud je „podtržení“ udělané jako border */
  box-shadow: none !important;    /* někdy se používá box-shadow jako ozdoba */
}
.formular H2 {
  text-align: center;
}

.oteviraci-doby {
  display: flex;
  flex-wrap: wrap; /* aby se na malém displeji bloky zalomily pod sebe */
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 900px;
}

.oteviraci-blok {
  flex: 1 1 300px; /* minimální šířka 300px, zbytek se roztáhne */
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.oteviraci-blok h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.oteviraci-blok table {
  width: 100%;
  border-collapse: collapse;
}

.oteviraci-blok td {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.oteviraci-blok tr:last-child td {
  border-bottom: none;
}

.oteviraci-blok td:first-child {
  font-weight: bold;
  color: #555;
}

.oteviraci-blok td:last-child {
  text-align: right;
  color: #222;
}
