
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Afacad', sans-serif;
  background-color: #ffffff;
}

/* ------------------- */
/* Tab Menu */
/* ------------------- */

.style_tab_menu {
  width: 100%;
  height: 60px;
  background-color: white;

  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.15);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 40px;

  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

/* Menu */

.menu-list {
  display: flex;
  align-items: center;
  gap: 30px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: flex;
  align-items: center;
}

.menu-list a {
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;

  transition: color 0.3s ease;
}

.menu-list a:hover {
  color: #777;
}
.divider {
  color: #999;
  font-weight: 400;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* รูป */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* สำคัญมาก */
}

/* overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* text */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 1;
  font-size: 32px;
}

/* section ถัดไป */
.content {
  background: white;
  padding: 100px 40px;
}



/* select layout */
.product-grid {
  width: 90%;
  max-width: 800px;
  margin: 30px auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.box {
  border: 6px solid #d9552f;
  border-radius: 4px;
  background: white;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.25);

  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.box h2 {
  margin: 0;
  color: #d9552f;
  font-family: 'Afacad', sans-serif;
  font-size: 36px;
  line-height: 0.95;
  font-weight: 400;
}

.box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.box .imgbiger {
  max-width: 50%;
  max-height: 100%;
  object-fit: contain;
}

/* ขนาดของแต่ละกล่อง */
.big-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.tall {
  grid-column: span 1;
  grid-row: span 2;
  flex-direction: column;
  align-items: flex-start;
}

.small {
  grid-column: span 1;
  grid-row: span 2;
  flex-direction: column;
  align-items: flex-start;
}

.wide {
  grid-column: span 2;
  grid-row: span 1;
}

.long {
  grid-column: span 2;
  grid-row: span 1;
}

.medium {
  grid-column: span 2;
  grid-row: span 1;
  flex-direction: column;
}

.box {
  transition: all 0.25s ease;
}

.box:hover {
  background-color: #d9552f; /* สีส้ม */
}

.box:hover h2 {
  color: white; /* ตัวอักษรขาว */
}
.box,
.box:hover,
.box:focus,
.box:active {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-top: 120px;
}
.section-title-minor {
  gap: 16px;
  margin: 30px ;
  margin-left: 160px;
  font-weight: bold;
  font-size: 28px;
  color: #d9552f;
  margin-top: 120px;
  }

.bar {
  margin: 40px; 
  margin-left: 130px; 
  width: 8px;
  height: 80px;
  background: #d9552f;
}
.title-text {
  display: flex;
  flex-direction: column;
}
.section-title h2 {
  font-size: 72px;
  color: #d9552f;
  font-weight: bold;
}

.section-title h5 {
  
  font-size: 36px;
  color: #d9552f;
  font-weight: 400;
}

.image-container{
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 60px;
}

/* รูปภาพ */
.image-container img{
    width: 100%;
    max-width: 700px;   /* ขนาดสูงสุดบนจอใหญ่ */
    height: auto;       /* รักษาสัดส่วนรูป */
    display: block;
}

.image-container-minor{
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 60px;
}
.image-container-minor img{
    width: 30%;
    max-width: 700px;   /* ขนาดสูงสุดบนจอใหญ่ */
    height: auto;       /* รักษาสัดส่วนรูป */
    display: block;
}

.image-container-big{
    display: flex;
    justify-content: center;   /* จัดกึ่งกลางแนวนอน */
    align-items: center;       /* จัดกึ่งกลางแนวตั้ง (ถ้าต้องการ) */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 10px;
}

/* รูปภาพ */
.image-container-big img{
    width: 100%;
    max-width: 500px;   /* ขนาดสูงสุดบนจอใหญ่ */
    height: auto;       /* รักษาสัดส่วนรูป */
    display: block;
}

.text-center{
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    font-size: 64px;   /* ขนาดฟอนต์ */
    color: #d9552f;      /* สีตัวอักษร */
    margin-top: 60px;
    margin-bottom: 60px;
    font-weight: bold; /* ความหนา */
}

.diagram-box{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-top: 60px;
}

.diagram-box img{
    width: 70%;
    display: block;
    margin: auto;
}

.diagram-svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.label-text{
  fill: #d9552f;
  font-size: 20px;
  font-weight: bold;
}

.label-text-th{
  fill: #d9552f;
  font-size: 18px;
  font-weight: bold;
}
.Construction-text {
  text-align: center;   /*  จัดข้อความให้อยู่กลาง */
  margin-top: 80px;     /* เว้นจากด้านบน */
  margin-bottom: -60px;
  font-size: 24px;
  font-family: 'Afacad', sans-serif;
  font-weight: bold;
  color :#D65A31;
}

.Table-head-text {
  text-align: center;   /*  จัดข้อความให้อยู่กลาง */
  margin-top: 80px;     /* เว้นจากด้านบน */
  margin-bottom: -80px;
  font-size: 24px;
  font-family: 'Afacad', sans-serif;
  font-weight: bold;
  color :#D65A31;
}

.Construction-text-lower {
  text-align: center;   /*  จัดข้อความให้อยู่กลาง */
  margin-top: 40px;     /* เว้นจากด้านบน */
  margin-bottom: -60px;
  font-size: 18px;
  font-family: 'Afacad', sans-serif;
  font-weight: bold;
  color :#D65A31;
}

table {
  border-collapse: collapse;
  width: 40%;
  font-family: Arial, sans-serif;
  margin: 0 auto;   /* ทำให้ตารางอยู่กึ่งกลาง */
  margin-top: 90px;     /* เว้นจากด้านบน */
}

th {
  background-color: #D65A31;
  color: white;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

.product-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 60px;
    gap: 40px;

    flex-wrap: wrap;
}
.product{
    text-align: center;
}

.product img{
    width: 250px;
    height: auto;
    display: block;
}

.product p{
    margin-top: 15px;
    font-size: 20px;
    color: #d9552f;
}
.list-container {
  display: flex;
  gap: 60px; /* ระยะห่างระหว่าง 2 ฝั่ง */
      color :#D65A31;
      justify-content: center;
      margin-top: 80px;
}
.list-container ul li{
  list-style-type: disc;
  padding-left: 20px;
  font-family: 'Afacad', sans-serif;
  font-size: 20px;
}

.ball-symbol {
    display: inline-block;
    width: 14px;
    height: 14px;
  }

  /* ● สีเขียว */
  .ball-green {
    background: #72b34a;
    border-radius: 50%;
  }

  /* ○ สีเหลือง */
  .ball-yellow {
    background: #ffe600;
    border-radius: 50%;
  }

  /* ▲ สีแดง */
  .ball-red {
    background: red;
    border-radius: 50%;
  }

  /* ✕ สีดำ */
  .ball-black {
    background: black;
    border-radius: 50%;
  }


