body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

/* Navbar trong suốt mờ */
.navbar-custom {
  background: rgba(255, 255, 255, 0.1); /* nền trắng mờ */
  backdrop-filter: blur(12px); /* hiệu ứng mờ */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

/* Đổi màu chữ navbar sang đen/xám đậm để nổi bật trên nền sáng */
.navbar-nav .nav-link {
  color: #222; /* hoặc #333, #111 nếu bạn muốn đậm hơn */
  font-weight: 500;
  padding: 8px 16px;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff; /* màu xanh dương nổi bật khi hover */
  text-shadow: 0 0 2px rgba(0, 123, 255, 0.4);
}

.navbar-nav .nav-link.active {
  color: #d63384; /* màu hồng nổi bật */
  font-weight: 600;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgb(14, 139, 69);
  margin-right: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

body {
  padding-top: 70px;
}

/* Content*/
.content {
  text-align: center;
}

.baner {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.adoption-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.adoption-process {
  width: 70%;
}
.adoption-title {
  font-size: 28px;
  font-weight: bold;
}
.adoption-intro {
  font-size: 16px;
  margin-top: 10px;
}

.adoption-step {
  margin-top: 10px;
}

.adoption-step .step-title {
  font-size: 18px;
  font-weight: bold;
}

.adoption-note {
  margin-top: 20px;
  font-size: 14px;
}

.adoption-conditions h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.adoption-sidebar:hover {
  transform: scale(1.05);
  background-color: #bbb;
}
.adoption-conditions ul {
  padding-left: 20px;
}
.adoption-conditions ul {
  list-style-type: none;
  padding-left: 0;
}

.adoption-conditions li {
  font-size: 16px;
  margin-bottom: 8px;
}
.filter-pets {
  padding: 40px 20px;
  text-align: center;
}

.filter-buttons {
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin: 0 10px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.filter-btn.active {
  background-color: #333;
}

.filter-btn:hover {
  background-color: #45a049;
}
#search-input {
  width: 100%;
  max-width: 400px;
  margin-top: 30px;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#search-input:focus {
  border-color: #4CAF50; 
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}


.pets-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
  padding: 10px;
}

.pet-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.pet-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.pet-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pet-item .info {
  padding: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  text-align: left;
}

.pet-item .info strong {
  font-size: 16px;
  color: #2a7d2e;
  display: block;
  margin-bottom: 6px;
}

.adoption-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 40px;
}

.adoption-process {
  width: 70%;
  flex: 1;
}

.adoption-sidebar {
  width: 25%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (max-width: 768px) {
  .adoption-wrapper {
    margin: 0 20px;
  }

  .adoption-process,
  .adoption-sidebar {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .pets-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .pet-item .info {
    font-size: 13px;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 6px;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}
.page-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .adoption-wrapper {
    margin-left: 200px;
  }

  .pets-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .pets-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .adoption-wrapper {
    padding: 10px;
  }

  .adoption-process,
  .adoption-sidebar {
    width: 100%;
  }
}

/*Responsive cho danh sách thú cưng*/
@media screen and (max-width: 1024px) {
  .pets-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .pet-item {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .adoption-wrapper {
    flex-direction: column;
    margin: 0 10px;
  }

  .adoption-process,
  .adoption-sidebar {
    width: 100%;
    flex: unset;
  }
}
@media screen and (max-width: 600px) {
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .filter-btn {
    flex: 1 1 40%;
    padding: 8px 10px;
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .baner {
    max-height: 250px;
    object-fit: cover;
  }
}
@media screen and (max-width: 480px) {
  .page-btn {
    padding: 8px 12px;
    font-size: 14px;
    margin: 3px;
  }
}
@media screen and (max-width: 480px) {
  .adoption-title {
    font-size: 22px;
  }

  .adoption-intro,
  .adoption-note,
  .step-title {
    font-size: 14px;
  }
}
/*btn nhận nuôi*/
.adopt-btn {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.adopt-btn:hover {
  background-color: #02360d;
}
/*footer*/
.footer {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-transform: uppercase;
  border-bottom: 2px solid #ffffff50;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.contact-info {
  flex: 1 1 200px;
  min-width: 220px;
  background-color: #34495e;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.contact-info:hover {
  background-color: #3c5a72; 
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-info h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #f1c40f;
}

.contact-info a {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  margin: 8px 0;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #1abc9c;
}

.contact-info img {
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.footer-address {
  flex: 1 1 100%;
  background-color: #1a252f;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.footer-address h4 {
  font-size: 20px;
  color: #f39c12;
  margin-bottom: 10px;
}

.footer-address p {
  margin: 5px 0;
  font-size: 14px;
  color: #bdc3c7;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .footer-address {
    width: 100%;
  }
}


