* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
/*
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
*/
.logo-img {
  height: 40px;
}

main{
  padding-top: 100px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ff7a00;
  transition: width 0.3s ease-in-out;
}

.menu a:hover {
  color: #ff7a00;
}

.menu a:hover::after {
  width: 100%;
}

.btn-login {
  background-color: transparent;
  border: 2px solid #f9a826;
  color: #f9a826;
  padding: 10px 30px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-login:hover {
  background-color: #f9a826;
  color: #fff;
}

.hero {
  background: #2196f3;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 40px;
  font-weight: bold;
}

.content-container {
  display: flex;
  gap: 30px;
  padding: 30px 40px;
  max-width: 1600px;
  margin: 0 auto;
  background-color: #f4f6f9;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: #3a4f6a;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
}

.sidebar .filter-group {
  margin-bottom: 15px;
}

.sidebar input,
.sidebar select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.btn-filtro {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #3a4f6a;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  margin-top: 10px;
}

.pets-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  align-items: start;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

strong {
  font-weight: 800;
}

.card-header h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.card #image-pet {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 15px 20px;
  text-align: center;
  flex-grow: 1;
}

.shelter-link {
  display: block;
  color: #00aeef;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 15px;
}

.pet-details {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #555;
  font-size: 14px;
}

.btn-quero {
  background: #ff8c00;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 20px 20px 20px;
  display: inline-block;
  text-decoration: none;
}

.btn-quero:hover {
  background: #e67e00;
}

.site-footer {
  background-color: #0d6efd;
  color: white;
  padding: 40px 0;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-logo a img {
  width: 10rem;
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .content-container {
    flex-direction: column;
    padding: 20px;
  }

  .sidebar {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}
