/* =============================
   NAVIGATION + HEADER
   ============================= */

nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  z-index: 100;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-bottom: 0.3rem;
}

nav a:hover {
  color: var(--gold);
}

/* aktivní položka v menu */
nav a.active {
  color: var(--gold);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

header {
  padding: 4rem 1.5rem;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

header a {
  text-decoration: none;
  color: var(--gold);
  font-weight: 600;
}

/* =============================
   PŘEHLED PSŮ
   ============================= */

.dog-list {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.dog-card {
  background: gold;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dog-card a:hover {
  background: #b89333;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.dog-card h2 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.dog-card p {
  color: #777;
  margin-bottom: 1.5rem;
}

.dog-card a {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  background: var(--gold);
  color: white;
  text-decoration: none;
  font-weight: 600;
  opacity: 1;                 /* VŽDY viditelné */
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.dog-card a:hover {
  background: #b89333;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* =============================
   DETAIL PSA
   ============================= */

h1 {
  text-align: center;
}

p {
  max-width: 700px;
  margin: 0.5rem auto 2.5rem;
  text-align: center;
}

/* =============================
   GALERIE
   ============================= */

.gallery {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.04);
}

/* =============================
   FOOTER
   ============================= */

footer {
  background: var(--dark);
  color: #ccc;
  text-align: center;
  padding: 3rem 1.5rem;
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 600px) {
  header h1 {
    font-size: 2.2rem;
  }
}
}
