
:root {
  --default-font: "Prompt",  system-ui, -apple-system, "Segoe UI", Prompt, 
  "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, 
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Prompt",  sans-serif;
  --nav-font: "Prompt",  sans-serif;
}


.controls {
  margin-bottom: 20px;
  /*max-height: 200px;*/
  overflow-y: auto;
}

.map-container {
  /*position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  margin: auto;
*/

    display: flex;
    justify-content: center; /* จัดกึ่งกลางแนวนอน */
    align-items: center;     /* จัดกึ่งกลางแนวตั้ง */
    flex-direction: column;  /* ให้เรียงแนวตั้ง */
    position: relative;      /* เพื่อให้ตำแหน่ง pin เป็น absolute ได้ */
  aspect-ratio: 4 / 3;
  margin: auto;


}


.map-image {
  width: 72%;
  height: auto;
  display: block;
}


.pin {
  position: absolute;
  width: 10%;
  height: auto;
  display: block;
  transform: translate(-50%, -100%); /* ให้หมุดชี้ปลายหมุดพอดี top น้อย = ขึ้น Left น้อย = 
  ซ้าย*/
}

.prince_suvarnabhumi { top: 46.8%; left: 47.5%; }
.prince_paknampho { top: 34.3%; left: 53.75%; }
.prince_uthaithani { top: 37.3%; left: 39.5%; }
.phisanuvet_phitsanulok { top: 30%; left: 53%; }
.phisanuvet_uttaradit { top: 24.7%; left: 45.75%; }
.phisanuvet_phichit { top: 31.7%; left: 49.75%; }
.wiratchasil_chumphon { top: 68.7%; left: 35.75%; }
.sirivej_lamphun { top: 21%; left: 36%; }
.prince_lamphun { top: 16%; left: 39%; }
.prince_ubon { top: 40%; left: 82%; }
.prince_sisaket { top: 39.3%; left: 74.5%; }
.prince_sakonnakhon { top: 25.3%; left: 73%; }
.ruampat_phitsanulok { top: 27.7%; left: 48.5%; }
.prince_mukdahan { top: 30.3%; left: 76.75%; }



.card {
   background: #fff;
  border: 0px solid #ccc;
  border-radius: 0px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ปรับขนาดและความเข้ม */
}

.stats {
  margin: 15px 0;
}

.popup {
  position: absolute;
  background: white;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 5px;
  display: none;
  z-index: 10;
  width: 200px;
  font-size: 14px;
}



.responsive-select {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 10px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .responsive-select {
    font-size: 14px;
    padding: 8px;
  }
}


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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}

.feature-box {
  flex: 1 1 25%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.feature-box:hover {
  transform: scale(1.01);
}

.overlay {
  position: absolute;
  inset: 0;
  /*background-color: rgba(0, 0, 0, 0.6); /* สีดำทึบอ่อนๆ */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background-color 0.4s ease;
}

.feature-box:hover .overlay {
  background-color: rgba(46, 94, 140, 0.85); /* สีทอง */
}

.overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 16px;
  line-height: 1.5;
}

/* ลิงก์ไอคอน */
.link-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 10;
}

.feature-box:hover .link-icon {
  opacity: 1;
}

.link-icon:hover {
  background-color: rgba(143, 125, 47, 0.9); /* เปลี่ยนสีทองเมื่อ hover */
}

/* Fade-in effect */
[data-fade] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-fade].show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-box {
    flex: 1 1 50%;
    min-height: 60vh;
  }
}

@media (max-width: 600px) {
  .feature-box {
    flex: 1 1 100%;
    min-height: 50vh;
  }

  .overlay {
    padding: 20px;
  }

  .overlay h3 {
    font-size: 20px;
  }

  .overlay p {
    font-size: 14px;
  }
}







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

.hero11 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('bg-07.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.overlay-content {
  background: rgba(255, 255, 255, 0.75); /*กล่องพื้นหลังสีขาวโปร่งแสง*/
  padding: 30px 40px;   /*ระยะห่างขอบใน*/
  border-radius: 12px; /*ขอบโค้งมน*/
  max-width: 900px; /*ไม่เกินความกว้างนี้*/
  width: 100%;   
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /*เงาแบบนุ่มเพื่อยกกล่องลอยขึ้น*/
}


.overlay-content1 {
  background: rgba(255, 255, 255, 0.45); /*กล่องพื้นหลังสีขาวโปร่งแสง*/
  padding: 10px 10px;   /*ระยะห่างขอบใน*/
  border-radius: 12px; /*ขอบโค้งมน*/
  max-width: 385px; /*ไม่เกินความกว้างนี้*/
  width: 100%;   
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /*เงาแบบนุ่มเพื่อยกกล่องลอยขึ้น*/
}



.overlay-content2 {
  background: rgba(255, 255, 255, 0.86); /*กล่องพื้นหลังสีขาวโปร่งแสง*/
  padding: 10px 20px;   /*ระยะห่างขอบใน*/
  border-radius: 12px; /*ขอบโค้งมน*/
  max-width: 600px; /*ไม่เกินความกว้างนี้*/
  width: 100%;   
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /*เงาแบบนุ่มเพื่อยกกล่องลอยขึ้น*/
}


.logo {
  max-width: 100%;
  width: 500px;
  height: auto;
  margin-bottom: 20px;
}

.description {
  font-size: 18px;
  color: #2e5e8c;
  margin-bottom: 20px;
  line-height: 1.6;
}

.discover-link {
  font-size: 16px;
  color: #2e5e8c;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.discover-link:hover {
  color: #5eaee0;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-content {
    padding: 20px;
  }

  .logo {
    width: 220px;
  }

  .description {
    font-size: 16px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .overlay-content1 {
    padding: 20px;
  }

  .logo {
    width: 220px;
  }

  .description {
    font-size: 16px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .overlay-content2 {
    padding: 20px;
  }

  .logo {
    width: 220px;
  }

  .description {
    font-size: 16px;
  }
}


@media (max-width: 480px) {
  .description {
    font-size: 15px;
  }

  .discover-link {
    font-size: 15px;
  }
}



/**package-section**/

.package-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.package-title {
  font-size: 48px;
  font-weight: bold;
  color: #444445;
  margin-bottom: 30px;
}

.image-link {
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-link:hover {
  transform: scale(1.02);
}

.banner-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.btn-container {
  margin-top: 20px;
}

.campaign-button {
  display: inline-block;
  background-color: #60aedf;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.campaign-button:hover {
  background-color: #2e5e8c;
}

/* Responsive */
@media (max-width: 600px) {
  .package-title {
    font-size: 36px;
  }

  .campaign-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}



/*แผนที่ อันใหม่ 10-6-68**/
.map-wrapper {
      max-width: 100%;
      overflow: hidden;
      padding: 16px;
      box-sizing: border-box;
    }

    .map-container {
      position: relative;
      width: 100%;
      max-width: 900px;
      margin: auto;
      transition: transform 0.3s ease;
      cursor: zoom-in;
    }

    .map-container.zoomed {
      transform: scale(1.8);
      cursor: zoom-out;
    }

    .map-container img.map {
      width: 100%;
      height: auto;
      display: block;
    }

    .pin {
      position: absolute;
      width: 40px;
      transform: translate(-50%, -100%);
      transition: transform 0.2s;
    }

    .pin:hover {
      transform: translate(-50%, -110%) scale(1.2);
      z-index: 2;
    }

    .card-container1 {
      max-width: 1200px;
      margin: 30px auto;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
      padding: 0 16px;
    }

    .card1 {
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      padding: 16px;
      width: 100%;
      max-width: 300px;
      box-sizing: border-box;
      transition: transform 0.2s;
    }

    .card1:hover {
      transform: scale(1.03);
    }

    .card1 h3 {
      margin: 0 0 10px;
      font-size: 18px;
      color: #333;
    }

    .card1 p {
      margin: 0;
      color: #666;
    }

    @media (max-width: 600px) {
      .map-container.zoomed {
        transform: scale(1.3);
      }
      .pin {
        width: 20px;
      }
    }


.province-tabs .nav-tabs {
  margin-bottom: 1rem;
}

.card1 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 16px;
  margin-bottom: 16px;
}

.card1 h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card1 p {
  color: #555;
}


