@import url("https://fonts.googleapis.com/css2?family=Montagu+Slab:wght@500&family=Montserrat:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(230, 62%, 56%);
  --title-color: hsl(230, 70%, 16%);
  --text-color: hsl(230, 16%, 45%);
  --border-color: hsl(230, 50%, 90%);
  --white-color: hsl(0, 0%, 100%);
  --body-color: hsl(230, 100%, 96%);
  --container-color: hsl(230, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Montagu Slab", serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color .4s;
}

input,
button {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  

}

video {
max-width: 100%;
height: 100%;
  border-radius: 10px;

}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/

body.dark-theme {

  --title-color: hsl(230, 48%, 85%);
  --text-color: hsl(230, 16%, 70%);
  --border-color: hsl(230, 12%, 18%);

  --body-color: hsl(230, 12%, 8%);
  --container-color: hsl(230, 12%, 12%);
}



/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/

.dark-theme .shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 4%, .4);
}


.dark-theme .nav__menu {
  box-shadow:  0 -8px 32px hsla(0, 0%, 8%, .4);
}


.dark-theme .scrollup {
  box-shadow: 0 2px 8px hsla(0, 0%, 4%, .4);
}

.dark-theme .wak {
  /*color: hsl(0, 2%, 84%);
  */
}


.dark-theme .search,
.dark-theme .login {
  background-color: hsla(230, 12%, 8%, .6);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(230, 16%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(230, 16%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(230, 16%, 35%);
}




/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1220px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
 margin-top: -4rem;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom:2.3rem;
 
}


.section__title2 {
  text-align: center;
 margin-top: -5rem;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom:2.3rem;
 
}



.section__title3 {
  text-align: center;
 margin-top: -2rem;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom:2.3rem;
 
}

.section__title1 {
  text-align: center;
  color: var(--first-color);
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom:2.3rem;
  margin-top: -5rem;
 
}

.main {
  overflow: hidden;
  /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow .4s, background-color .4s;

}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.nav__logo i {
  font-size: 1.25rem;
}

/* Navigation for mobile devices */

/* nav for mobile */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--container-color);
    box-shadow: 0-8px 32px hsl(0, 0%, 0%, .1);
    padding: 1.25rem 4rem;
    transition: background-color .4s;

  }

}

.nav__list {
  display: flex;
  justify-content: space-between;
 
}

.nav__link {
  color: var(--text-color);
  transition: color .4s;

}

/*ตัวอักษรหาย*/

.nav__link span {
  display: none;
  
}




.nav__link i {
  font-size: 1.25rem;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.nav__actions i {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .4;
}

.nav__actions i:hover {
  color: var(--first-color);
}




/* Add shadow header */
scroll-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 88%, 0.1)
}

/* Active link */


.active-link {
  color: var(--first-color);
}


/*=============== SEARCH ===============*/


/* Show search */


/*=============== LOGIN ===============*/

/*=============== HOME ===============*/
.home__swiper {
  margin: initial;
}

.home__container {
  padding-top: 2rem;
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: 2.6em;
  margin-bottom: 1rem;
  margin-top: -1rem;
  text-align: center;

}


.home__title1 {
  font-size: 2.6em;
  margin-bottom: 1rem;
  margin-top: -4.5rem;
  text-align: center;

}
.home__title2 {
  font-size: 2.6em;
  margin-bottom: 0.7rem;
  margin-top: -4rem;
  text-align: center;

}


.home__desciption {
 margin-top: 1rem;
 font-size:1rem;
  
}




.home__article,
.home__img {

  transition: scale .2s;

}

.home__article {
  scale: .8;
}


/*
.home__data {
  text-align: center;
margin-bottom: 1rem;
}
.home__description {
  margin-bottom: 2rem;

}
.home__article,
.home__img {
  width: 220px;
  transition: scale .4s;
}
.home__article {
  scale: .8;

}
/*
/* Swiper class */
.swiper-slide-active,
.swiper-slide-duplicate-active {
  scale: 1;
}




/*=============== BUTTON ===============*/


.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: .5rem .5rem;
  transition: box-shadow .4s;
margin-top: 0.6rem ;
margin-left: 0rem;
}

.button:hover {
  box-shadow: 0 4px 32px hsla(230, 72%, 32%, .4);
}




/*=============== SERVICES ===============*/


.services__container {
  row-gap: 3rem;

}

.services__card {
  text-align: center;

}

.services__card i {
  display: block;
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1rem;

}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}









/*=============== FEATURED ===============*/


/* Swiper class */

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

.swiper-button-prev,
.swiper-button-next {
  width: 1.5rem;
  height: initial;
  
  padding: .5rem;
  font-size: 7em;
  color: rgba(0, 0, 0, 0.637);
  transition: border .4s bacground-color .4s;
 top: 50%;
 bottom: 50%;
 
}

.dark-theme .swiper-button-prev::after,
.dark-theme.swiper-button-next::after {
  content: '';
}

.dark-theme .swiper-button-prev,
.dark-theme .swiper-button-next {
  width: 1.5rem;
  height: initial;
  
  padding: .5rem;
  font-size: 7em;
  color: var(--title-color);
  transition: border .4s bacground-color .4s;
 top: 50%;
 bottom: 50%;
 
}





/*=============== DISCOUNT ===============*/


/*=============== NEW ===============*/

.new__card {
  display: flex;
  align-items: center;

}
  /* ปรับค่า padding เพื่อลดขนาดของกรอบลง */

  
.new__vid {
  display: flex;
  align-items: center;
 
}



.new__img {
  width: 100%;
  height: 160px;
/* object-fit: cover;*/

}

.new__title {
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;

}

.new__prices {
  display: flex;
  align-items: center;
  column-gap: .75rem;
  margin-bottom: .75rem;
}

.new__discount {
  color: var(--title-color);
}

.new__price {
  font-size: var(--small-font-size);
  text-decoration: line-through;
}

.new__stars {
  color: var(--first-color);
}

.new__swiper:nth-child(1) {
  margin-bottom: 2rem;
}

/*=============== JOIN ===============*/





.discount__data {
  text-align: center;
}

.discount__title {
  margin-bottom: 1.5rem;
  font-size: var(--biggest-font-size);
  
  
}

.discount__description {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  
}

.discount__images {
    display: flex;
    justify-content: center;
    margin-top: 0.4rem;
    padding: 2rem;
    border-top: 4px solid rgba(94, 94, 94, 0.16);
    border-left: 4px solid rgba(94, 94, 94, 0.16);
    border-bottom: 4px solid rgba(94, 94, 94, 0.16);
    border-right: 4px solid rgba(94, 94, 94, 0.16);
    border-radius: 9px;
}

.detaill__room li {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  
}


.discount__img {
 

border-radius: 8px;
}




.image-container1 {
  flex: 1;
}

.image-container1 img {
  max-width: 300px;
  height: 50px;
}

.text-container {
  flex: 1;
  padding: 0 20px;
}

.text-container h1 {
  font-size: 24px;
}

.text-container p {
  font-size: 18px;
}







/*=============== TESTIMONIAL ===============*/


/*=============== FOOTER ===============*/



.footer {
  padding-block: 4rem 6rem;
 
}


.footer__container {
  row-gap: 3rem;
  
}

.footer__logo {
  display: inline-flex;
align-items: center;
column-gap: .5rem;
color: var(--first-color);
font-size: var(--h3-font-size);
font-family: var(--second-font);
margin-bottom: 1.25rem;
}

.footer__logo i {
  font-size: 1.25rem;
}

.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 3rem 2rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.footer__links {
display: grid;
row-gap: .5rem;


 }
 .footer__link {
  color: var(--text-color);
  transition: color .4s;
 }

 .footer__link:hover {
  color: var(--first-color);
 }

 .footer__info {
  font-style: normal;
 }

 .footer__social {
  display: flex;
  column-gap: 1.25rem;
 }


 .footer__social-link {
  font-size: 1.25rem;
  color: var(--first-color);
 }


 .footer__copy {
  display: block;
  margin-top: 5rem;
  text-align: center;
  font-size: var(--small-font-size);
 }





 /*=============== SCROLL BAR ===============*/
::-webkit-scroollbar {
  width: 6rem;
  border-radius: .5rem;
  background-color: hsl(230, 16%, 85%);
}


::-webkit-scroollbar-thumb {
  width: .5rem;

  background-color: hsl(230, 16%, 65%);
}

::-webkit-scroollbar-thumb:hover {
  background-color: hsl(230, 16%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  box-shadow: 0 2px 8px hsla(230, 72%, 32%, .4);
display: inline-flex;
padding: 6px;
font-size: 1.25rem;
color: var(--title-color);
z-index: var(--z-tooltip);
transition: bottom .4s, transform .4s, background-color .4s;
}

/* Show Scroll Up */
.scrollup:hover {
  transform: translateY(-.5rem);
}


.show-scroll {
  bottom: 6rem;
} 

/*=============== BREAKPOINTS ===============*/
/* For small devices */

@media screen and (max-width: 320px){
  .container {
    margin-inline: 1rem;

  }

.nav__menu {
  padding-inline:3rem ;

}


.discount__img-1,
.discount__img-2 {
  width: 140px;
}
.new__card {
  flex-direction: column;
}

.testimonial__card {
  padding-inline: 1rem;
}
.footer__data {
  grid-template-columns: 1fr;
  row-gap: 2rem;
}




.map-container {
  padding-bottom: 100%; /* เพิ่มความสูงของ container เพื่อให้ iframe แสดงผลได้ถูกต้อง */
 
  
}

iframe {
  width: 100%;
  height: 50vw; /* ปรับความสูงของ iframe เพื่อให้แสดงผลได้ถูกต้อง */
  border-radius: 0;
  margin: 0;
}

.button__1 {
  margin-top: 1rem; /* ปรับระยะห่างด้านบนของปุ่ม */
  margin-left: auto;
  margin-right: auto;
  display: block; /* ทำให้ปุ่มแสดงเป็นบล็อกทั้งหมด */
}

}




/* For medium devices */

@media screen and (min-width: 450px) {
  .featured__card {
    width: 290px;
  }
.new__card {
  width:390px
}

.testimonial__card {
  width: 320px;
}


.new__img {
height: 185px;
  object-fit: cover;  
}

.discount__img {
 

border-radius: 8px;
}

 

.map-container {
  padding-bottom: 100%; /* เพิ่มความสูงของ container เพื่อให้ iframe แสดงผลได้ถูกต้อง */
}

iframe {
  width: 100%;
  height: 50vw; /* ปรับความสูงของ iframe เพื่อให้แสดงผลได้ถูกต้อง */
  border-radius: 0;
  margin: 0;
}

.button__1 {
  margin-top: 1rem; /* ปรับระยะห่างด้านบนของปุ่ม */
  margin-left: auto;
  margin-right: auto;
  display: block; /* ทำให้ปุ่มแสดงเป็นบล็อกทั้งหมด */
}


}

@media screen and (min-width: 576px) {
  
.nav__menu {
  width: 380px;
  margin-inline: auto;
}

.home__container,
.discount__container {
  grid-template-columns: 420px;
  justify-content: center;
}



.footer__data {
  grid-template-columns: repeat(3, max-content);
}


.new__img {
 
  height: 185px;
  object-fit: cover;
}
.discount__img {
 
  

border-radius: 8px;
}
.map-container {
  padding-bottom: 100%; /* เพิ่มความสูงของ container เพื่อให้ iframe แสดงผลได้ถูกต้อง */
}

iframe {
  width: 100%;
  height: 50vw; /* ปรับความสูงของ iframe เพื่อให้แสดงผลได้ถูกต้อง */
  border-radius: 0;
  margin: 0;
}

.button__1 {
  margin-top: 1rem; /* ปรับระยะห่างด้านบนของปุ่ม */
  margin-left: auto;
  margin-right: auto;
  display: block; /* ทำให้ปุ่มแสดงเป็นบล็อกทั้งหมด */
}

.wak {
  /*  color: rgb(71, 71, 71);*/
    display: block; /* บังคับให้ข้อความขึ้นบรรทัดใหม่ */
  }

 .swiper-button-prev::after,
  .swiper-button-next::after {
    content: '';
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 1.5rem;
    height: initial;
    
    padding: .5rem;
    font-size: 7em;
    color: black;
    transition: border .4s bacground-color .4s;
   top: 50%;
   bottom: 50%;
  margin-right: 2px;
  margin-left: 2px;
  }
  








}


@media screen and (min-width: 768px) {

  .home__desciption {
    /*margin-top: -1rem;*/
  }



.home__container {
  grid-template-columns: 580px;
}

.home__data {
  width: 420px;
justify-self: center;
}

.services__container {
  grid-template-columns: repeat(3, max-content);
justify-content: center;
column-gap: 5rem;


}

.footer__container {
  grid-template-columns: repeat(2, max-content);
justify-content: space-between;


}


.discount__img {
 

border-radius: 8px;
}




.map-container {
  padding-bottom: 100%; /* เพิ่มความสูงของ container เพื่อให้ iframe แสดงผลได้ถูกต้อง */
}

iframe {
  width: 100%;
  height: 50vw; /* ปรับความสูงของ iframe เพื่อให้แสดงผลได้ถูกต้อง */
  border-radius: 0;
  margin: 0;
}

.button__1 {
  margin-top: 1rem; /* ปรับระยะห่างด้านบนของปุ่ม */
  margin-left: auto;
  margin-right: auto;
  display: block; /* ทำให้ปุ่มแสดงเป็นบล็อกทั้งหมด */
}


.price {
 margin-left: 0.5rem;
}


.wak {
  /*  color: rgb(71, 71, 71);*/
    display: block; /* บังคับให้ข้อความขึ้นบรรทัดใหม่ */
  }
  
  .swiper-button-prev::after,
  .swiper-button-next::after {
    content: '';
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 1.5rem;
    height: initial;
    
    padding: .5rem;
    font-size: 7em;
    color: black;
    transition: border .4s bacground-color .4s;
   top: 50%;
   bottom: 50%;
  margin-right: 2px;
  margin-left: 2px;
  }
  





}





/* For large devices */

@media screen and (min-width: 1150px) {

  

  .home__desciption {
    margin-top: 1.5rem;
  }


  .home__article,
  .home__img {
  width: 100%;
  border-radius: 11px;
  }  


  .section {
    padding-block: 7rem 2rem;

  }
  .nav {
    height: calc(var(--header-height) + 2rem);
  column-gap: 4rem;
  }
.nav__link i {
  display: none;
}
.nav__link span {
  display: block;
}

.nav__menu {
  width: initial;
  margin-inline:auto 0;  
}
.nav__list {
  column-gap: 4rem;
}

.nav__link {
  font-weight: var(--font-medium);
}

.dark-theme .nav__menu {
 box-shadow: none; 
}

.home__data {
  width: initial;
}
.services__container {
  column-gap: 10rem;
}
.services__card i {
font-size: 3.5rem;
}
.featured__container {
  padding-top: 2rem;
}

.discount__container {
  grid-template-columns: 615px 500px;
  justify-content: space-between;
  align-items:center ;
}

.discount__data {
  order: 1;
}

.discount__data,
.discount__title {
  /*text-align: initial;*/
}

.discount__description {
  margin-bottom: 3.5rem;
}
.discount__img {
 
  max-width: 640px; /* กำหนดความกว้างสูงสุดของรูปภาพ */

border-radius: 8px;
}

.new__container {
  padding-top: 2rem;
}
.new__card {
  padding: 1.5rem;
}


.new__title {
  font-size: var(--h3-font-size);
}


.footer {
  padding-block: 6rem 3rem;
}
.footer__data {
  grid-template-columns: repeat(4, max-content);
  column-gap: 4.5rem;
}

.footer__logo,
.footer__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.5rem;
}
.footer__links {
  row-gap: 1.5rem;
}
.footer__social {
  column-gap: 1.5rem;

}
.footer__social-link {
  font-size: 1.5rem;
}
.footer__copy {
  margin-top:  7.5rem;
}
.scrollup {
  right: 3rem;
}
.show__scroll {
  bottom: 3rem;
}




.map-container {
  padding-bottom: 100%; /* เพิ่มความสูงของ container เพื่อให้ iframe แสดงผลได้ถูกต้อง */
}

iframe {
  width: 100%;
  height: 50vw; /* ปรับความสูงของ iframe เพื่อให้แสดงผลได้ถูกต้อง */
  border-radius: 0;
  margin: 0;
}

.button__1 {
  margin-top: 1rem; /* ปรับระยะห่างด้านบนของปุ่ม */
  margin-left: auto;
  margin-right: auto;
  display: block; /* ทำให้ปุ่มแสดงเป็นบล็อกทั้งหมด */
  
}




}
/* For desktop screens */
@media screen and (min-width: 1220px) {
  .container {
    margin-inline: auto;
  }
  .home__container {
    grid-template-columns: 435px 745px;
    align-items: center;
    padding-block: 7rem 2rem;
  }
  .home__data {
    text-align: center;
  }
  .home__description {
    margin-bottom: 4rem;
  }

  /* Slide number position for desktop */
  .slide-number {
    position: absolute;
    bottom: 30px;
   right: 29px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10;
  }




  .swiper-button-prev::after,
  .swiper-button-next::after {
    content: '';
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 1.5rem;
    height: initial;
    
    padding: .5rem;
    font-size: 7em;
    color: black;
    transition: border .4s bacground-color .4s;
   top: 50%;
   bottom: 50%;
  margin-right: 12px;
  margin-left: 12px;
  }
  




  


  .video-description {
    position: absolute;
    top: 10px; /* ตั้งอยู่ที่ด้านบนของพื้นที่ที่เกี่ยวข้อง */
    left: 50%; /* ตั้งอยู่ที่ 50% ของพื้นที่ที่เกี่ยวข้อง */
    transform: translateX(-50%); /* เลื่อนตำแหน่งตามแนวนอนให้อยู่ที่ตำแหน่งที่กำหนด */
    align-items: center;
    background-color: rgba(36,37,40,.85) ;/* Semi-transparent background */
    color: #ffffff; /* Text color */
    padding: 5px 10px; /* Padding around text */
    font-size: 28px; /* Font size of description */
    z-index: 1; /* Ensure description is above video */
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Hiragino Sans, Arial, MS PGothic, sans-serif;
  }
  


  .wak {
  /*  color: rgb(71, 71, 71);
    display: block; /* บังคับให้ข้อความขึ้นบรรทัดใหม่ */
  }
  
  .more__pic1 {
    height: 300px;
    margin-bottom: 2.5rem;
  }
  



  .item {
    text-align: center;
    font-size: 22px;
    margin-top: 2rem;
  
  }
  
  
  
  
  
  
  
  .text__update{
   font-size: 22px;
  
  }
  
  
  
  .divider {
    position: absolute;
    margin-top: 3rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc; /* สีเส้นแบ่ง */
  }
  
  
  




}

/* For mobile screens */
@media screen and (max-width: 1219px) {
  /* Slide number position for mobile */
  .slide-number {
    position: absolute;
    bottom: 5.5px;
    right: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.658);

    padding: 5px 8px;
    border-radius: 5px;
    font-size: 11.5px;
    z-index: 10;
  }



  .swiper-button-prev::after,
  .swiper-button-next::after {
    content: '';
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 1.5rem;
    height: initial;
    
    padding: .5rem;
    font-size: 5em;
    color: black;
    transition: border .4s bacground-color .4s;
   top: 50%;
   bottom: 50%;
  margin-right: -5px;
  margin-left: -5px;
  }


  
  .dark-theme .swiper-button-prev,
  .dark-theme .swiper-button-next {
    width: 1.5rem;
    height: initial;
    
    padding: .5rem;
    font-size: 5em;
    color: var(--title-color);
    transition: border .4s bacground-color .4s;
   top: 50%;
   bottom: 50%;
  margin-right: -5px;
  margin-left: -5px;
  }
  
  



  .home__title {
    font-size: 2.5em;
    margin-bottom: 1rem;
    margin-top: -1rem;
    text-align: center;
  
  }






/* CSS for Video Descriptions */
.video-description {
  position: absolute;
  top: 10px; /* ตั้งอยู่ที่ด้านบนของพื้นที่ที่เกี่ยวข้อง */
  left: 50%; /* ตั้งอยู่ที่ 50% ของพื้นที่ที่เกี่ยวข้อง */
  transform: translateX(-50%); /* เลื่อนตำแหน่งตามแนวนอนให้อยู่ที่ตำแหน่งที่กำหนด */
  align-items: center;
  background-color: rgba(36,37,40,.85) ;/* Semi-transparent background */
  color: #dddddd; /* Text color */
  padding: 5px 10px; /* Padding around text */
  font-size: 22px; /* Font size of description */
  z-index: 1; /* Ensure description is above video */
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Hiragino Sans, Arial, MS PGothic, sans-serif;
}



.discount__images {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.8rem ;
  border-top: 3px solid rgba(94, 94, 94, 0.16);
  border-left: 3px solid rgba(94, 94, 94, 0.16);
  border-bottom: 3px solid rgba(94, 94, 94, 0.16);
  border-right: 3px solid rgba(94, 94, 94, 0.16);
  border-radius: 9px;
}






.item {
  text-align: center;
  font-size: 19px;
  margin-top: 2rem;


}


.item span {
  padding-right: 0.3rem;
  
}






.text__update{
 font-size: 19px;

}



.wak {
  /*color: rgb(71, 71, 71);
  display: block; /* บังคับให้ข้อความขึ้นบรรทัดใหม่ */
}



}


.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.788);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.new__card:hover .hover-text {
  opacity: 1;
}








.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.expanded-image {
  margin-top: 2.2rem;
  width: 85%;
  max-height:100%;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px;
background-color: rgba(36,37,40,.85);
align-items: center;
  border: none;
  border-radius: 20px;
  font-size: 42px;
  cursor: pointer;
  box-shadow: 0 0 10px #dddddd;
  transition: background-color 0.3s ease;
 color: #fff;
  

}

.close-button:hover {
  background-color: #fff;
  color:rgba(36,37,40,.85) ;
  box-shadow: 0 0 10px black;

}
/* CSS for Video Containers */
.video-container {
  position: relative;
  width: 100%; /* Adjust width as needed */
  height: auto; /* Adjust height as needed */
  margin-bottom: 20px; /* Adjust margin as needed */
}

/* CSS for Videos */
.new__video {
  width: 100%; /* Adjust width as needed */
  height: 600px; /* Adjust height as needed */
}

/* CSS for Video Descriptions */


/*
.video-container video {
  max-width: 350px;
}


*/



.map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  border: none;
  border-radius: 8px;
  
  margin-top: 15px;
}
/* เพิ่มสไตล์ให้กับ image-counter */
.image-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  

}




.link-text:hover {
  color: var(--first-color) /* เปลี่ยนสีข้อความเมื่อโฮเวอร์ */
  cursor: pointer; /* เปลี่ยนรูปแบบเม้าส์เป็น pointer เมื่อโฮเวอร์ */


}






.price {
  display: flex;
  justify-content: space-between;
  margin-bottom: px;
  font-size: 17px;
  max-width: 400px;
  color: var(--title-color);
  background-color: ;
  padding: 25px;
  border-radius: 9px;
  box-shadow: inset 0 0 10px rgba(94, 94, 94, 0.16);
}

