/* Animals List Page Styles */

.hero-simple {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero-simple .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #8e4248;
}

.hero-simple .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.page-breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  color: #8e4248;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid #8e4248;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.breadcrumb-home:hover {
  background: #8e4248;
  color: white;
  transform: translateY(-1px);
}

.animals-list {
  padding: 4rem 0;
}

/* Filtres et recherche */
.filters-section {
  margin-bottom: 3rem;
}

.filters-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
}

.search-bar {
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #f8f8f8;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: #8e4248;
  background: white;
}

.search-input::placeholder {
  color: #999;
}

.filters-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.type-filter {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: white;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.type-filter:focus {
  border-color: #8e4248;
}

.clear-filters-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #8e4248;
  border: 2px solid #8e4248;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.clear-filters-btn:hover {
  background: #8e4248;
  color: white;
}

.animals-stats {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: #666;
}

/* Loading indicator */
.loading-indicator {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #8e4248;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-indicator p {
  color: #666;
  font-size: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Transition pour la grille */
#animals-grid {
  transition: opacity 0.3s ease;
}

.adoption-grid {
  margin-bottom: 2rem;
}

.animal-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.animal-card-link:hover .animal-card {
  transform: translateY(-4px);
}

.animal-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}

.animal-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.animal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.animal-card:hover .animal-image img {
  transform: scale(1.1);
}

.animal-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.animal-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #8e4248;
}

.animal-info p {
  color: #666;
  line-height: 1.5;
}

.link-arrow {
  color: #8e4248;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: auto;
  transition: color 0.3s ease;
}

.animal-card-link:hover .link-arrow {
  color: #654321;
}

.no-animals {
  text-align: center;
  padding: 4rem 0;
}

.no-animals-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #8e4248;
}

.no-animals-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-simple {
    padding: 2rem 0 1rem;
  }

  .hero-simple .hero-title {
    font-size: 2rem;
  }

  .hero-simple .hero-subtitle {
    font-size: 1rem;
  }

  .breadcrumb-home {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .filters-form {
    padding: 1.5rem;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .type-filter {
    min-width: 100%;
    margin-bottom: 1rem;
  }

  .clear-filters-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .adoption-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .animal-image {
    height: 200px;
  }

  .animals-list {
    padding: 2rem 0;
  }
}
