<style>
/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sarabun", sans-serif;
  line-height: 1.7;
  background-color: #fff;
  color: #333;
}

/* --- Header & Navigation --- */
header {
  background-color: #0fa3e2;
  color: white;
  padding: 20px;
  text-align: center;
}

/* ===== Sticky Menu ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* เพิ่มพื้นหลังทึบเพื่อกันภาพด้านหลังรบกวนเมนู */
header {
  background-color: #0fa3e2;
  backdrop-filter: blur(6px);
}


header h1 {
  margin: 0;
  font-size: 2em;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* --- Section Layout --- */
section {
  padding: 30px 15%;
}

h2 {
  color: #0fa3e2;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

p {
  font-size: 16px;
  margin-bottom: 15px;
}

/* --- Slider --- */
.slider {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.slides img {
  width: 100%;
  display: none;
}

.slides img.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slider-dots {
  text-align: center;
  margin-top: 8px;
}

.slider-dots span {
  height: 10px;
  width: 10px;
  margin: 0 3px;
  display: inline-block;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .active {
  background-color: #0fa3e2;
}

/* --- Layout: Tour Section --- */
.tour-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  text-align: left;
}

.tour-section > div {
  max-width: 500px;
}

/* --- Highlight Box --- */
.highlight-box {
  background-color: #e6f7ff;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* --- VIP Van Section --- */
#vip-van {
  padding: 40px 15%;
  text-align: center;
}

#vip-van h2 {
  color: #0fa3e2;
  font-size: 1.4em;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  display: inline-block;
  padding-bottom: 5px;
}

.vip-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.vip-gallery .top-image {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.vip-gallery .bottom-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.vip-gallery .bottom-images img {
  width: 48%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* --- Packages Section --- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.tour-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-card h3 {
  color: #0fa3e2;
  margin: 15px;
  font-size: 1.2em;
}

.tour-card p {
  margin: 0 15px 15px;
  font-size: 15px;
}

.more-btn {
  display: block;
  background-color: #0fa3e2;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  font-weight: bold;
}

.more-btn:hover {
  background-color: #0d8fcc;
}

/* --- Footer --- */
footer {
  background-color: #0fa3e2;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* --- Responsive --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  section {
    padding: 20px;
  }

  .tour-section {
    flex-direction: column;
    align-items: center;
  }

  .slider {
    max-width: 100%;
  }

  #vip-van {
    padding: 20px;
  }

  .vip-gallery .bottom-images img {
    width: 100%;
  }
}

/* ===== Dropdown Menu ===== */

nav ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav ul.menu li {
  position: relative;
}

nav ul.menu > li {
  margin: 0 15px;
}

nav ul.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s;
}

nav ul.menu li a:hover {
  background-color: rgba(255,255,255,0.15);
  border-radius: 5px;
}

/* --- Submenu --- */
nav ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0fa3e2;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

nav ul.submenu li a {
  padding: 10px 15px;
  font-weight: normal;
  white-space: nowrap;
}

nav ul.submenu li a:hover {
  background-color: rgba(255,255,255,0.2);
}

/* --- Show submenu on hover --- */
nav ul.menu li.dropdown:hover > ul.submenu {
  display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  nav ul.menu {
    flex-direction: column;
    align-items: center;
  }
  nav ul.menu li {
    margin-bottom: 5px;
  }
  nav ul.submenu {
    position: static;
    box-shadow: none;
  }
}

/* Ensure nav stays above other content */
nav ul.menu {
  background-color: #0fa3e2;
}

/* Fix dropdown overlap when sticky */
nav ul.submenu {
  z-index: 2000;
}

/* Prevent layout jump when sticky */
header {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


  </style>