/* ===== Reset a zakladni styl ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* ===== Navigace ===== */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 0.8em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #385c2c;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #588b4e;
}

/* ===== Hero sekce ===== */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-top: 60px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.3rem;
}

/* ===== Sekce ===== */
.section {
  padding: 4em 1em;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  color: #385c2c;
  margin-bottom: 1em;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #588b4e;
  margin: 0.5em auto 0;
  border-radius: 2px;
}

/* ===== Galerie ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Cenik ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 1rem;
}

.price-table th {
  background-color: #588b4e;
  color: white;
  text-align: left;
  padding: 0.8em;
  font-weight: 600;
}

.price-table td {
  padding: 0.8em;
  border-bottom: 1px solid #ddd;
}

.price-table tr:nth-child(even) {
  background-color: #f8f8f8;
}

/* ===== Okoli ===== */
.nearby {
  list-style: none;
  columns: 2;
  column-gap: 2em;
}

.nearby li {
  padding: 0.3em 0;
  position: relative;
}

.nearby li::before {
  content: "•";
  color: #588b4e;
  margin-right: 6px;
}

/* ===== Kontakt ===== */
.contact {
  text-align: center;
}

.contact a {
  color: #385c2c;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background-color: #385c2c;
  color: white;
  text-align: center;
  padding: 1em 0;
  font-size: 0.9rem;
}

/* ===== Responzivita ===== */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .nav-links {
    gap: 0.8em;
    font-size: 0.95rem;
  }

  .nearby {
    columns: 1;
  }
}