* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --ezz-darkred: #970404;
  --ezz-red: #cc2a0a;
  --ezz-yellow: #f79f1e;
  --ezz-blue: #14b7b9;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

a {
  text-decoration: none;
}

.bg-ezz-red {
  background-color: var(--ezz-red);
}
.bg-ezz-yellow {
  background-color: var(--ezz-yellow);
}
.bg-ezz-blue {
  background-color: var(--ezz-blue);
}
.bg-ezz-darkred {
  background-color: var(--ezz-darkred);
}

.btn-detail {
  color: white !important;
  border: none;
  text-decoration: none;
}

.shadow-cstm {
  box-shadow: 0 0.5rem 3rem #00000021 !important;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  z-index: 999;
  transition: all 0.5s;
}

.nav-links {
  list-style: none;
}

.nav-link {
  font-size: 1.05em;
  position: relative;
}

.nav-link::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: var(--ezz-yellow);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.book-btn {
  background-color: var(--ezz-red);
  color: #fff !important;
}
.book-btn::after {
  background-color: transparent;
}

.menu {
  display: none;
}

.menu-dropdown {
  display: none;
  width: 100%;
  top: 5rem;
  background-color: white;
  position: fixed;
  z-index: 999;
}
.menu-dropdown a {
  text-align: center;
  padding: 0.2rem 0;
  color: black;
}

/* ========== hero section ========== */
.landing {
  position: relative;
}
.landing::after {
  content: "";
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, #000000f3, #00000000);
  z-index: 2;
}

.slider-container {
  height: 100vh !important;
  width: 100%;
  position: relative;
  /* overflow: hidden; */
}

.header-text {
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  z-index: 5;
}

.header-text h1 {
  font-size: clamp(3rem, 5vw, 7rem);
  line-height: 1;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-header img {
  height: 100vh !important;
  object-fit: cover;
  filter: brightness(60%);
}

.slider-header-nav {
  width: 50%;
  bottom: 15%;
  right: 0;
  position: absolute;
  z-index: 10;
}

.slider-header-nav img {
  width: 100px;
  height: 150px;
  cursor: pointer;
  margin-right: 1rem;
}

.nav-btn {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 0.8em;
  border-radius: 50%;
  background-color: var(--ezz-red);
  color: #fff;
  position: absolute;
  bottom: -25%;
  z-index: 5;
  cursor: pointer;
}

.next-btn {
  left: 40px;
}

/* ========== quick book ========== */
.quick-book {
  position: relative;
}

.quick-book img,
.testimoni-slider img {
  position: absolute;
  height: 100%;
}

.quick-book h1 {
  position: relative;
  z-index: 10;
}

.social .accent1,
.social .accent2 {
  z-index: -1;
  position: absolute;
  height: 70%;
}
.quick-book form {
  position: relative;
  z-index: 10;
}

.accent-left {
  bottom: 0;
  left: 0;
}

.accent-right {
  bottom: 0;
  right: 0;
}

.accent1 {
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.accent2 {
  bottom: 0;
  right: 0;
  transform: rotate(270deg);
}

.quick-book button {
  border-radius: 0;
  background-color: var(--ezz-red);
  border: 0;
}

/* ========== facility detail ========== */
.slider-facility img {
  height: 70vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(60%);
}

.slider-facility .slider-item {
  position: relative;
}

.slider-facility .text {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-facility .btn-detail {
  text-decoration: none;
}

.slider-facility-nav .slick-track::after,
.slider-facility-nav .slick-track::before {
  display: none !important;
}

.slider-facility-nav {
  width: 100%;
}

.slider-facility-nav .slick-list {
  width: 100%;
  overflow: visible !important;
}

.slider-facility-nav .slick-track {
  width: 100%;
  display: flex;
  gap: 1rem;
}

.slider-facility-nav .slider-nav-item {
  width: 100% !important;
  min-height: 270px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.5s ease;
}

.slider-facility-nav .slider-nav-item p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
}

.slider-nav-item.slick-current {
  transform: translateY(-100px);
}

.slider-facility-nav .slider-nav-item i {
  margin-bottom: 1rem;
  font-size: 2rem;
}
/* ========== testimoni ========== */
.testimoni-slider {
  position: relative;
}

.slider-testimoni-nav {
  width: 25rem;
  position: relative;
}

.slider-testimoni-nav .slick-track {
  height: 15vh;
}

.slider-testimoni-nav .slick-slide {
  transition: 0.5s;
}

.slider-testimoni-nav .slick-slide:not(.slick-center) {
  filter: grayscale(1);
  opacity: 0.5;
  transform: scale(0.8);
}

.testimoni-profile img {
  margin: 0 auto;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-position: center;
  object-fit: cover;
  border-radius: 50%;
}

.name {
  font-weight: bold;
}

.slider-testimoni-nav .next-tstm {
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-testimoni-nav .prev-tstm {
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-room-nav .slick-track::after,
.slider-room-nav .slick-track::before {
  display: none !important;
}

/* ========== footer ========== */
footer a {
  color: #e6e6e6;
}
footer a:hover {
  color: #e6e6e6;
}

.copyright {
  border-top: 1px solid white;
}
.map {
  position: relative;
}

.map iframe {
  border: 2px solid var(--ezz-red);
}

.map h2 {
  position: absolute;
  top: 0;
  right: 0;
}

.contact-form {
  margin-top: -6rem;
  z-index: 10;
}

/* ========== contact ========== */
.header {
  position: relative;
  background-image: url(../img/DSC06680.JPG);
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #cc2a0a, #cc2a0ad3, #cc2a0a00);
}

.header .container {
  position: relative;
  z-index: 10;
}

.form-group label {
  margin-bottom: 0.5rem;
}

.form-info {
  background-color: transparent !important;
  position: relative;
}
.form-info img {
  position: absolute;
  height: 100%;
  aspect-ratio: auto;
  right: -3rem;
  bottom: 0;
}
.contact-form .container {
  background-color: #fff;
  position: relative;
  top: -8rem;
}

.about {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.about video {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(20%);
  z-index: -1;
}

.about-title {
  padding: 0 2rem;
  margin-left: -9.5rem;
  height: 100%;
  text-align: center;
  font-size: 5rem;
  writing-mode: vertical-lr;
  margin-left: -10rem;
  transition: all 1s;
}

.about-txt {
  width: 88%;
  padding: 5rem 8rem;
  overflow-y: auto;
  scrollbar-width: none !important;
}
.about-txt::-webkit-scrollbar-track {
  width: 10px;
  background: transparent !important;
}
.about-txt p {
  transition: 1s;
}
.about:hover .about-title {
  margin-left: 0;
}

/* ========== Facilities  ========== */

/* ========== Facilities header  ========== */

header.facilities {
  position: relative;
  background-image: url(../img/view1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wedding-title {
  width: fit-content;
  position: absolute;
  bottom: -3rem;
  font-size: clamp(2rem, 5vw, 4rem);
  background: var(--ezz-red);
  padding: 0.5rem 1rem;
}

.dining {
  min-height: 60vh;
  padding-top: 2.5rem !important;
}

.dining img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.pool {
  min-height: 50vh;
}

.pool .col-md-6 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}
.pool .col-md-6:nth-child(1) img {
  width: 100%;
  height: 500px;
}

.mini-img {
  height: 250px;
}

.facilities-img {
  height: 80vh;
}

.facilities-img .container {
  height: 100%;
  display: flex;
  gap: 1rem;
}

.facilities-img .img-container {
  width: 25%;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: end;
  transition: 0.5s;
}

.facilities-img .img-container::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
}

.facilities-img .img-container:nth-child(1) {
  background-image: url(../img/facilities/restaurant.JPG);
}
.facilities-img .img-container:nth-child(2) {
  background-image: url(../img/facilities/meeting-room.jpg);
}
.facilities-img .img-container:nth-child(3) {
  background-image: url(../img/facilities/bar.JPG);
}
.facilities-img .img-container:nth-child(4) {
  background-image: url(../img/facilities/fitness-center.jpg);
}
.facilities-img .img-container:nth-child(5) {
  background-image: url(../img/facilities/kids-club.jpg);
}
.facilities-img .img-container:nth-child(6) {
  background-image: url(../img/facilities/boutique.jpg);
}

.facilities-img:hover .img-container:not(:hover) {
  filter: grayscale(0.8);
}

.facilities-img .img-container:hover {
  width: 150%;
}

.facilities-img .img-container h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  transition: 0.5s;
  z-index: 10;
}

.facilities-img .img-container:hover h1 {
  transform: translate(-50%, -50%) rotate(0);
}

.list-item i {
  color: var(--ezz-darkred);
}

/* ========== Room Slider  ========== */

.slider-room img {
  height: 70vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(60%);
}

.slider-room .slider-item {
  position: relative;
}

.slider-room .text {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-room-nav .slider-room-nav-item span {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.copyright {
  border-top: 1px solid white;
}
.map {
  position: relative;
}

.map iframe {
  border: 2px solid var(--ezz-red);
}

.map h2 {
  position: absolute;
  top: 0;
  right: 0;
}

.contact-form {
  margin-top: -6rem;
  z-index: 10;
}

.social {
  position: relative;
  height: 100vh;
}
.social-media {
  height: 90%;
}
.social-bg {
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}
.social a {
  text-align: center;
  font-size: 1.5rem;
  width: 18rem;
  padding: 1rem 0;
  color: white;
  backdrop-filter: blur(2px);
  transition: 0.5s;
}

.social a:hover {
  transform: scale(1.1);
}
.social a:nth-child(2) {
  background-color: var(--ezz-red);
}
.social a:nth-child(3) {
  background-color: var(--ezz-yellow);
}
.social a:nth-child(4) {
  background-color: var(--ezz-blue);
}
.social a:nth-child(5) {
  background-color: var(--ezz-darkred);
}

.subscribe {
  position: relative;
  background-color: var(--ezz-yellow);
}
.subs-img img {
  margin-top: auto !important;
  width: 100%;
  object-fit: cover;
}

.update {
  font-size: 5rem !important;
}

.subs {
  width: 20rem !important;
}
.scrollTop {
  margin-right: -5rem;
  position: fixed;
  height: 3rem;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
  aspect-ratio: 1;
  background-color: #0e0e0e;
  transition: 0.5s;
}

/* ========== Book Header ========== */

.book-header {
  background-image: url(../img/book/book1.jpg) !important;
  background-position: top;
}

/* ========== Facilities Header ========== */

.facilities-header {
  background-image: url(../img/facilities/hero.JPG) !important;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .social .accent1,
  .social .accent2 {
    height: 50%;
  }
  .nav-item:not(:last-child) {
    display: none;
  }
  .menu {
    display: block;
  }

  .footer .row {
    margin: 0 0.5rem;
    justify-content: space-between;
  }
  .row .col-md {
    width: fit-content !important;
    margin-bottom: 1rem;
  }
  .footer .row {
    margin: 0 0.5rem;
    justify-content: space-between;
  }
}

@media screen and (max-width: 425px) {
  .row .col-md {
    width: fit-content !important;
    margin-bottom: 1rem;
  }
  .nav-item:not(:last-child) {
    display: none;
  }
  .social {
    height: 90vh;
  }
  .social .accent1,
  .social .accent2 {
    height: 40%;
  }

  .header p {
    font-size: 0.8rem;
  }
  .col-md-6 form {
    padding-top: 3rem;
    padding-left: 0 !important;
  }
}

/* home  */
@media screen and (max-width: 425px) {
  .map {
    margin-top: 3rem;
  }
  .text p {
    font-size: 0.8rem;
    width: 75% !important;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-txt {
    font-size: 0.8rem;
    width: 75%;
    padding: 5rem 2rem;
  }
}

@media screen and (max-width: 780px) {
  .slider-header-nav {
    display: none !important;
  }

  .landing p {
    width: 100% !important;
  }

  .landing .header-text {
    width: 85% !important;
  }

  .about-title {
    margin-left: 0;
    font-size: 3rem;
  }
  .about-txt {
    width: 70%;
    padding: 5rem 3rem;
  }

  .quick-book img,
  .testimoni-slider img {
    height: 40%;
  }

  .slider-facility-nav .slick-track {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    flex-direction: column !important;
  }

  .slider-room-nav .slick-track {
    width: 100%;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
    margin-bottom: 1rem;
  }

  .slider-room-nav .slick-slide {
    width: 100% !important;
  }

  .slider-room p {
    width: 95% !important;
  }

  .slider-nav-item.slick-current {
    transform: translateY(0);
  }

  .slider-facility-nav .slider-nav-item i {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .slider-facility-nav .slider-nav-item {
    width: 100% !important;
    min-height: 200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.5s ease;
  }

  .slider-testimoni-nav {
    width: 70%;
  }

  .testimoni-profile img {
    height: 100%;
    /* aspect-ratio: 1 / 1; */
    object-position: center;
    object-fit: cover;
    border-radius: 50%;
  }

  .testimoni-slider p {
    width: 90% !important;
  }

  .facilities-img .img-container:hover h1 {
    transform: translate(-50%, -50%) rotate(-90deg);
  }
}

@media screen and (max-width: 1080px) {
  .update {
    font-size: 4rem !important;
  }
}

@media screen and (max-width: 965px) {
  .update {
    font-size: 3rem !important;
  }
  .subs {
    width: 15rem !important;
  }
  .subs-img {
    padding-left: 2rem !important;
  }
  .col-md-7 {
    padding: 0 1rem !important;
  }
}
