* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Prompt", sans-serif;
}

body {
  line-height: 1.7;
  color: #333;
}

/* slideshow layer */
.hero-slideshow {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroSlide 36s infinite;
  z-index: 1;
}

/*HERO */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*.hero-overlay {
  position: absolute;
  bottom: 12%;                 /* 👈 จุดควบคุมตำแหน่ง 
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0,0,0,0.45);
  padding: 24px 32px;
  border-radius: 16px;
  color: #fff;
  max-width: 90%;
}*/

/* overlay content */
.hero-overlay {
  position: relative;
 /* position: absolute;*/
 /* bottom: 80px;*/
  left: 50%;
  transform: translateX(-50%);
  bottom: -20%;  
  z-index: 2;
  /*background: rgba(0,0,0,0.45);*/
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #e6f5e6;
}

/* slideshow animation */
/*size 1920X1080px*/
@keyframes heroSlide {
  0%   { background-image: url("../image/hero1.jpg"); }
  16%  { background-image: url("../image/hero2.jpg"); }
  32%  { background-image: url("../image/hero3.jpg"); }
  48%  { background-image: url("../image/hero4.jpg"); }
  64%  { background-image: url("../image/hero5.jpg"); }
  80%  { background-image: url("../image/hero6.jpg"); }
  100% { background-image: url("../image/hero1.jpg"); }
}

/*ปุ่ม*/

.hero-btn {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  text-decoration: none;
}

.btn-call,
.btn-line {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
}

.btn-call {
  background: #2e7d32;
  color: #fff;
}

.btn-line {
  background: #fff;
  color: #2e7d32;
}


/*เปิดมือถือ*/

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-overlay {
    /*bottom: 8%;*/
    padding: 18px 20px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}


/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  background: #111;
  color: #aaa;
}
/* MAP */
.map {
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
}

.map h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.map p {
  color: #666;
  margin-bottom: 25px;
}

.map-box {
  max-width: 1000px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.btn-map {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: #2e7d32;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
}
/* ABOUT */
.about {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* SERVICES */
.services {
  background: #f7f7f7;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* GALLERY */
.gallery {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,2fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  transition: .3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* CONTACT */
.contact {
  background: #2e7d32;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  text-decoration: none;
}

.contact a {
  color: #fff;
  text-decoration: none;
 /* text-decoration: underline;*/
}

/* MEETING ROOM */
.meeting {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.meeting h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.meeting-desc {
  color: #666;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* gallery */
.meeting-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: auto;
}

.meeting-gallery img {
  width: 100%;
  border-radius: 14px;
  transition: 0.3s;
}

.meeting-gallery img:hover {
  transform: scale(1.04);
}
/* video*/
.short-videos {
  padding: 60px 20px;
  background: #f7f7f7;
}

.short-videos h2 {
  text-align: center;
  margin-bottom: 25px;
}

/* แถววิดีโอ */
.video-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: auto;
}

/* วิดีโอแนวตั้ง */
.video-row video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
  object-fit: cover;
}

@media (max-width: 992px) {
  .video-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-row {
    grid-template-columns: 1fr;
  }
}

.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero .hero-overlay {
  position: relative;
  z-index: 2;
}

.video {
  padding: 60px 20px;
  text-align: center;
  background: #f7f7f7;
}

.video video {
  width: 100%;
  max-width: 960px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/*contact_img*/
.full-image {
  width: 100%;
  /*overflow: hidden;*/
}

.full-image img {
  width: 100%;
  height: auto;        /* 👈 ปรับตาม browser */
  display: block;      /* กันขอบขาวล่าง */
}
@media (max-width: 768px) {
  .full-image {
    height: auto;
  }
}

/* RESTAURANT */
.restaurant {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}

.restaurant h2 {
  margin-bottom: 25px;
}

/* gallery */
.restaurant-gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 4 ภาพ 1 แถว */
  gap: 16px;
  max-width: 1200px;
  margin: auto;
}

.restaurant-gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;   /* 👈 แนวตั้ง */
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  transition: 0.3s;
}

.restaurant-gallery img:hover {
  transform: scale(1.03);
}
@media (max-width: 992px) {
  .restaurant-gallery {
    grid-template-columns: repeat(2, 1fr); /* Tablet */
  }
}

@media (max-width: 600px) {
  .restaurant-gallery {
    grid-template-columns: 1fr; /* Mobile */
  }
}


/* AMBIENCE */
.ambience {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

.ambience h2 {
  margin-bottom: 10px;
}

.ambience-desc {
  color: #666;
  margin-bottom: 30px;
}

/* gallery */
.ambience-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 ภาพ 1 แถว */
  gap: 16px;
  max-width: 1200px;
  margin: auto;
}

.ambience-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;   /* 👈 แนวนอน */
  object-fit: cover;
  border-radius: 16px;
  transition: 0.3s;
}

.ambience-gallery img:hover {
  transform: scale(1.03);
}
@media (max-width: 992px) {
  .ambience-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ambience-gallery {
    grid-template-columns: 1fr;
  }
}

.btn-fb-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 20px;
  padding: 14px 26px;

  background: #1877f2;   /* สี Facebook */
  color: #fff;
  text-decoration: none;
  font-weight: bold;

  border-radius: 40px;
  transition: 0.3s;
}

.btn-fb-icon i {
  font-size: 18px;
}

.btn-fb-icon:hover {
  background: #145dbf;
  transform: translateY(-2px);
}

.virtual-tour {
  padding: 60px 20px;
  text-align: center;
}

.tour-box {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  max-width: 1200px;
  margin: auto;
}

.tour-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
/* VIRTUAL TOUR */
.virtual-tour {
  padding: 60px 20px;
  text-align: center;
  background: #f7f7f7;
}

.virtual-tour p {
  color: #666;
  margin-bottom: 30px;
}

/* Grid */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}

/* Card */
.tour-item {
  background: #fff;
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.tour-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}

.tour-item h3 {
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }
}
