/* Hero sekce */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.hero-name {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Popis */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}
.dog-description {
    padding: 1rem; /* mezera od okraje stránky */
}

.dog-description .container {
    color: white;
    background: #333;
    padding: 1.5rem;
    border-radius: 1rem;
    line-height: 1.8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Nadpisy */
.dog-description h2,
.dog-description h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #fff;
}

/* Odstavce a seznamy uvnitř boxu */
.dog-description p {
    margin-bottom: 1rem;
}

.dog-description ul {
    list-style: disc inside;
    margin-bottom: 1rem;
}

.dog-description li {
    margin-bottom: 0.5rem;
}

/* Mobilní optimalizace */
@media (max-width: 600px) {
    .dog-description .container {
        font-size: 0.95rem;
        padding: 1rem;
        line-height: 1.7;
    }
}



/* Galerie */
.dog-gallery h2 {
  color: #333;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* RESPONSIVITA PRO MOBILY */
@media screen and (max-width: 768px) {
  .hero-name {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .dog-description p {
    font-size: 1rem;
    padding: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* zachováme 3 vedle sebe */
    gap: 0.5rem;
  }

  .container {
    padding: 1rem;
  }

  .dog-gallery h2 {
    font-size: 1.5rem;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
  }
}

