/* Litter page styles for von der Weidenvilla */

/* Parents section */
.parents-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 30px auto;
  max-width: 1200px;
}

.parent-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  color: #A4A4A4;
}

.parent-info h3 {
  color: #B18904;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.parent-info strong {
  color: #B18904;
  font-size: 1.2em;
}

.parent-photo {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border: 2px solid #B18904;
  border-radius: 5px;
}

.parent-info a {
  color: #B18904;
  text-decoration: none;
}

.parent-info a:hover {
  text-decoration: underline;
}

/* Puppy photo gallery */
.puppy-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
}

.puppy-photo-container {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px; /* Padding for mobile devices */
}

.puppy-photo {
  max-width: 100%;
  width: 100%;
  max-width: 800px; /* Maximum size for comfortable viewing */
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.photo-caption {
  color: #B18904;
  font-size: 1.1em;
  margin-top: 10px;
  font-style: italic;
}

/* Litter info section */
.litter-info {
  text-align: center;
  margin: 30px auto;
  color: #A4A4A4;
}

.litter-info h1 {
  color: #A4A4A4;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.litter-info a {
  color: #B18904;
  text-decoration: none;
}

.litter-info a:hover {
  text-decoration: underline;
}

/* Modern Photo Slider */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(177, 137, 4, 0.3);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-slide {
  min-width: 100%;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 600px;
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #B18904;
  padding: 15px;
  text-align: center;
  font-size: 1.1em;
  font-style: italic;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(177, 137, 4, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(177, 137, 4, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow-prev {
  left: 20px;
}

.slider-arrow-next {
  right: 20px;
}

/* Dot Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
  border: 2px solid #B18904;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: #888;
}

.slider-dot.active {
  background: #B18904;
  transform: scale(1.3);
}

/* Counter */
.slider-counter {
  text-align: center;
  color: #A4A4A4;
  margin-top: 10px;
  font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
  .parents-section {
    flex-direction: column;
    align-items: center;
  }

  .parent-info {
    max-width: 100%;
  }

  .puppy-photo-container {
    padding: 0 10px;
  }

  .puppy-photo {
    max-width: 100%;
    width: 100%;
  }

  .litter-info h1 {
    font-size: 1.4em;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .slider-arrow-prev {
    left: 10px;
  }

  .slider-arrow-next {
    right: 10px;
  }

  .slider-slide img {
    max-height: 400px;
  }
}
