/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #dbe9f8;
  color: #030303;
}

/* ===== HERO ===== */
.pets-hero {
  position: relative;
  height: 75vh;
  background: url("https://i.postimg.cc/DzdD9Sr0/Pet-adoption-scaled.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(8, 36, 100, 0.473); */
}

.hero-content {
  position: relative;
  text-align: center;
  animation: fadeIn 1s ease;
}

.hero-content h1 {
  font-size: 3rem;
  color: #020202;
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #040404;
}

/* ===== INFO ===== */
.pets-info {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px 40px;
  text-align: center;
}

.pets-info h2 {
  color: #000000;
  font-size: 2rem;
  margin-bottom: 15px;
}

.pets-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
}

/* ===== PET CARDS ===== */
.pets-list {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pet-card {
  background:#bad9f3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.8);
}

.pet-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pet-card h3 {
  color: #000000;
  margin: 15px;
  font-size: 1.4rem;
}

.pet-card p {
  margin: 0 15px 8px;
  font-size: 0.95rem;
  color: #000000;
}

/* Status */
.status {
  margin: 10px 15px;
  font-weight: bold;
}

.available {
  color: #22c55e;
}

.pending {
  color: #facc15;
}

.adopted {
  color: #ef4444;
}

/* Button */
.pet-card button {
  margin: 15px;
  padding: 10px;
  width: calc(100% - 30px);
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E88E5, #1565C0);
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.pet-card button:hover:not(:disabled) {
  background:#3f7cd2;
  color: #080808;
}

.pet-card button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .pets-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pets-list {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
