/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f1f8f5;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #2e7d32;
  color: white;
}

header .logo {
  font-size: 26px;
  font-weight: bold;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

header nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

header nav a:hover {
  color: #a5d6a7;
}

/* HERO SEKCE */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #c8facc, #a5d6a7);
  border-radius: 0 0 50px 50px;
}

.hero h1 {
  font-size: 48px;
  color: #1b5e20;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: #2e7d32;
  margin-bottom: 30px;
}

.hero .btn {
  padding: 14px 28px;
  background: #43a047;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #2e7d32;
}

/* OBECNÉ SEKCÍ */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1b5e20;
}

section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #2e7d32;
}

/* FORMULÁŘ */
.form-section {
  background: #c8facc;
  border-radius: 15px;
  padding: 40px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.form-section h1 {
  margin-bottom: 15px;
  font-size: 32px;
  color: #1b5e20;
}

.form-section p {
  margin-bottom: 30px;
  color: #2e7d32;
}

.nice-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.nice-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

.nice-form input,
.nice-form select,
.nice-form textarea {
  padding: 12px;
  border: 2px solid #a5d6a7;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.nice-form input:focus,
.nice-form select:focus,
.nice-form textarea:focus {
  border-color: #43a047;
  box-shadow: 0 0 8px rgba(67,160,71,0.4);
}

.nice-form button {
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #43a047;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.nice-form button:hover {
  background: #2e7d32;
}

/* KARTY BRIGÁDNÍKŮ */
.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px;
}

.worker-card {
  background: #e8f5e9;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.worker-card:hover {
  transform: translateY(-5px);
}

.worker-card h3 {
  color: #1b5e20;
  margin-bottom: 10px;
}

.worker-card p {
  color: #2e7d32;
  margin-bottom: 5px;
}

/* KONTAKT */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  background: #e8f5e9;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-section h2 {
  margin-bottom: 15px;
  color: #1b5e20;
}

.contact-section p {
  margin-bottom: 20px;
  color: #2e7d32;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #2e7d32;
  color: white;
  margin-top: 20px;
  border-radius: 20px 20px 0 0;
}

/* Styl pro možnostové boxy */
.option-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 20px 0;
}

.option-box input[type="radio"] {
  display: none;
}

.option-box label {
  background: #e8f5e9;
  border: 2px solid #a5d6a7;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.option-box input[type="radio"]:checked + label {
  background: #43a047;
  color: white;
  border-color: #2e7d32;
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.option-box label:hover {
  background: #c8facc;
}

/* Kalendář */
input[type="date"] {
  padding: 12px;
  border: 2px solid #a5d6a7;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}
.contact-section {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

.contact-info, .contact-form {
  background: #f0fff4;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

.contact-info h2, .contact-form h2 {
  margin-bottom: 15px;
  color: #228B22;
}

.map-box {
  margin-top: 40px;
}

.map-box h2 {
  margin-bottom: 15px;
  color: #228B22;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px;
}

.worker-card {
  background: #f0fff4;
  border-radius: 15px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: 0.3s;
}

.worker-card:hover {
  transform: translateY(-5px);
}

.worker-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.worker-info {
  display: none;
  text-align: left;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #c8e6c9;
}

.worker-info.show {
  display: block;
}

.toggle-info {
  margin-top: 10px;
  background: #43a047;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.toggle-info:hover {
  background: #2e7d32;
}
