body {
  background: var(--bg-color);
}

.content-section {
  padding: 5rem 0;
  background-color: #363636;
  display: flex;
  align-items: center;
  color: #fff;
  gap: 10rem;
}
.content-section .left {
  width: 100%;
}
.content-section img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-section .right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: start;
  gap: 1rem;
}

.content-section h5 {
  color: #f1ebdf;
  margin: 0;
}
.content-section h2 {
  color: #f1ebdf;
  margin: 0;
  font-weight: 300;
}

.content-section p {
  color: #f1ebdf;
  line-height: 1.6;
  letter-spacing: 0.1rem;
  margin: 0;
  width: 70%;
}

.divider1 {
  width: 70px;
  height: auto;
  margin-bottom: -2rem;
  margin-top: -2rem;
}
.dining {
  background-color: #363636;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full viewport height */
  text-align: center;
}

.dining h1 {
  margin: 10px 0;
  color: #ffff;
  font-weight: 300;
}

.dining h5 {
  margin: 10px 0;
  color: #fff; /* Optional color */
}

.dining p {
  margin: 10px 0;
  color: #fff; /* Optional color */
  max-width: 600px; /* Optional: to restrict paragraph width */
}
.rooms {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  overflow: hidden;
}

.room-types {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  justify-content: center;
}

.room {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.room-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.room img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.room-text {
  position: absolute;
  bottom: 45%; /* Distance from the bottom */
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  padding: 10px 10px;
  font-size: 3rem;
  text-align: center;
  pointer-events: none; /* Ensures text doesn't interfere with clicks */
  width: 65%;
}
.room-text h1 {
  font-size: 5vw;
  font-weight: 200;
  letter-spacing: 0.1rem;
}
#room-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15%;
}

.slider-container {
  margin: 0 auto;
  padding: 5rem 0;
  width: 40%;
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  width: 100%;
}

.slider {
  display: flex;
  width: 100%; /* Adjust based on the number of images */
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.slider img {
  max-width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: gray;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
}

.dot.active {
  background-color: white;
  opacity: 1;
}

.cusin-section {
  width: 100%;
  background-color: #d8d8d8;
  display: flex;
  align-items: center;
  gap: 11rem;
}

.cusin-section img {
  width: 40%;
  height: 120vh;
  object-fit: cover;
}
.cafe-section {
  width: 100%;
  background-color: #686868;
  display: flex;
  align-items: center;
  color: white;
  padding-left: 10%;
}

.cafe-section img {
  max-width: 40%;
  height: 80vh;
  object-fit: cover;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 60%;
  margin-top: 7rem;
}

.text-content h5 {
  color: black;
  margin: 0;
}

.text-content h2 {
  color: black;
  width: 80%;
  font-size: clamp(3.5vh, 3.5vw, 4vw);
  margin: 0;
  margin-bottom: 2%;
}

.text-content p {
  color: black;
  line-height: 1.6;
  margin: 0;
  width: 80%;
}

.cafe-section .text-content h5 {
  color: rgb(255, 255, 255);
  margin: 0;
}

.cafe-section .text-content h2 {
  font-size: clamp(3.5vh, 3.5vw, 4vw);
  color: rgb(255, 255, 255);
  width: 80%;
  margin: 0;
  margin-bottom: 2%;
}

.cafe-section .text-content p {
  color: rgb(255, 255, 255);
  line-height: 1.6;
  margin: 0;
  width: 60%;
}

#cus-btn {
  color: #000;
  border: 2px solid #000;
}
.gallery {
  padding-block: 5%;
  width: 100%;
  background-color: #d8d8d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.gallery img {
  width: 60%;
  margin-bottom: 2rem;
  margin-right: -6rem;
}

.gallery .content {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.gallery .content h5 {
  color: black;
  margin: 0;
}

.gallery .content h1 {
  font-size: clamp(3.5vh, 3.5vw, 4vw);
  text-transform: uppercase;
  color: black;
  width: 100%;
  margin: 0;
}
.gallery .content p {
  color: black;
  line-height: 1.6;
  margin: 0;
  width: 56%;
}

#gal-btn {
  color: #000000;
  border: 2px solid #000000;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Apply the animation to the element */
.title {
  animation: fadeIn 2s ease-in-out;
}

@keyframes loopText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.name #events {
  display: block; /* Keep it as a container */
  overflow: hidden; /* Ensure content doesn't spill outside */
  white-space: nowrap; /* Force all children to stay on the same line */
  width: 100%;
}

.text-loop {
  display: inline-block;
  white-space: nowrap;
  font-size: inherit;
  margin-right: 2%;
  animation: loopText 10s linear infinite;
}

@media screen and (min-width: 540px) and (max-width: 1024px) {
  .hero-content p {
    font-size: 2vw;
  }
  .content-section {
    gap: 3rem;
  }
  .content-section p {
    font-size: 1.5vw;
    width: 80%;
  }

  .room-types {
    flex-direction: column;
  }
  #room-btn {
    display: none;
  }

  .dining {
    height: max-content;
    padding: 4vh 2vh;
  }
  .dining h5 {
    font-size: 2vw;
  }
  .dining p {
    font-size: 2vw;
  }

  .slider-container {
    margin: 5% 0;
    width: 100%;
    padding: 0;
  }
  .slider-nav {
    bottom: 1rem;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .cusin-section {
    gap: 2rem;
  }
  .cusin-section img {
    height: 70vh;
    max-width: 40%;
  }
  .text-content {
    max-width: 100%;
    margin-top: 1rem;
  }
  .text-content h5 {
    font-size: 1vw;
  }
  .text-content h2 {
    width: 100%;
    font-size: 2.5vw;
  }
  .text-content p {
    width: 100%;
    font-size: 1.6vw;
  }
  .cus-btn {
    width: 50%;
    font-size: 1.5vw !important;
    padding: 2vw 5vw !important;
  }
  .gallery {
    gap: 2rem;
  }
  .gallery img {
    width: 80%;
    margin-right: 0;
  }
  .gallery .content {
    width: 100%;
    padding: 0 2rem;
  }
  .gallery .content h5 {
    font-size: 3vw;
  }
  .gallery .content h1 {
    font-size: 5vw;
    width: 100%;
  }
  .gallery .content p {
    font-size: 2vw;
    width: 100%;
  }
  .gal-btn {
    width: 40%;
    font-size: 2vw !important;
    padding: 2vw 4vw !important;
  }
  .gallery {
    gap: 2rem;
  }
  .gallery img {
    width: 100%;
    margin-right: 0;
  }
  .gallery .content {
    width: 100%;
    padding: 0 2rem;
  }
  .gallery .content h5 {
    font-size: 3vw;
  }
  .gallery .content h1 {
    font-size: 6vw;
    width: 100%;
  }
  .gallery .content p {
    font-size: 3vw;
    width: 100%;
  }
  .gal-btn {
    width: 50%;
    font-size: 2.5vw !important;
    padding: 2.5vw 5vw !important;
  }

  .cafe-section {
    flex-direction: column-reverse;
    padding: 0;
  }
  .cafe-section img {
    max-width: 100%;
  }
  .cafe-section .text-content {
    max-width: 100%;
    padding: 0 2rem;
    margin: 3vh;
  }
  .cafe-section .text-content h5 {
    font-size: 3vw;
  }
  .cafe-section .text-content h2 {
    width: 100%;
    font-size: 5vw;
  }
  .cafe-section .text-content p {
    width: 100%;
    font-size: 2vw;
  }
  .cafe-btn {
    width: 40%;
    font-size: 2vw !important;
    padding: 2.5vw 5vw !important;
  }
}

@media screen and (max-width: 480px) {
  .content-section {
    padding: 0 0 7% 0;
    flex-direction: column;
    gap: 2rem;
  }
  .content-section .right {
    padding: 0 2rem;
  }
  .content-section h5 {
    font-size: 3vw;
  }
  .content-section h2 {
    font-size: 6vw;
  }
  .content-section p {
    font-size: 3vw;
    width: 100%;
  }
  .cta-button {
    font-size: 2.5vw !important;
    width: fit-content;
  }

  .room-types {
    flex-direction: column;
  }
  #room-btn {
    display: none !important;
  }

  .dining {
    height: max-content;
    padding: 4vh 2vh;
  }
  .dining h5 {
    font-size: 3vw;
  }
  .dining p {
    font-size: 3vw;
  }

  .slider-container {
    margin: 10% 0;
    width: 100%;
    padding: 0;
  }
  .slider-nav {
    bottom: 1rem;
  }
  .dot {
    width: 6px;
    height: 6px;
  }

  .cusin-section {
    flex-direction: column;
    gap: 2rem;
  }
  .cusin-section img {
    height: 50vh;
    width: 100%;
  }
  .text-content {
    max-width: 100%;
    padding: 0 2rem;
    margin: 3vh;
  }
  .text-content h5 {
    font-size: 3vw;
  }
  .text-content h2 {
    width: 100%;
    font-size: 6vw;
  }
  .text-content p {
    width: 100%;
    font-size: 3vw;
  }
  #cus-btn {
    width: 50%;
    font-size: 2.5vw !important;
    padding: 2.5vw 5vw !important;
  }

  .gallery {
    gap: 2rem;
  }
  .gallery img {
    width: 100%;
    margin-right: 0;
  }
  .gallery .content {
    width: 100%;
    padding: 0 2rem;
  }
  .gallery .content h5 {
    font-size: 3vw;
  }
  .gallery .content h1 {
    font-size: 6vw;
    width: 100%;
  }
  .gallery .content p {
    font-size: 3vw;
    width: 100%;
  }
  #gal-btn {
    width: 100%;
    font-size: 2.5vw !important;
    padding: 2.5vw 5vw !important;
  }

  .cafe-section {
    flex-direction: column-reverse;
    padding: 0;
  }
  .cafe-section img {
    max-width: 100%;
    height: 50vh;
  }
  .cafe-section .text-content {
    max-width: 100%;
    padding: 0 2rem;
    margin: 3vh;
  }
  .cafe-section .text-content h5 {
    font-size: 3vw;
  }
  .cafe-section .text-content h2 {
    width: 100%;
    font-size: 6vw;
  }
  .cafe-section .text-content p {
    width: 100%;
    font-size: 3vw;
  }
  #cafe-btn {
    width: 50%;
    font-size: 2.5vw !important;
    padding: 2.5vw 5vw !important;
  }
}
