* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* Navigace */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #2e5d34;
}

/* Navigace na mobilu */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 65px;
    right: 0;
    background: white;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none; /* schované defaultně */
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  nav ul li {
    text-align: right;
  }

  .hamburger {
    display: block;
  }

  /* Aktivní menu */
  nav.active {
    display: flex;
  }
}

/* Logo s textem */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2e5d34; /* zelená */
  margin: 0;
}

.logo-text p {
  font-size: 0.85rem;
  color: #6a8f56; /* světle zelená */
  margin: 0;
}

/* Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #2e5d34;
}

/* Fancy efekt podtržení */
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #2e5d34;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.services-section {
  padding: 60px 8%;
  background: #f9f9f9;
  text-align: center;
}

.services-section h2 {
  font-size: 2.2rem;
  color: #2e8b57;
  margin-bottom: 15px;
}

.services-section .intro-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.service-icon {
  font-size: 2.5rem;
  color: #2e8b57;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #2e5d34;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.service-card ul {
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #444;
  font-size: 0.9rem;
}

.service-card ul li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.service-card button {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #2e8b57, #1d5c39);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-card button:hover {
  background: linear-gradient(135deg, #3aa768, #246e46);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Responzivita */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: #2f4f2f; /* tmavě zelené pozadí */
  color: #f1f1f1;
  padding-top: 40px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 0 20px 40px;
}

.footer h3, .footer h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col p, 
.footer-col a {
  color: #ddd;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #fff;
}

.socials a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #ddd;
  background: #446644;
  padding: 8px;
  border-radius: 50%;
  transition: 0.3s;
}

.socials a:hover {
  background: #fff;
  color: #2f4f2f;
}

.footer-bottom {
  border-top: 1px solid #555;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #bbb;
}

@media (max-width: 768px) {
  .gallery-grid {
    width: 92%;
    margin-left: 15px;
  }
}

/* Hrdinská sekce */
.hero-pergoly {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url("img/pergola.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-drevostavby {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("img/domecek2.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-ploty {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("img/ploty.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-teren {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("img/teren.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-koupelny {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("img/rekon.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-koupelny h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-koupelny p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-teren h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-teren p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-ploty h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-ploty p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-drevostavby h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-drevostavby p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-pergoly h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-pergoly p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.btn-cta {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #219150;
}

/* Sekce služeb */
.sluzby-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.sluzby-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2c3e50;
  text-align: center;
}

.sluzby-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  color: #555;
}

.sluzby-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.benefit {
  flex: 1 1 250px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.benefit h4 {
  margin-bottom: 10px;
  color: #27ae60;
}

/* Galerie */
.sluzby-gallery {
  max-width: 1100px;
  margin: 60px auto;
  text-align: center;
}

.sluzby-gallery h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
