body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jost', sans-serif;
}
html {
  scroll-behavior: smooth;
}
/* บังคับ Scrollbar ให้แสดงตลอดเวลาเพื่อป้องกันการกระโดด */
html {
    overflow-y: scroll;
}

.hero {
  background: url("img/banner_15.jpg") no-repeat center center/cover;
  min-height: 100vh; /* สูงเท่าหน้าจอ */
  display: flex;
  flex-direction: column;
  color: #003366;
}


.top-bar {
  background-color: #2d73b9;
  padding: 10px 80px;
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  
  z-index: 1000;
  /* padding: 10px 20px; เพิ่ม padding ตามต้องการ */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* เพิ่มเงาให้ดูยกขึ้น */
}

.logo {
  height: 80px;
}

.navbar {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  font-size: 33px;


  /* border-bottom: 3px solid #1a2b57;
  width: fit-content;
  margin: 0 auto; */
  
}
.menu-underline {
  border: none;
  border-top: 3px solid #031d67;
  width: 64%; /* หรือจะใช้ width: fit-content; แล้วครอบด้วย container */
  margin: -30px auto 20px auto; /* <— ขยับเส้นขึ้นด้วย margin-top ติดลบ */
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  
}

.navbar li a {
  text-decoration: none;
  color: #003366;
  margin: 0 20px;
  font-weight: bold;
}

.paw-icon {
  height: 64px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 40px 10%;
  flex-wrap: wrap;
}

.left {
  flex: 1 200px;  
  
  
}

.catdog {
  max-width: 100%;
  height: auto;

}

.right {
  flex: 1 1 300px;
  color: #3878b8;
  text-align: right;
}

.right h1 {
  font-size: 3.8rem;
  /* margin-bottom: 60px; */
  line-height: 1.10;
  font-family: "Fraunces", serif;
}

.right p {
  color: #0b1e54;
  font-size: 2.3rem;
  /* margin-bottom: 60px; */
  line-height: 1.6;
  font-weight: bold;
}

.buttons {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn {
  background-color: #2d73b9;
  font-size: 24px;
  color: #fff;
  border: 4px solid gold;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  font-family: "Young Serif", serif;

}
.btn:hover {
  background-color: #009acc;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #003366;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 25px;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .hero {
    background-image: url('img/banner_16.jpg');
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .menu-underline {
    display: none;
    width: 90%;
    margin: -20px auto 16px auto;
  }


  .navbar ul.show {
    display: flex;
  }

 /* 1. บังคับให้พื้นที่แสดงผลกว้างเต็มที่ */
   #gallery {
        /* 🌟 สำคัญ: กำหนดความสูงขั้นต่ำตามความสูงของรูปภาพ 1 รูป (ลองปรับค่าดู) 🌟 */
        min-height: 350px; /* **ค่านี้ต้องปรับให้พอดีกับความสูงของรูปภาพรีวิวของคุณ** */
        
        padding: 0; 
        gap: 0;
        width: 100%; 
    }

    /* 3. บังคับรูปภาพโดยตรง */
  .review-img {
    /* ... โค้ดเดิม ... */
    opacity: 1; /* เริ่มต้นที่ 1 */
    transition: opacity 0.2s ease-in-out; /* เพิ่มความนุ่มนวลเมื่อมีการเปลี่ยนค่า opacity */
}
 
 
 
 
 
  }


  @media (max-width: 768px) {
  .hamburger {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2000;
    color: #003366;
  }

}




.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
}

#gallery {
  display: flex;
  justify-content: center;
  gap: 10px; /* ช่องว่างระหว่างรูป */
  flex-wrap: nowrap; /* ให้แถวเดียว ไม่ให้รูปห่อไปแถวใหม่ */
}

.review-img {
  width: 22%; /* ขยายขนาดรูปให้ใหญ่ขึ้น (ลองปรับได้ตามชอบ) */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.review-img:hover {
  transform: scale(1.60); /* เวลาชี้เมาส์ให้ขยายเล็กน้อยดูสวยงาม */
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 22px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  color: #003366;
}

.arrow.left {
  left: 10px;
}
.arrow.right {
  right: 10px;
}


.footer {
  background-color: #f0eee5;
  padding: 0;
  font-family: 'Jost', sans-serif;
  color: #1a1a1a;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  padding-bottom: 20px;
}

.footer-section {
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #3366b8;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section h4 {
  color: #3366b8;
  margin: 20px 0 10px;
  font-weight: bold;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.social-icons img,
.shop-icons img {
  width: 60px;
  height: 60px;
  margin: 5px;
}

.footer-bottom {
  background-color: #3375b9;
  color: white;

  width: 100%;

  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  
}

