* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* BODY */

body {
  background-color: #f4ece1;
  color: #2b2520;
}

/* MAIN */

main {
  width: 100%;
}

/* NAVBAR*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  background-color: #f4e8d8;
}

/* NAVIGATION LINKS */

.nav-links {
  display: flex;
  gap: 66px;
  padding: 20px;
  font-size: 20px;
  font-family: "Manrope", sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: #1e2a44;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6f61;
}

/* Link Services yang sedang aktif */

#layanan {
  color: #ff6f61;
  font-weight: bold;
}

/* LOGO */

.logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

/* LOGIN BUTTON */

.login-button {
  background-color: white;
  color: black;
  border: none;
  padding: 10px 22px;
  font-size: 16px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.login-button a {
  text-decoration: none;
  color: inherit;
}

.login-button:hover {
  background-color: #9ca3af;
  color: white;
}

/* INTRO / HERO SECTION */

.intro {
  width: 100%;
  min-height: 592px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* =========================
   INTRO IMAGE
   ========================= */

.intro-image {
  width: 100%;
  height: 592px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(1.5px);
  display: block;
  background-color: #f7efe3;
}

/* =========================
   INTRO TEXT
   ========================= */

.intro-content {
  position: absolute;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: black;
}

.intro-content h1 {
  margin: 0 auto 20px;
  font-size: 82px;
  line-height: 1.2;
  color: #1e2a44;
}

.intro-content p {
  margin: 0 auto 12px;
  max-width: 800px;
  font-size: 22px;
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

/* GET STARTED BUTTON */

.get-started-button {
  background-color: #ff6f61;
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 550;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 0.3s ease;
}

.get-started-button a {
  text-decoration: none;
  color: inherit;
}

.get-started-button:hover {
  background-color: #e85b50;
}

/* ANIMALS SECTION*/
.animals-section {
  width: 100%;
  background-color: #513724;
  min-height: 200px;
  padding: 20px;
}

/* ANIMAL CATEGORY */

.category-animals {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  padding: 25px 30px;
  min-height: 200px;
  font-family: "Manrope", sans-serif;
}

/*  ANIMAL CARD */

.card-animals {
  width: 30%;
  height: 190px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-radius: 5px;
  color: white;
}

/* ANIMAL IMAGE */

.animals-img {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
}

.animals-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ANIMAL TEXT */

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.text {
  h2 {
    margin: 0;
    font-size: 24px;
  }
  p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }
  a {
    text-decoration: none;
    color: #ff6f61;
  }
}

.text a:hover {
  text-decoration: underline;
}

.information-text {
  h1 {
    color: #f8f0e4;
    margin: 12px;
    text-align: center;
    font-family: "Playfair Display", serif;
  }
  p {
    color: #f8f0e4;
    text-align: center;
    font-family: "Manrope", sans-serif;
    line-height: 1.5;
  }
}

/* Featured Companions */

.header-featured {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 50px 70px;
  line-height: 1.7;
}

.container-featured {
  h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    margin: 0;
  }
  p {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0;
  }
}

.tab-buttons {
  display: flex;
  gap: 20px;
  background-color: #f7f1eb;
  border: 1px solid #e6dcd0;
  border-radius: 40px;
  padding: 6px;
  width: fit-content;

  button {
    background-color: transparent;
    border-radius: 30px;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    margin: 0;
    color: #3a2e2b;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover,
  button.active {
    background-color: #e6dcd0;
    color: #ffffff;
  }
}

.container-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 20px 70px;
  gap: 50px;
}

.card-pets {
  border-radius: 16px;
  overflow: hidden; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  font-family: "Plus Jakarta Sans", sans-serif;
  border: 1px solid #e6dcd0;
  padding: 0 0 100px;

  img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
  }
}

.card-header-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 15px 20px 5px 20px;
}

.pet-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.pet-age {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: #D9534F;
  font-weight: 600;
}

.pet-breed {
  font-size: 14px;
  color: #776B65;
  margin: 0 20px 20px 20px;
}

/* CSS Why Choose Veypaws? */
.choose-veypaws {
  background-color: #f7f1eb;
  padding: 60px 40px;
}

.header-choose {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.7;
  margin: 0 auto 35px;
  width: 100%;
}

.header-choose h2{
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin: 0;
    font-weight: bold;
    text-align: center;
  }

.header-choose p{
    text-align: center;
    margin: 0;
  }

.card-choose {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px auto;
}

.card-item {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e6dcd0;
  padding: 32px 24px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}