/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* Sticky navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.678);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: bold;
  color: orange;
  font-size: 1.5rem;
  margin-left: 4rem;
  font-family: "Bayon";
}

.menu a {
  margin-left: 30px;
  text-decoration: none;
  color: black;
  font-family: "Dangrek";
  font-weight: 500;
}

.menu a:hover {
  color: orange;
  text-decoration: underline; 
}

/* Hero section with background */
.hero {
  background: url('/img/angkor.jpg') no-repeat center center/cover;
  color: white;
  padding: 10rem 2rem;
}

.hero h2,
.hero p,
.hero button,
.hero h1 {
  margin-left: 20rem;
  font-family: "Bayon";
}
.hero button a {
  text-decoration: none;
  color: white
}

.hero h1 {
  font-size: 3rem;
  font-family: "Bayon";
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero button {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, rgb(206, 145, 74), rgb(214, 32, 32));
  border: 1px white solid;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.hero button:hover {
  background: linear-gradient(to right, rgba(238, 238, 238, 0.747), rgba(214, 32, 32, 0.747));
}

.image img {
  width: 100%;
  max-width: 700px;
  object-fit: cover;
  margin-left: 1rem;
  vertical-align: middle;
  margin-top: 20px;
}

.wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;

}
.wrapper button{
  font-family: "Bayon";
}

.texts {
  flex:1;
  max-width: 650px;
}
.texts p {
  font-family: "Dangrek";
}

.texts .subtitle {
  font-size: 1.3rem;
  color: rgb(248, 101, 16);
  margin-bottom: 0.5rem;
  font-weight: 550;
  font-family:"Battambang" ;
}

.about-script {
  font-family: 'Segoe Script', cursive;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
  font-family: "Battambang";
}

.texts p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 1rem;
}

.texts button {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, rgba(206, 144, 74, 0.733), rgb(214, 32, 32));
  border: 1px white solid;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  cursor: pointer;


}

.texts button i {
  margin-right: 0.5rem;
}

.texts button:hover {
  background: linear-gradient(to right, rgba(238, 238, 238, 0.712), rgba(214, 32, 32, 0.747));
}

.iconShowinfo {
  width: 100%;
  height: 150px;
  background: #833AB4;
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(199, 60, 83, 1) 0%, rgba(253, 29, 29, 0.582) 58%, rgba(252, 176, 69, 1) 100%);
  margin-top: 30px;
}

.icon-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  margin: 0 200px;

}

.icon img {
  margin-bottom: 10px;
}
.icon h3 {
  font-family: "Bayon";
}

.title-booking {
  text-align: center;
  /* font-size: 2rem; */
  color: rgb(3, 3, 3);
  margin-top: 20px;

}

.title-booking .subtitle {
  font-size: 1.2rem;
  color: rgb(248, 101, 16);
  margin-bottom: 0.5rem;
  font-weight: 550;
}

.title-booking h1 {
  font-family: "Dangrek";
  font-size: 3rem;
  text-decoration: underline;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

#titleForplace{
    font-family: "Moul";

}
.card-content {
  font-family: "Dangrek";
}

.title-booking p {
  width: 1300px;
  margin: auto;
  font-family: "Bayon";
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333333b6;
  margin-bottom: 1rem;
}

.card-container {
  display: flex;
  gap: 20px;
  /* Space between cards */
  flex-wrap: wrap;
  /* Allows cards to wrap on smaller screens */
  justify-content: center;
  padding: 20px;
  width: 70%;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
  width: 400px;
  /* Fixed width for consistency */
  overflow: hidden;
  transition: transform 0.2s;
  /* Smooth hover effect */
}

.card:hover {
  transform: translateY(-5px);
  /* Lift effect on hover */
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /* Ensures image fits nicely */
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #333;
}

.card-content .price {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: #ff4500;
  /* Orange color for price */
  font-weight: bold;
}

.card-content .details {
  margin: 0;
  font-size: 0.9em;
  color: #666;
  line-height: 1.4;
}

.description-tour {
  text-align: center;
  padding: 20px;

  border-radius: 10px;
}

.description-tour h1 {
  margin-bottom: 20px;
  font-family: "Moul";
}

.description-tour p {
  margin: 0;
  font-family: "Bayon";
  font-size: 20px;
  line-height: 1.5;
  color: #333333c3;
}
.description-tour h2 {
  font-family: "Bayon";
}


.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1200px;
  font-family: "Bokor";
  margin: auto;
}

.tour-item {
  position: relative;
  text-align: center;
  color: white;
}

.tour-item img {
  width: 100%;
  height: auto;
  display: block;
}

.tour-item h2 {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  margin: 0;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tour-item p {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff6347;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0;
  font-size: 16px;
}

.tour-item .hidden__link {
  position: absolute;
  bottom: 10px;
  left: 50%;
  font-weight: bold;
  transform: translateX(-50%);

  color: rgb(206, 119, 37);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  display: none;
  transition: all 0.3s ease;
}

.tour-item:hover h2 {
  top: 50%;
}

.tour-item:hover .hidden__link {
  display: block;
  transform: translate(-50%, -50%);
  top: 70%;
}

.tour-item:hover img {
  filter: brightness(0.5);
}


.place-visit {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.place-visit h1 {
  font-size: 2.3rem;
  color: #d25a13;
  font-family: "Moul";
  margin-bottom: 1.2rem;
  text-align: center;
}

.place-visit>p {
  font-size: 1.18rem;
  color: #333;
  font-family: "Bayon";
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
}

.place-visit ul {
  list-style: disc inside;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: "Dangrek";
}

.place-visit li {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.6;
  padding-left: 0.5rem;
}

.place-visit ul p {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #d25a13;
  font-weight: 500;
  text-align: left;
}

.place-visit br {
  display: none;
  /* Remove extra space from <br> tags */
}

.tour-grids {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: auto;
  gap: 10px;
  width: 70%;
}
.tour-grids h2 {
  font-family: "Moul";
}

.tour-second-items {
  position: relative;
  text-align: center;
  color: white;
  margin: 10px;
}

.tour-second-items h2 {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  margin: 0;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.tour-second-items span {
  font-family: "Bokor";
}
.tour-second-items img {
  width: 300px;
  border-radius: 10px;
}

.tour-second-items p {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff6347;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0;
  font-size: 16px;
}

.tour-second-items .hidden__link {
  position: absolute;
  bottom: 10px;
  left: 50%;
  font-weight: bold;
  transform: translateX(-50%);
  color: rgb(206, 119, 37);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  display: none;
  transition: all 0.3s ease;
}

.tour-second-items:hover h2 {
  top: 10%;
}

.tour-second-items:hover .hidden__link {
  display: block;
  transform: translate(-50%, -50%);
  top: 90%;
}

.tour-second-items span {
  position: absolute;
  bottom: 10px;
  left: 50%;
  font-weight: 100;
  font-size: 14px;
  transform: translateX(-50%);
  width: 170px;
  color: rgb(248, 247, 246);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  display: none;
  transition: all 0.3s ease;
}

.tour-second-items:hover span {
  display: block;
  transform: translate(-50%, -50%);
  top: 45%;
}

.tour-second-items:hover img {
  filter: brightness(0.5);
}

.tour-benefits {
  text-align: center;
  margin-top: 30px;
}
.tour-benefits p {
  font-family: "Bayon";
}

.tour-benefits h1 {
  font-size: 2.3rem;
  color: #2e2e2e;
  font-family: "Moul";
  margin-bottom: 1.2rem;
}

.benefit-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  margin: auto;
  width: 70%;
}

.benefit-items p {
  font-family: "Bayon";
}
.benefit-items {
  text-align: center;
  max-width: 400px;
  transition: all 0.3s ease;
  margin: 10px;
  padding: 40px;
  border-radius: 10px;
  background-color: #eb93210c;
  box-shadow: 5px 10px 18px #888888;
}

.benefit-items img {
  width: 50px;
  height: 50px;
}

.benefit-items h2 {
  font-size: 1.5rem;
  color: #2e2e2e;
  margin: 10px 0;
  font-family: "Moul";

}

.benefit-items p {
  font-size: 1.3rem;
  color: #555;
}

.benefit-items:hover {
  transform: translate(0, -10px);
}


.images-stocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 100px;
}

.images-stocks img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.photoTitle h1 {
  font-family: "Moul";
  text-align: center;
  margin-top: 20px;
}

footer {
  margin-top: 50px;
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
} 

/* RESPONSIVE DESIGN */

/* For tablets and below */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo {
    margin-left: 1rem;
  }

  .menu a {
    margin-left: 10px;
    display: inline-block;
    margin-top: 10px;
  }

  .hero h2,
  .hero p,
  .hero button,
  .hero h1 {
    margin-left: 2rem;
  }

  .wrapper {
    flex-direction: column;
    padding: 10px;
  }

  .image img {
    margin-left: 0;
    width: 90%;
    margin: 20px auto;
    display: block;
  }

  .texts {
    max-width: 100%;
    padding: 0 1rem;
  }

  .icon-container {
    flex-direction: column;
    gap: 1rem;
  }

  .icon {
    margin: 0;
  }

  .title-booking p {
    width: 90%;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-grids {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .benefit-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .images-stocks {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* For phones and small screens */
@media (max-width: 600px) {
  .hero {
    padding: 5rem 1rem;
  }

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

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

  .hero h2,
  .hero p,
  .hero button,
  .hero h1 {
    margin-left: 1rem;
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .images-stocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .place-visit {
    padding: 1rem;
  }

  .place-visit h1 {
    font-size: 1.8rem;
  }

  .place-visit > p {
    font-size: 1rem;
  }

  .tour-second-items img {
    width: 100%;
  }

  .title-booking h1 {
    font-size: 2rem;
  }

  .card {
    width: 90%;
  }

  .benefit-items {
    width: 90%;
  }

  .navbar {
    flex-direction: column;
    padding: 1rem;
  }

  .menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .menu a {
    margin: 5px 0;
  }
}

/* From Uiverse.io by JkHuger */ 
/* Default */
.theme {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.theme__fill,
.theme__icon {
  transition: 0.3s;
}

.theme__fill {
  background-color: var(--bg);
  display: block;
  mix-blend-mode: difference;
  position: fixed;
  inset: 0;
  height: 100%;
  transform: translateX(-100%);
}

.theme__icon,
.theme__toggle {
  z-index: 1;
}

.theme__icon,
.theme__icon-part {
  position: absolute;
}

.theme__icon {
  display: block;
  top: 0.5em;
  left: 0.5em;
  width: 1.5em;
  height: 1.5em;
}

.theme__icon-part {
  border-radius: 50%;
  box-shadow: 0.4em -0.4em 0 0.5em hsl(0,0%,100%) inset;
  top: calc(50% - 0.5em);
  left: calc(50% - 0.5em);
  width: 1em;
  height: 1em;
  transition: box-shadow var(--transDur) ease-in-out,
		opacity var(--transDur) ease-in-out,
		transform var(--transDur) ease-in-out;
  transform: scale(0.5);
}

.theme__icon-part ~ .theme__icon-part {
  background-color: hsl(0,0%,100%);
  border-radius: 0.05em;
  top: 50%;
  left: calc(50% - 0.05em);
  transform: rotate(0deg) translateY(0.5em);
  transform-origin: 50% 0;
  width: 0.1em;
  height: 0.2em;
}

.theme__icon-part:nth-child(3) {
  transform: rotate(45deg) translateY(0.45em);
}

.theme__icon-part:nth-child(4) {
  transform: rotate(90deg) translateY(0.45em);
}

.theme__icon-part:nth-child(5) {
  transform: rotate(135deg) translateY(0.45em);
}

.theme__icon-part:nth-child(6) {
  transform: rotate(180deg) translateY(0.45em);
}

.theme__icon-part:nth-child(7) {
  transform: rotate(225deg) translateY(0.45em);
}

.theme__icon-part:nth-child(8) {
  transform: rotate(270deg) translateY(0.5em);
}

.theme__icon-part:nth-child(9) {
  transform: rotate(315deg) translateY(0.5em);
}

.theme__label,
.theme__toggle,
.theme__toggle-wrap {
  position: relative;
}

.theme__toggle,
.theme__toggle:before {
  display: block;
}

.theme__toggle {
  background-color: hsl(48,90%,85%);
  border-radius: 25% / 50%;
  box-shadow: 0 0 0 0.125em var(--primaryT);
  padding: 0.25em;
  width: 6em;
  height: 3em;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color var(--transDur) ease-in-out,
		box-shadow 0.15s ease-in-out,
		transform var(--transDur) ease-in-out;
}

.theme__toggle:before {
  background-color: hsl(48,90%,55%);
  border-radius: 50%;
  content: "";
  width: 2.5em;
  height: 2.5em;
  transition: 0.3s;
}

.theme__toggle:focus {
  box-shadow: 0 0 0 0.125em var(--primary);
  outline: transparent;
}

/* Checked */
.theme__toggle:checked {
  background-color: hsl(198,90%,15%);
}

.theme__toggle:checked:before,
.theme__toggle:checked ~ .theme__icon {
  transform: translateX(3em);
}

.theme__toggle:checked:before {
  background-color: hsl(198,90%,55%);
}

.theme__toggle:checked ~ .theme__fill {
  transform: translateX(0);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(1) {
  box-shadow: 0.2em -0.2em 0 0.2em hsl(0,0%,100%) inset;
  transform: scale(1);
  top: 0.2em;
  left: -0.2em;
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part ~ .theme__icon-part {
  opacity: 0;
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(2) {
  transform: rotate(45deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(3) {
  transform: rotate(90deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(4) {
  transform: rotate(135deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(5) {
  transform: rotate(180deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(6) {
  transform: rotate(225deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(7) {
  transform: rotate(270deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(8) {
  transform: rotate(315deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(9) {
  transform: rotate(360deg) translateY(0.8em);
}

.theme__toggle-wrap {
  margin: 0 0.75em;
}

@supports selector(:focus-visible) {
  .theme__toggle:focus {
    box-shadow: 0 0 0 0.125em var(--primaryT);
  }

  .theme__toggle:focus-visible {
    box-shadow: 0 0 0 0.125em var(--primary);
  }
}
body {
  background-color: white;
  color: black;
  transition: background-color 0.3s, color 0.3s;
}

/* Dark mode class */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}
.contact-menu {
  position: relative;
  display: inline-block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 5px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.submenu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.submenu a:hover {
  background-color: #f0f0f0;
}

