body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jost', sans-serif;
}
html {
  scroll-behavior: smooth;
}
/* ✅ ป้องกันการล้นแนวนอน */
html, body {
  overflow-x: hidden;
}


.hero {
  background: url("img/banner_17.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;
}



.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_18.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;
  }

  @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;
  
}









/* สไตล์สำหรับข้อมูลบริษัทและแผนที่ */
.company-info-map {
    background-color: #fff3e9; /* สีพื้นหลังตามภาพตัวอย่าง */
    color: rgb(0, 0, 0);
    padding: 50px 20px;
    text-align: center;
}

.company-address p,
.company-email p {
    margin: 5px 0; /* ระยะห่างระหว่างบรรทัด */
    font-size: 18px;
    line-height: 1.5;
}

.company-email {
    margin-top: 30px; /* ระยะห่างระหว่างที่อยู่กับอีเมล */
    margin-bottom: 40px; /* ระยะห่างระหว่างอีเมลกับแผนที่ */
}

.company-address strong,
.company-email strong {
    color: #0c1f74; /* สีทองสำหรับคำว่า ADDRESS และ EMAIL */
}

.map-container {
    width: 80%; /* ความกว้างของแผนที่ */
    max-width: 1000px; /* จำกัดความกว้างสูงสุด */
    margin: 0 auto; /* จัดกึ่งกลางแผนที่ */
    border: 3px solid #eeb26d; /* เพิ่มขอบสีทองรอบแผนที่ */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* เพิ่มเงา */
    overflow: hidden; /* ป้องกันเนื้อหาล้นขอบ */
    border-radius: 8px; /* มุมโค้งมนเล็กน้อย */
}

.map-container iframe {
    width: 100%;
    height: 450px; /* ความสูงของแผนที่ */
    display: block; /* ลบช่องว่างใต้ iframe */
}

/* Responsive สำหรับมือถือ */
@media (max-width: 768px) {
    .company-info-map {
        padding: 30px 15px;
    }
    .company-address p,
    .company-email p {
        font-size: 16px;
    }
    .map-container {
        width: 95%; /* แผนที่กว้างขึ้นบนมือถือ */
        height: 300px; /* ลดความสูงของแผนที่ */
    }
    .map-container iframe {
        height: 300px;
    }
}







/*กล่องข้อความ*/

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}
html {
    scroll-behavior: smooth;
}

/* ... โค้ด CSS ส่วน Navbar และ Hero เดิม ... */
/* ... (ส่วนนี้ไม่ได้แสดงซ้ำ แต่ใช้โค้ดเดิมของคุณ) ... */


/* ***** CSS สำหรับ Contact Form (ที่ปรับปรุงใหม่) ***** */

.contact-area {
    padding-top: 20px; /* เพิ่มระยะห่างจาก top-bar */
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* จัดให้อยู่กึ่งกลางในแนวนอน */
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    color: #3375b9;
    font-family: 'Young Serif', serif;
    padding: 0 20px;
}

.contact-header h2 {
    font-size: 40px;
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif;

}

.contact-header p {
    color: #555;
    font-size: 18px;
    margin-top: 0;
    font-family: 'Jost', sans-serif;
}

/* ** ใหม่: Container สำหรับจัดวางฟอร์มและรูปภาพเคียงข้างกัน ** */
.contact-content {
    display: flex;
    justify-content: center; /* จัดกึ่งกลางองค์ประกอบย่อย */
    align-items: flex-start; /* จัดให้อยู่ด้านบน */
    width: 90%;
    max-width: 1200px; /* จำกัดความกว้างรวมของส่วนนี้ */
    gap: 40px;
    font-family: 'Jost', sans-serif;
}

.form-wrapper {
    flex: 1; /* ให้ยืดหยุ่น */
    flex-shrink: 0;
    min-width: 400px;/* ยืนยันความกว้างขั้นต่ำ */
    max-width: 600px; /* จำกัดความกว้างของฟอร์ม */
}

.contact-form {
    background-color: rgb(183, 232, 255);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%; /* ใช้ความกว้างเต็มของ form-wrapper */
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

.contact-image {
    flex: 1; /* ให้ยืดหยุ่น */
    flex-shrink: 0;
    min-width: 300px; /* ยืนยันความกว้างขั้นต่ำ */
    max-width: 600px; /* จำกัดความกว้างของรูปภาพ */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    padding-top: 30px;
}


/* ... โค้ด CSS สำหรับฟอร์มและปุ่มเดิม ... */

.form-group {
    margin-bottom: 20px;
    

}

.form-group label {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #04233f;
    margin-bottom: 5px;
   
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.send-button {
    background-color: #fcaada;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%; 
    margin-top: 30px;
    font-family: 'Jost', sans-serif;
}

.send-button:hover {
    background-color: #3aa8c2;
}

/* ** ปรับ Responsive สำหรับมือถือ ** */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column; /* เปลี่ยนเป็นเรียงซ้อนกันในแนวตั้ง */
        gap: 30px;
        align-items: center;
    }

    .form-wrapper,
    .contact-image {
        max-width: 600px; /* จำกัดความกว้างสำหรับมือถือ */
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* ... โค้ด Responsive เดิมสำหรับ Navbar ... */
    
    .contact-area {
        padding-top: 100px;
    }
    .contact-form {
        padding: 20px;
    }
    .contact-header h2 {
        font-size: 32px;
        
    }
    .contact-header p {
        font-size: 16px;
    }
}

/* ... โค้ด CSS ส่วน Footer เดิม ... */
/* ... (ส่วนนี้ไม่ได้แสดงซ้ำ แต่ใช้โค้ดเดิมของคุณ) ... */