/*
Theme Name: Elaeis Gardens Custom Theme
Author: LOKi
Author URI: https://thisisloki.com
Description: Elaeis Gardens Custom Theme
Version: 1.0.0
*/

/* variables */

:root {
  --prime-green: #273717;
  --bg-yellow: #FFFADE;
  --bg-light-yellow: #FFFDEE;
  --bg-green: #5F6B2E;
}




* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 16px;
  background-color: #fefefe;
  /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
  /* font-family: "Raleway", sans-serif; */
  /* font-family: "Noto Serif JP", serif; */
  font-family: "Baskervville", serif;
  /* font-family: "Georgia", serif; */
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
}

body {
  background-color: #fff;
  color: #424115;
  color: var(--prime-green);
}

h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 1em;
  line-height: 36px;

}

p {
  margin-bottom: 1em;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-red {
  color: red;
}

.text-dark {
  color: var(--prime-green);
}

.bg-yellow {
  background-color: var(--bg-yellow);
}

.bg-green {
  background-color: var(--bg-green);
}

.bg-light-yellow {
  background-color: var(--bg-light-yellow);
}

.h1-slim {
  font-size: 50px;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mob {
  display: none;
}

.mob-flex {
  display: none;
}

.desktop {
  display: block;
}

/* nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 100;
      padding: 5px 57px;
  transition: all 0.3s ease;

  @media (max-width: 768px) {
    padding: 5px 20px;
    top: 10px;
  }

  .the-logo {
    flex-grow: 1;
    display: flex;
    align-items: center;
  }


  .the-menu {
    flex-grow: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    ul {
      display: flex;
      justify-content: left;
      align-items: center;
      gap: 66px;
      width: 1276px;

      li {
        list-style: none;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;

        a {
          padding: 0;
          font-size: 14px;
          text-decoration: none;
          color: #fff;

        }
      }

      li:hover{
        opacity: 0.7;
      }

    
      li:first-child{
          width: auto;
      }


      @media (max-width: 768px) {
        gap: 10px;

        li {
          padding: 0 10px;
        }
      }
    }
  }
}

nav.opaque {
  top: 0;
  background-color: var(--prime-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  
} */


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 100;
  /* background-color: rgba(0, 0, 0, 0.1); */
  padding: 5px 50px;
  /* backdrop-filter: blur(10px); */
  /* mix-blend-mode: difference; */
  transition: all 0.3s ease;

  @media (max-width: 768px) {
    padding: 5px 20px;
    top: 10px;
  }

  .the-logo {
    flex-grow: 1;
    display: flex;
    align-items: center;
  }


  .the-menu {
    flex-grow: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    ul {
      display: flex;
      gap: 30px;

      li {
        list-style: none;
        padding: 0 20px;

        a {
          text-decoration: none;
          color: #fff;
          text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);

        }
      }

      @media (max-width: 768px) {
        gap: 15px;

        li {
          padding: 0;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;

          a {
            font-size: 14px;
          }
        }
      }
    }
  }
}

nav.opaque {
  top: 0;
  background-color: var(--prime-green);
  color: #fff;

}

hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #000000aa;
  width: 100%;
}

/* footer */
footer {
  background-color: #fefefe;
  color: var(--prime-green);
  padding: 60px 0;
  text-align: center;


  .footer-cta-list {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    margin-bottom: 23px;

    a:first-child {
      font-weight: 700;

    }

    a {
      font-size: 13px;
      text-align: left;
      text-decoration: none;
      color: var(--prime-green);
    }
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    font-size: 13px;


    p {
      color: var(--prime-green);
    }

    a {
      color: var(--prime-green);
      text-decoration: none;
    }

    a:hover {
      color: var(--prime-green);
      text-decoration: underline;
    }

    >div {
      flex-grow: 0;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    >div:first-child {
      flex-grow: 1;
    }

    .social-links {
      display: flex;
      gap: 10px;
      justify-content: center;
      align-items: center;

      a {
        color: #fff;
        font-size: 20px;
        background-color: var(--prime-green);
        border-radius: 35%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: all 0.3s ease;

        &:hover {
          background-color: var(--prime-green);
          color: #fff;
          transform: scale(1.1);

        }
      }
    }
  }
}

.w900 {
  max-width: 900px;
  margin: 0 auto;
}

.row-bg2 {
  background-color: rgb(217, 223, 219);
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.limit-container {
  max-width: 1000px;
  /* change to 1000px */
  margin: 0 auto;
  justify-content: center;
  padding: 0 20px;
  /* padding: 0; */


  h2 {
    margin-bottom: 0.5em;
  }

  p:last-child {
    margin-top: 2em;
  }
}

.vpad-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.vpad-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.vpad-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.vpad-60.vpad-60-temporary {
  /* padding-bottom: -60px; */
  margin-bottom: -120px;
}

.flex-row {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.flex-column {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.flex-row-top {
  display: flex;
  align-items: start;
  flex-direction: row;
}

.flex-row-wrap {
  gap: 20px;
  flex-wrap: wrap;
}

.flex-space-between {
  justify-content: space-between;
}


.col-4 {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  padding: 0;
  align-self: flex-start;
  padding-right: 50px;

  @media (max-width: 768px) {
    flex: 0 0 100%;
    max-width: 100%;
  }

}

.col-8 {
  flex: 1 1 66.66666666666666%;
  padding: 0;
}

.col-8-leaf-section {
  padding-right: 50px;
}

.image {
  padding-right: 40px;
  padding-left: 0;

  img {
    width: 100%;
    display: block;
  }
}


.blog-image {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;

  img {
    width: 100%;
    display: block;
  }

  p:last-child {
    margin-top: auto;
  }

}

.landing-image-ratio {
  aspect-ratio: 1.7777777777777777;
  object-fit: cover;
  aspect-ratio: 6/4;
}

.flex-reverse {
  flex-direction: row-reverse;

  .image {
    /* padding-left: 40px; */
    padding-right: 0;
    display: flex;
    justify-content: right;
  }
}

/* content */



button,
.boxed-cta {
  padding: 10px 40px;
  border: 1px solid #273717;
  width: fit-content;
  background-color: transparent;
  color: #273717;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    color: #fff;
    background-color: #273717;
  }

  font-family: "Baskervville",
  serif;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
}

.cover-fixed {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.cover-contain {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.hero-banner {

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    z-index: 1;
  }

}

.hero-fold-landing {
  position: relative;
  width: 100%;
  min-height: 700px;
  aspect-ratio: 16/7;


  @media (max-width: 768px) {
    min-height: 400px;
  }



  /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */


  overflow: hidden;

  .inline-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .inline-video-mobile {
    display: none;
  }

  @media (max-width: 768px) {
    .inline-video-desktop {
      display: none;
    }

    .inline-video-mobile {
      display: block;
    }
  }

  display: flex;
  justify-content: center;
  align-items: center;

  .hero-fold-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    transform: translateY(-40%);

    color: #fff;

    div {
      flex-grow: 1;
    }

    div:first-child {
      flex-grow: 0;
      width: 180px;
      margin-top: 50px;
    }

    div:last-child {
      flex-grow: 1;
      margin-left: 40px;
    }

    h1 {
      font-size: 40px;
      font-weight: 400;
      width: 800px;
      /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    }

    p {
      line-height: 18px;
    }

    ul {
      display: flex;
      gap: 0px;

      li {
        font-size: 14px;
        list-style: none;
        padding-right: 20px;
        /* border-right: 2px solid var(--prime-green); */
        line-height: 1;

        a {
          /* text-decoration: none; */
          /* color: var(--prime-green); */
          color: #fff;

        }

      }

      li:last-child {
        padding-right: 0;
        border-right: none;
      }
    }
  }

  .breadcrumbs {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    gap: 10px;
    color: #fff;
    align-items: center;

    i {
      font-size: 14px;
    }

    a {
      font-size: 14px;

      color: #fff;
    }
  }
}

.hero-fold-attraction {
  &::before {
    opacity: 0.6 !important;
  }
}

.hero-fold-blogpost {
  &::before {
    display: none;
  }
}

.hero-fold {
  position: relative;
  width: 100%;
  min-height: 700px;
  aspect-ratio: 16/7;


  @media (max-width: 768px) {
    min-height: 400px;
  }

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    z-index: 1;
  }



  .hero-fold-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    transform: translateY(-40%);

    color: #fff;

    div {
      flex-grow: 1;
    }

    div:first-child {
      flex-grow: 0;
      width: 180px;
      margin-top: 50px;
    }

    div:last-child {
      flex-grow: 1;
      margin-left: 40px;
    }

    h1 {
      font-size: 40px;
      font-weight: 400;
      /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    }

    p {
      line-height: 18px;
    }

    ul {
      display: flex;
      gap: 0px;

      li {
        font-size: 14px;
        list-style: none;
        padding-right: 20px;
        /* border-right: 2px solid var(--prime-green); */
        line-height: 1;

        a {
          /* text-decoration: none; */
          color: var(--prime-green);
        }

      }

      li:last-child {
        padding-right: 0;
        border-right: none;
      }
    }
  }

  .breadcrumbs {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    gap: 10px;
    color: #fff;
    align-items: center;
    z-index: 2;

    i {
      font-size: 14px;
    }

    a {
      font-size: 14px;

      color: #fff;
    }
  }
}

.down-icon {
  font-size: 1rem;
  color: #fff;
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;

  /* cursor: pointer; */
  &:hover {
    transform: translateX(-50%) scale(1.1);
    transition: all 0.3s ease;
  }

  /* animation: bounce 1s infinite; */

  animation: bounce-down 1s infinite ease-in-out alternate;

}

@keyframes bounce-down {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}


.location-card {
  padding: 25px 0;

  h2 {
    font-size: 32px;
    font-weight: 400;
  }

  .address-card {
    font-size: 16px;
    font-weight: 400;

    h3 {
      font-weight: 700;
    }
  }
}

.address-card {
  padding: 20px 0;

  p {
    margin-bottom: 0px;
  }

  p:last-child {
    margin-top: 0px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;

  th,
  td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }

}

.hero-half-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  transform: translateX(-75%);

  color: #fff;


  div {
    flex-grow: 1;
    max-width: 500px;

    h1 {
      color: #FFF;
      /* text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); */
      font-size: 50px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      text-transform: uppercase;
    }
  }
}




.new-limit-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;

  img {
    max-width: 700px;
  }

  img.slim-image {
    aspect-ratio: 479.60/719.40;
    width: 479.601px;
  }

  h2 {
    margin-bottom: 0.5em;
  }

  p:last-child {
    margin-top: 2em;
  }
}

.new-limit-container.special-golf-tile {
  padding: 0;
}


.new-limit-700-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;


  h2 {
    margin-bottom: 0.5em;
  }

  p:last-child {
    margin-top: 2em;
  }
}

.new-limit-900-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;


  h2 {
    margin-bottom: 0.5em;
  }

  p:last-child {
    margin-top: 2em;
  }
}



.dapo-carousel-wrapper {
  overflow: hidden;
  width: calc(var(--carousel-items) * 390px + (var(--carousel-items) - 1) * 15px);
  max-width: 100%;
  position: relative;
}

.dapo-carousel-boxes {
  display: flex;
  gap: 15px;
  position: relative;

  .carousel-box {
    /* background-color: #fff; */
    background: rgba(30, 30, 30, 0.70);
    width: 390px;
    height: 465px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 50px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;


    p {
      color: #fff;

      /* align-self: flex-start; */
      margin-top: 1em;
      margin-bottom: 1em;
    }

    h2 {
      color: #fff;
      margin-top: auto;
    }
  }


}

.dapo-cta {
  margin-top: 0;
  margin-bottom: 1em;
  border-color: #fff;
  color: #fff;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #fff;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.button-left,
.button-right {
  color: #FFF;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  z-index: 10;
  margin-right: 15px;
  margin-left: 15px;
}

.special-carousel-container {
  max-width: 1200x;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;



  h2 {
    margin-bottom: 0.5em;
  }

  p:last-child {
    margin-top: 2em;
  }
}



.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid #C4B99A;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: 1px solid #C4B99A;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;

  color: #273717;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;

  p {
    margin-bottom: 0;
  }
}

.faq-question:hover {
  color: #2C3B2D;
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid #2C3B2D;
  outline-offset: 4px;
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 2rem;
  color: #3D3D3D;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state - rotate chevron up */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  font-weight: 400;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  margin-top: 0 !important;
  padding-bottom: 1.5rem;
  color: #273717;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 85%;
}

.faq-cta-button {
  margin-top: 20px;
}

.image-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;

  .tile {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 380px;
    height: 315px;
    background-size: cover;
    background-position: center;


    p {
      color: #FFF;
      font-size: 20px;
      text-align: center;
    }

    ;
  }
}

.stat {
  h2 {
    margin-bottom: 0 !important;
  }
}


.golf-features.location-special {
  gap: 20px;

}

.golf-features {
  display: flex;
  flex-direction: column;
  gap: 38px;

  .single-feature {
    gap: 15px;

  }

  p {
    padding: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}


.galleries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  background-color: #000;
}

.single-gallery {
  background-size: cover;
  background-position: center;
  height: 440px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  z-index: 1;

  div {
    transform: translateY(100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: 178px;

    svg {
      color: #fff;
      position: relative;
      z-index: 99;
      opacity: 1;
      transform: none;
      transition: none;
      margin-bottom: 10px;
    }

    h2 {
      color: #fff;
      font-weight: 400;
      position: relative;
      z-index: 2;
      text-align: center;
    }
  }


}

.single-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.70);
  pointer-events: none;
  z-index: 1;
}


.padding-0 {
  padding: 0;
}

.padding-right-0 {
  padding-right: 0 !important;
}

.nowrap {
  white-space: nowrap;
}

.blog-post {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
  gap: 40px;

  img {
    max-width: 700px;
  }

  img.slim-image {
    aspect-ratio: 479.60/719.40;
    width: 479.601px;
  }

  h2 {
    margin-bottom: 0;
    flex: 1;
  }

  p:last-child {
    margin-top: 15px
  }

  p {
    /* flex: 1; */

    margin-top: 0;
  }

  .blog-content-image {
    gap: 40px;
    align-items: stretch;

    h2 {
      padding-top: 20px;
    }

    .blog-image>p:last-child {
      margin-top: auto;
      padding-top: 15px;
    }
  }
}


.tile-link {
  text-decoration: none;
}

.boxed-cta-book-now {
  background-color: var(--bg-green);
  color: #fff;
  border: none;
}


.col-4-booking {
  align-self: center;

}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .privacy-header {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .privacy-header select {
    align-self: flex-end;
    margin-bottom: 8px;
  }
}

.carey-booking-title {
  border: 1px solid color-mix(in srgb, var(--bg-green) 70%, transparent);
  padding: 2px 10px;
  text-align: center;
  background-color: var(--prime-green);
  color: #fff;

  font-size: 14px;
}

.carey-booking-detail-double {
  display: flex;
  font-size: 14px;
  border-right: 1px solid color-mix(in srgb, var(--bg-green) 70%, transparent);

  div {
    padding: 2px 10px;
    flex: 1;
    border-bottom: 1px solid color-mix(in srgb, var(--bg-green) 70%, transparent);
    border-left: 1px solid color-mix(in srgb, var(--bg-green) 70%, transparent);
    /* border-right:1px solid #000; */

  }

}


.top-box {
  border-top: 1px solid color-mix(in srgb, var(--bg-green) 70%, transparent);
}


.pad-40 {
  padding: 20px 0;
}