/*
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;
}




* {
    box-sizing: border-box; padding: 0; margin: 0;
  }
  html {
    font-size: 18px;
    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-red {color: red;}
  .text-dark {color: var(--prime-green);}
  .bg-yellow {background-color: var(--bg-yellow);}

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

  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: 10px;
              li {
                padding:0 10px;
              }
            }
        }
    }
  }

  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-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 40px;
      font-size: 14px;
    

      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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

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


    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;
  }

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

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

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

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

  }

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

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

    img{width: 100%;display: block;}
  }
  .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;
    }
  }

  /* 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-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;

    .hero-fold-content {
        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;
      i {
        font-size: 14px;
      }
      a {
        color: #fff;
      }
    }
  }

  .down-icon {
    font-size: 1rem;
    color: #fff;
    position: absolute;
    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;
    /* 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 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1000px;
        /* transform: translateY(-40%); */
        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;
            }
        }
      }