/* Header Styles */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: rgb(244, 253, 230);
}

/* Logo Styles */
.logo-container {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: "Kolker Brush", cursive;
  font-size: 96px;
  color: #002a48;
  line-height: 1;
  margin: 0;
}

.logo-tagline {
  font-family: "Alata", sans-serif;
  font-size: 20px;
  color: #002a48;
  margin-top: -10px;
  /* margin: -10px 0 0 0; */
}

/* Navigation Styles */
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: "Alata", sans-serif;
  font-size: 24px;
  color: #002a48;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .logo-text {
    font-size: 60px;
  }

  .logo-tagline {
    font-size: 16px;
  }

  .nav-link {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu-button i {
    font-size: 24px;
    color: #002a48;
  }
}

@media (max-width: 600px) {
  .pets-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    padding: 0 8px;
  }

  .pet-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .pet-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #fff;
}

/* Main container */
.adopt-page {
  background-color: #fff;
  overflow: hidden;
}

/* Hero banner section */
.hero-banner {
  background-color: rgba(236, 252, 213, 0.6);
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-banner {
    max-width: 100%;
  }
}

.hero-header {
  background-color: #fff;
  align-self: stretch;
  width: 100%;
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 24px;
  color: #002a48;
  font-weight: 400;
}

@media (max-width: 991px) {
  .hero-header {
    max-width: 100%;
  }
}

.hero-image {
  aspect-ratio: 1.54;
  object-fit: contain;
  object-position: center;
  width: 100%;
  border-radius: 0;
  align-self: stretch;
  margin-top: 11px;
}

@media (max-width: 991px) {
  .hero-image {
    max-width: 100%;
  }
}

/* What's new section */
.whats-new-container {
  display: flex;
  margin-top: 59px;
  width: 100%;
  max-width: 1173px;
  align-items: stretch;
  gap: 20px;
  font-weight: 400;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .whats-new-container {
    max-width: 100%;
    margin-top: 40px;
  }
}

.whats-new-content {
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.whats-new-label {
  color: #000;
  font-size: 17px;
  line-height: 1;
}

.whats-new-title {
  color: #003459;
  font-size: 25px;
  line-height: 1;
  text-transform: capitalize;
  font-weight: 400;
}

.view-more-btn {
  justify-content: center;
  align-items: center;
  border-radius: 55.95px;
  border: 1.472px solid #003459;
  align-self: start;
  display: flex;
  margin-top: 18px;
  padding: 12px 27px;
  gap: 8px;
  font-family:
    Gilroy-Light,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 17px;
  color: #003459;
  line-height: 1;
  background-color: transparent;
  cursor: pointer;
}

@media (max-width: 991px) {
  .view-more-btn {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.arrow-icon {
  aspect-ratio: 1.05;
  object-fit: contain;
  object-position: center;
  width: 20px;
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
}

/* Pets grid section */
.pets-grid {
  margin-top: 26px;
  width: 100%;
  max-width: 1159px;
}

@media (max-width: 991px) {
  .pets-grid {
    max-width: 100%;
  }
}

.pets-row {
  gap: 20px;
  display: flex;
}

@media (max-width: 991px) {
  .pets-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}

/* Pet column */
.pet-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: normal;
  width: 25%;
  margin-left: 0;
}

.pet-column:not(:first-child) {
  margin-left: 20px;
}

@media (max-width: 991px) {
  .pet-column {
    width: 100%;
    margin-left: 0 !important;
  }

  .pet-column:not(:first-child) {
    margin-top: 20px;
  }
}

.pet-card-wrapper {
  display: flex;
  flex-grow: 1;
  padding-bottom: 6px;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pet-card-wrapper {
    margin-top: 20px;
  }

  .pet-column:first-child .pet-card-wrapper {
    margin-top: 0;
  }
}

/* Pet card */
.pet-card {
  border-radius: 11.779px;
  box-shadow: 0px 3.926px 27.484px -1.963px rgba(0, 0, 0, 0.08);
  background-color: #fdfdfd;
  padding: 8px 8px 0;
}

.pet-image-container {
  background-color: #fff;
  display: flex;
  width: 259px;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  aspect-ratio: 1;
}

.pet-image {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.pet-image-single {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 259px;
  border-radius: 10px;
  max-width: 100%;
}

.pet-image-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.pet-image-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.pet-image-front {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.pet-info {
  margin-top: 8px;
  padding: 8px 8px 20px;
  font-weight: 400;
  line-height: 1.5;
}

.pet-details {
  width: 100%;
  max-width: 243px;
}

.pet-name {
  color: #00171f;
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.pet-attributes {
  display: flex;
  margin-top: 4px;
  width: 100%;
  align-items: start;
  gap: 4px;
  font-size: 12px;
  color: #667479;
  justify-content: start;
}

.pet-attribute {
  display: flex;
  align-items: start;
  gap: 6px;
  white-space: nowrap;
  justify-content: start;
}

@media (max-width: 991px) {
  .pet-attribute {
    white-space: initial;
  }
}

.attribute-label {
  font-family:
    Gilroy-Light,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.attribute-value {
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.view-more-pill {
  border-radius: 20px;
  background-color: rgba(217, 217, 217, 0);
  border: 1px solid rgba(0, 0, 0, 0.13);
  align-self: end;
  z-index: 10;
  margin-top: 10px;
  padding: 4px 12px;
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 12px;
  color: #000;
  font-weight: 400;
  line-height: 2;
  cursor: pointer;
}

@media (max-width: 991px) {
  .view-more-pill {
    margin-right: 10px;
  }
}

/* Footer section */
.site-footer {
  background-color: rgba(236, 252, 213, 1);
  align-self: stretch;
  margin-top: 27px;
  width: 100%;
}

@media (max-width: 991px) {
  .site-footer {
    max-width: 100%;
  }
}

.footer-container {
  width: 100%;
}

@media (max-width: 991px) {
  .footer-container {
    max-width: 100%;
  }
}

.footer-top {
  border: 1px solid #d9d9d9;
  display: flex;
  width: 100%;
  padding: 80px 91px 80px 60px;
  align-items: start;
  gap: 40px 119px;
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-weight: 400;
  justify-content: start;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .footer-top {
    max-width: 100%;
    padding: 80px 20px;
  }
}

.footer-logo {
  color: #000;
  font-size: 60px;
  flex-grow: 1;
  flex-shrink: 1;
  width: 154px;
}

@media (max-width: 991px) {
  .footer-logo {
    font-size: 40px;
  }
}

.logo-text {
  font-family:
    "Kolker Brush",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 96px;
  color: #002a48;
}

.logo-tagline {
  font-size: 20px;
  color: #002a48;
}

.footer-links {
  display: flex;
  min-width: 240px;
  align-items: start;
  gap: 40px 139px;
  text-align: center;
  justify-content: end;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .footer-links {
    max-width: 100%;
  }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  width: 207px;
}

.footer-nav-title {
  color: #0e2515;
  font-size: 18px;
  letter-spacing: -0.18px;
  font-weight: 400;
}

.footer-nav-list {
  display: flex;
  margin-top: 24px;
  flex-direction: column;
  align-items: start;
  font-size: 16px;
  color: #8c8c8c;
  letter-spacing: -0.16px;
  justify-content: start;
  list-style-type: none;
}

.footer-nav-list li {
  margin-top: 16px;
}

.footer-nav-list li:first-child {
  margin-top: 0;
}

.footer-nav-list a {
  color: #8c8c8c;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #dedede;
  display: flex;
  width: 100%;
  padding: 32px 60px;
  align-items: start;
  gap: 40px 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .footer-bottom {
    max-width: 100%;
    padding: 32px 20px;
  }
}

.copyright {
  color: #8c8c8c;
  font-size: 16px;
  font-family:
    Alata,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-weight: 400;
  letter-spacing: -0.16px;
  text-align: center;
}

.social-media {
  display: flex;
  align-items: end;
  gap: 24px;
  justify-content: start;
}

.social-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 24px;
  flex-shrink: 0;
}

/* Mobile Navigation Fixes */
@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 100%;
    /* Adjust if needed */
    left: 0;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .main-nav {
    position: relative;
    flex-wrap: wrap;
    /* Allow wrapping */
  }

  .nav-link {
    display: block;
    /* Ensure they are visible in the dropdown */
    margin: 10px 0;
  }
}

/* Mobile Optimizations (Max-width: 576px) */
@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-banner1 {
    padding-left: 0;
    margin-right: 0;
  }

  .nav-container {
    margin-left: 0;
  }

  .brand-primary {
    font-size: 60px;
  }

  .logo-text {
    font-size: 60px;
  }

  .whats-new-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .search-container {
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #pet-search {
    width: 100% !important;
  }

  .pets-row {
    gap: 20px;
  }

  .pet-column {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .footer-top {
    padding: 40px 20px;
    gap: 30px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .social-media {
    justify-content: center;
    width: 100%;
  }
}