.header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .section_container {
  padding: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header_container {
  padding: 0;
  font-family: var(--font-primary);
}

.header_video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  opacity: 0.5;
  z-index: 0;
}

.header_container p {
  margin-bottom: 3rem;
  font-size: 1.15rem;
  color: var(--white);
  text-align: center;
  opacity: 0.6;
}

.header_container h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 4rem;
  color: var(--white);
  text-align: center;
}

.header_container h1 span {
  color: var(--primary);
}

.header_btn {
  display: none;
}

/* story section */
.story_section {
  background-color: var(--white);
}

.story_container {
  overflow: hidden;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.story_image img {
  max-width: 450px;
  margin: auto;
  border-radius: 5px;
}

.story_content h2 {
  font-family: var(--font-secondary);
}

.story_content h2,
.story_content p {
  max-width: max-content;
}

/* dine section */
.dine_section {
  background-color: var(--off-white);
  height: 100vh;
  max-width: 100%;
}

.dine_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
}

.dine_container .p,
.dine_container .h2 {
  align-self: flex-start;
  text-align: left;
}

.dine_container p {
  margin-bottom: 0rem;
}

.dine_container h2 {
  margin-bottom: 0rem;
}

.dine_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin: auto;
  align-items: center;
}

.dine_card {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  background: #fff;
  margin-inline: auto;
}

.slider {
  position: relative;
  height: max-content;
  overflow: hidden;
}

.room_image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: none;
}

.dine_card:hover .slides img {
  transform: scale(1.1);
}

.slides img.active {
  display: block;
}

.dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff0000;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
}

.caption {
  padding: 12px;
  font-size: 1.2rem;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.dine_btn {
  display: flex;
  gap: 4rem;
}

/* room section */
.room_section {
  background-color: var(--white);
  height: 100vh;
  max-width: 100%;
}

.room_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.room_container p {
  margin-bottom: 0rem;
}

.room_container h2 {
  margin-bottom: 0rem;
}

.room_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.room_card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.room_image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.room_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room_card:hover .room_image img {
  transform: scale(1.1);
}

.room_info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  transition: all 0.4s ease;
  background: linear-gradient(to top, rgb(0, 0, 0), transparent);
  margin-bottom: -1.5rem;
}

.room_price {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 5px;
}

.room_title {
  font-size: 1.25rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.room_features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.room_card:hover .room_info {
  transform: translateY(-20px);
}

.room_card:hover .room_features {
  opacity: 1;
  transform: translateY(0);
}

.features_left i {
  margin-right: 10px;
  font-size: 1rem;
}

.view_details {
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  font-family: var(--font-primary);
  font-weight: 600;
}

.view_details span {
  margin-left: 5px;
  transition: transform 0.3s;
}

.view_details:hover span {
  transform: translateX(5px);
}

.room_btn {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* event section */
.event_section {
  background-color: var(--off-white);
  height: 100vh;
  max-width: 100%;
}

.event_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.event_container p {
  margin-bottom: 0rem;
}

.event_container h2 {
  margin-bottom: 0rem;
}

.events_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 180px;
  gap: 1rem;
}

.event_card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.event_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event_card:hover img {
  transform: scale(1.1);
}

.event_tag {
  position: absolute;
  font-family: var(--font-primary);
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.event_card.tall {
  grid-row: span 2;
}

.event_card.wide {
  grid-column: span 2;
}

.event_btn {
  display: flex;
  justify-content: center;
}

/* offer section*/
.offer_section {
  background: var(--bg-dark);
  height: max-content;
  max-width: 100%;
  padding-block: 5rem;
  color: var(--white);
}

.offer_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
  gap: 5rem;
  margin: 0 auto;
  text-align: left;
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
}

.offer_text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: 70%;
}

.offer_container p {
  margin-bottom: 0rem;
  color: var(--white);
}

.offer_container h2 {
  margin-bottom: 0rem;
  color: var(--white);
}

.offer_cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.offer_card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex: 1;
  height: 200px;
  background: #252a32;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.463);
}

.offer_card i {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.8;
}

.offer_card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-secondary);
}

.offer_card p {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
  font-family: var(--font-primary);
}

.offer_card:hover {
  transform: translateY(-8px);
  background: #2e3440;
}

/* gallery section */

.gallery_section {
  background-color: var(--off-white);
  height: 100vh;
  max-width: 100vw;
}

.gallery_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.gallery_carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel_container {
  align-items: center;
  display: flex;
  height: 400px;
  margin: 0 auto;
  position: relative;
  cursor: grab;
}

.carousel_container.dragging {
  cursor: grabbing;
}

.carousel_item {
  height: 250px;
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  width: 380px;
  z-index: 0;
  border-radius: 10px;
  background-size: contain;
  -webkit-user-drag: none;
  user-select: none;
  object-fit: cover;
}

.carousel_item-1 {
  left: 15%;
  opacity: 0.4;
  transform: translateX(-50%);
}

.carousel_item-2,
.carousel_item-4 {
  height: 300px;
  opacity: 0.8;
  width: 430px;
  z-index: 1;
}

.carousel_item-2 {
  left: 30%;
  transform: translateX(-50%);
}

.carousel_item-3 {
  box-shadow: -2px 5px 5px 5px rgba(0, 0, 0, 0.2);
  height: 350px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  z-index: 2;
  border: 2px solid var(--primary);
}

.carousel_item-4 {
  left: 70%;
  transform: translateX(-50%);
}

.carousel_item-5 {
  left: 85%;
  opacity: 0.4;
  transform: translateX(-50%);
}

.offscreen {
  opacity: 0;
  pointer-events: none;
}

.carousel_controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 20;
}

.carousel_controls_prev,
.carousel_controls_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.22s ease, transform 0.12s ease;
  pointer-events: all;
  -webkit-tap-highlight-color: transparent;
}

.carousel_controls_prev {
  left: 16px;
}
.carousel_controls_next {
  right: 16px;
}

.carousel_controls_prev i,
.carousel_controls_next i {
  font-size: 18px;
  line-height: 1;
  color: #fff;
}

.carousel_controls_prev:hover,
.carousel_controls_next:hover {
  background: #e21b1b;
  transform: translateY(-50%) scale(1.04);
}

.carousel_controls_prev:active,
.carousel_controls_next:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel_controls_prev:focus,
.carousel_controls_next:focus {
  outline: 3px solid rgba(226, 27, 27, 0.22);
  outline-offset: 3px;
}

.gallery_carousel_nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery_carousel_nav li {
  background: rgb(242, 237, 228);
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery_carousel_nav li.carousel_item_selected {
  background: #ff0000;
}

.memory_btn {
  display: flex;
  justify-content: center;
}

/* location container */
.location_section {
  background-color: var(--white);
  height: max-content;
  max-width: 100%;
}

.location_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.location_maps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.location_map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 45%;
  min-width: 300px;
}

.location_map h3 {
  text-align: left;
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

.review_btn {
  display: flex;
  justify-content: center;
}

/* responsive */
@media (max-width: 1100px) {
  .header_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
  }

  .header_container h1 {
    margin-bottom: 2rem;
  }

  .header_btn {
    display: block;
  }

  .header_btn:hover {
    color: var(--white);
  }

  .dine_cards {
    display: flex;
  }

  .dine_section,
  .room_section,
  .event_section,
  .offer_section,
  .gallery_section {
    height: max-content;
  }

  .events_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    grid-auto-rows: 300px;
    gap: 2rem;
  }
  .event_card {
    height: 300px;
    width: 100%;
  }
  .event_card.tall {
    grid-row: span 1;
  }

  .event_card.wide {
    grid-column: span 1;
  }

  .event_btn {
    padding-bottom: 1rem;
  }

  .offer_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .offer_text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .story_container {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  .dine_cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .dine_card {
    width: 100%;
  }

  .events_gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    grid-auto-rows: 300px;
    gap: 2rem;
  }

  .event_card.tall {
    grid-row: span 1;
  }

  .event_card.wide {
    grid-column: span 1;
  }

  .offer_cards {
    flex-direction: column;
  }

  .carousel_container {
    height: 250px;
  }

  .carousel_item {
    height: 110px;
    width: 170px;
  }

  .carousel_item-2,
  .carousel_item-4 {
    height: 140px;
    width: 200px;
  }

  .carousel_item-3 {
    height: 200px;
    width: 260px;
  }

  .carousel_controls_prev,
  .carousel_controls_next {
    width: 36px;
    height: 36px;
  }

  .carousel_controls_prev i,
  .carousel_controls_next i {
    font-size: 16px;
  }
}
