/* Reset a základy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Metropolis', sans-serif;
  font-style: normal;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #333;
}

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  flex-wrap: wrap;
}

.top-text {
  flex-shrink: 1;
  flex-grow: 1;
  font-size: 1.5rem;
  font-weight: 300;
  text-align: left;
  white-space: nowrap; /* zabrání zalomení textu */
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.menu-text {
  display: flex;
  gap: 15px;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
}

.menu-text span::after {
  content: ' /';
}
.menu-text span:last-child::after {
  content: '';
}

.menu-text a:hover {
  font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    }

    .menu-toggle div {
      width: 22px;
      height: 2px;
      background-color: black;
      margin: 4px 0;
    }

    @media (max-width: 600px) {
      .menu-text {
        display: none;
        flex-direction: column;
        position: absolute;
        align-items: center;
        top: 80px;
        right: auto;
        left: 0;
        background-color: white;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
        min-width: 150px;
      }

      .menu-text span::after {
        content: '';
      }

      .menu-text.show {
        display: flex;
      }

      .menu-toggle {
        display: flex;
      }

      .top-text {
        font-size: 1rem; /* menší velikost pro mobil */
        max-width: 70%;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        }
    }

/* První oddíl */
.grey-square {
  background-color: #f4f3f3;
  height: 60px;
  width: 100%;
}

.first-mid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
}

.first-mid-img img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.first-mid-text {
  max-width: 1000px;
  margin: 0 auto;
}

.first-mid-text-title {
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  color: #6a6767;
}

.first-mid-text-par p {
  font-size: 1rem;
  line-height: 1.6;
  color: #a1a0a0;
  margin-bottom: 1em;
}

/* Druhý oddíl */
.second-grey-square {
  background-color: #f4f3f3;
  height: 50px;
  width: 100%;
}

/* Kontakt */
.bottom {
  background-color: #fff;
  padding: 40px 20px;
}

.bottom-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bottom-text-title p {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px 10px;
  margin-top: 20px;
  text-align: left;
  font-size: 1rem;
  color: #7d7d7d;
}

.bottom-grid i {
  color: grey;
  font-size: 1.2rem;
  margin-top: 5px;
}

.kontakt {
  margin-top: 30px;
}

.kontakt a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #777;
  color: white;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.kontakt a:hover {
  background-color: #888;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map {
  margin-top: 30px;
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

/* Responzivita */
@media (max-width: 768px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .first-mid-text-title {
    font-size: 1.5rem;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-grid i {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .top-text {
    font-size: 1.2rem;
  }
  
  .first-mid-text-par p {
    font-size: 0.95rem;
  }
}
