/* INTRO SECTION */
.introWrap {
  max-width: 42rem;
  margin-inline: auto;
}

.introWrap .row {
  gap: 5rem;
}

.introWrap img {
  width: 19rem;
}

.introWrap p {
  font-size: 1.5rem;
  line-height: 1.3;
  position: relative;
  padding-top: 5rem;
}

.introWrap p::before {
  content: "";
  width: 2.5rem;
  height: 5px;
  background-color: var(--secondary-color);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* HOME ROOMS */
.home-rooms {
  background-color: var(--text-color);
}

.home-rooms-wrap {
  max-width: 56rem;
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  gap: 5rem;
}

.home-rooms-wrap-left {
  width: 15rem;
  display: flex;
  flex-direction: column;
  gap: 7rem;
}

.home-rooms-wrap-right {
  width: 1%;
  flex-grow: 1;
  padding: 4rem;
  background: var(--bg-light-1);
  position: relative;
}

.home-rooms-wrap-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: var(--bg-light-1);
}

.home-rooms-card img {
  aspect-ratio: 536/376;
  object-fit: cover;
  object-position: center;
}

.home-rooms-card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-top: 1.5rem;
}

.home-rooms-card-content > div {
  flex-grow: 1;
  width: 1%;
}

.home-rooms-card-content h3 {
  text-transform: uppercase;
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.home-rooms-card p,
.home-rooms-card h5 {
  font-size: 0.9rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 300;
  max-width: 22rem;
}

.home-rooms-card hr {
  border: none;
  border-top: 1px solid var(--text-color);
  margin: 1rem 0;
  opacity: 1;
  width: 17.5rem;
}

.home-rooms-card .btn-premium,
.home-rooms-card .btn-premium:hover {
  padding-block: 0.8rem;
  background: var(--secondary-color);
  border: none;
}

.home-rooms-slider {
  position: relative;
  z-index: 2;
}

.home-rooms-slider .splide__slide {
  height: auto; 
}

.home-rooms-slider .splide__pagination {
  bottom: -2rem;
}

.home-rooms-slider .splide__pagination__page.is-active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.home-rooms-slider-arrows {
  position: absolute;
  right: -4rem;
  top: 9.4rem; 
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  z-index: 2;
}

.home-rooms-slider-arrows .splide__arrow {
  position: static;
  background: transparent;
  width: 0.9rem;
  height: 0.9rem;
  opacity: 1;
  transform: rotate(90deg); 
  transition: var(--transition-smooth);
  padding: 0;
  border-radius: 0;
}

.home-rooms-slider-arrows .splide__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.home-rooms-slider-arrows .splide__arrow img {
  width: 0.9rem;
  height: 0.9rem;
  object-fit: contain;
  filter: invert(53%) sepia(16%) saturate(1007%) hue-rotate(247deg) brightness(87%) contrast(85%);
  transition: var(--transition-smooth);
}

.home-rooms-slider-arrows .splide__arrow:hover {
  background: transparent;
  transform: rotate(90deg) scale(1.2);
}

.home-rooms-slider-arrows .splide__arrow:hover img {
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(258deg) brightness(73%) contrast(96%);
}

/* HOME DINING */
.home-dining {
  background: var(--bg-light-2);
}

.home-dining-head {
  max-width: 56rem;
  width: 100%;
  display: flex;
  gap: 17.8rem;
  padding-bottom: 2rem;
}

.home-dining-head .section-title {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.home-dining-wrap {
  position: relative;
  z-index: 1;
  height: 35rem;
  width: 100%;
}

.home-dining-wrap img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.home-dining-wrap-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: #edededfa;
  padding: 2rem 3.5rem;
}

.home-dining-wrap-inner-content {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.home-dining-wrap-inner-content h3 {
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1.2;
}

.home-dining-wrap-inner-content p {
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.home-dining-wrap-inner-content.active h3,
.home-dining-wrap-inner-content:hover h3 {
  color: var(--secondary-color);
}

/* HOME EVENTS */
.home-events {
  background: var(--bg-light-1);
}

.home-events-wrap {
  background: var(--bg-light-1);
  padding: 7rem 2rem 4rem;
}

.home-events-wrap-inner {
  max-width: 44.7rem;
  width: 100%;
  margin-inline: auto;
}

.home-events-head {
  padding: 5.5rem 6.5rem;
  background-color: var(--accent-color);
  background-image: url(../images/home/avasa_events_bg.png);
  background-image: -webkit-image-set(
    url(../images/home/avasa_events_bg@1x.webp) 1x,
    url(../images/home/avasa_events_bg@0.75x.webp) 0.75x,
    url(../images/home/avasa_events_bg@0.5x.webp) 0.5x,
    url(../images/home/avasa_events_bg@0.25x.webp) 0.25x
  );
  background-image: image-set(
    url(../images/home/avasa_events_bg@1x.webp) 1x,
    url(../images/home/avasa_events_bg@0.75x.webp) 0.75x,
    url(../images/home/avasa_events_bg@0.5x.webp) 0.5x,
    url(../images/home/avasa_events_bg@0.25x.webp) 0.25x
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row;
  gap: 6rem;
  margin-bottom: 5rem;
}

.home-events-head .section-description {
  flex-grow: 1;
  width: 1%;
}

.home-events-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
}

.home-events-slide img {
  aspect-ratio: 396/247;
  object-fit: cover;
}

.home-events-slide h3 {
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.home-events-slide p {
  line-height: 1.2;
  margin: 0;
  border-bottom: 1px solid var(--text-color);
  min-height: 4rem;
}

.home-events-slide h5 {
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.home-events-slide .btn-premium {
  padding-block: 0.8rem;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.home-events-slide .btn-premium:hover {
  color: white;
  border-color: var(--accent-color);
}

.home-events-slider-arrows {
    display: flex;
    justify-content: center;
    gap: 6rem; 
    margin-block: 3rem 4rem;
    width: 100%;
}

.home-events-slider-arrows .splide__arrow {
    background: transparent;
    opacity: 1;
    width: 1rem; 
    height: 1rem; 
    transition: var(--transition-smooth);
    position: static; 
    transform: none;
    padding: 0;
    border-radius: 0;
}

.home-events-slider-arrows .splide__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.home-events-slider-arrows .splide__arrow img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    filter: invert(53%) sepia(16%) saturate(1007%) hue-rotate(247deg) brightness(87%) contrast(85%);
}

.home-events-slider-arrows .splide__arrow:hover {
    background: transparent;
    transform: scale(1.2);
}

.home-events-slider-arrows .splide__arrow:hover img {
     filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(258deg) brightness(73%) contrast(96%);
}

/* HOME WELLNESS */
.home-wellness-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 56rem;
  width: 100%;
  margin-inline: auto;
}

.home-wellness-image {
  width: 32.4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: start;
}

.home-wellness-image_01 {
  padding-left: 7.5rem;
}

.home-wellness-image_02 {
  width: 14rem;
}

.home-wellness-image_03 {
  width: 1rem;
  flex-grow: 1;
}

.home-wellness-content {
  flex-grow: 1;
  width: 1%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 2.5rem;
}

.home-wellness .btn-premium {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.home-wellness .btn-premium:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* HOME CONNECTIVITY */
.home-connectivity {
  background-color: var(--primary-color);
  background-image: url(../images/home/avasa_connectivity_bg.png);
  background-image: -webkit-image-set(
    url(../images/home/avasa_connectivity_bg@1x.webp) 1x,
    url(../images/home/avasa_connectivity_bg@0.75x.webp) 0.75x,
    url(../images/home/avasa_connectivity_bg@0.5x.webp) 0.5x,
    url(../images/home/avasa_connectivity_bg@0.25x.webp) 0.25x
  );
  background-image: image-set(
    url(../images/home/avasa_connectivity_bg@1x.webp) 1x,
    url(../images/home/avasa_connectivity_bg@0.75x.webp) 0.75x,
    url(../images/home/avasa_connectivity_bg@0.5x.webp) 0.5x,
    url(../images/home/avasa_connectivity_bg@0.25x.webp) 0.25x
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.home-connectivity-wrap {
  padding-inline: 2rem;
  position: relative;
}

.home-connectivity-wrap::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  right: 0;
  height: 100vw;
  transform: translateY(-50%);
  z-index: 1;
  background-color: #909498;
  mix-blend-mode: multiply;
}

.home-connectivity-wrap-inner {
  position: relative;
  z-index: 3;
  max-width: 56rem;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6rem;
  align-items: center;
}

.home-connectivity-wrap-inner h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.home-connectivity-content {
  width: 1%;
  flex-grow: 1;
}

.home-connectivity-slider {
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  max-width: 20rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.connectivity-tabs {
  display: flex;
  border-bottom: 1px solid var(--primary-color);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 0.5rem;
  font-size: 1rem;
  color: #B1B3B5;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 300;
}

.tab-btn.active {
  color: var(--primary-color);
}

.connectivity-splide {
  display: none;
  padding: 1.75rem 0;
  flex-grow: 1;
}

.connectivity-splide.active {
  display: block;
}

.connectivity-slide-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  gap: 0.5rem;
  padding-inline: 4rem;
}

.location-name {
  color: var(--primary-color); 
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: normal;
}

.location-distance {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: normal;
}

.connectivity-arrows .splide__arrow {
  background: transparent;
  width: 1rem;
  height: 1rem;
  opacity: 1;
  padding: 0;
}

.connectivity-arrows .splide__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.connectivity-arrows .splide__arrow img {
  width: 1rem;
  height: 1rem;
  filter: invert(53%) sepia(16%) saturate(1007%) hue-rotate(247deg) brightness(87%) contrast(85%);
}

.connectivity-arrows .splide__arrow--prev {
  left: 1.5rem;
}

.connectivity-arrows .splide__arrow--next {
  right: 1.5rem;
}

.connectivity-splide .splide__pagination {
  bottom: -2.5rem;
}

.connectivity-splide .splide__pagination__page {
  background: #ccc;
  width: 8px;
  height: 8px;
  margin: 0 4px;
}

.connectivity-splide .splide__pagination__page.is-active {
  background: var(--secondary-color);
  transform: scale(1.2);
}
