/*
Theme Name: Eucalyptus
Author: Owain Jones
Author URI: https://rentmanager.com
Description: A clean and modern WordPress theme perfect for blogs, portfolios, and business sites. Designed for minimalism and performance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eucalyptus
Tags: clean, modern, blog, portfolio, responsive, minimal, custom-background, custom-logo, theme-options
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
*/

@import "assets/css/theme-colors.css";
@import "assets/css/header.css";
@import "assets/css/blocks.css"; /* Custom block styles come together in this one css file so edit blocks in their block folder */


body {
    margin: 0 auto;
/*    font-family: var(--body-font) !important; /*  Unfortunatly Bootstrap kept overriding this so we need an important tag here */
    font-family: "Gilda Display", serif!important;
    background: #151623;
    font-size:18px;
    line-height: 1.8;
    color:#fff;
}
.div-column-fix {
    column-count: 2;
  column-gap: 1em;
  text-align:left;
}
.image-height {
    min-height:700px;
    object-fit:cover;
}
@media (max-width: 600px) {
.image-height {
    min-height:550px;
}
}

.lined {
    column-count: 2;
  column-gap: 2em;
}
.lined p {
    border-bottom: 0.5px solid #bebebe;
}
.lined-one-col p {
    border-bottom: 0.5px solid #bebebe;
}
.content-max-width p {
      margin-left:20px; 
}
@media (max-width: 1000px) {
.content-max-width p {
      margin-left:10px; 
}
}
@media (max-width: 975px) {
/* .column-fix .lined:nth-of-type(2) {
    margin-top:-35px;
} */
.lined {
    column-count: 1;
  column-gap: 0em;
}
.div-column-fix {
    column-count: 1;
  column-gap: 0em;
}
.content-max-width p {
      margin-left:0px; 
}
}

h1, h2, h3, h4, h5, h6 {
    /*font-family: var(--header-font);*/
 font-family: "Gilda Display", serif;
  font-optical-sizing: auto;
    letter-spacing: 0.01em;
    color:#e3af5a;
}
h1 {
    font-size: 3em;
    margin: 0;
}
h2 {
    font-size:2.3em;
}
h2, h3, h4{
    font-weight:300;
    letter-spacing:0.08em;
    font-family: "Gilda Display", serif;
}

@media (max-width: 781px) {
h1 {
    font-size:2.7em;
}
h2 {
    font-size:1.9em;
}
body {
    font-size:17px;
}
}

.condensed-title {
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2.5em;
}
.condensed-title-pretitle {
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: 15px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color:#e3af5a;
}
.opening-line {
    font-size: 22px;
    line-height: 1.6em;
    margin-top: 15px;
    margin-bottom: 15px;
    letter-spacing: 0.06em;
    font-family: "Gilda Display", serif;
    color:#ffffff;
}
.content-max-width{
    margin:0px 80px!important;
}
@media (max-width: 600px) {
  .content-max-width {
      margin:0px 40px!important;
  }
}
.oj-row {
    padding: 50px 40px;
    margin: 0 auto;
}
.oj-btn-container {
    display: inline-block;
    padding: 12px 24px !important;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    color: #fff; 
    background-color: transparent;
    border: 1px solid #fff;
    /* border-radius:25px !important;  */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s ease !important;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    text-transform: uppercase!important;
    border-radius: 25px;
}
.oj-btn-container a{
    text-decoration: none;
    color: #fff;
    letter-spacing:normal;
    position: relative;
}
.oj-btn-container a:hover{
    text-decoration: none;
    color: #fff;
}
.oj-btn-container:hover {
    background-color:#e3af5a;
    color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px); 
}
    .line-container {
      text-align: center;
      position: relative;
    }
    .element {
      z-index: 3; /* Keeps it above the line */
      position: relative;
    }

    /* The line that grows underneath the element */
    .line {
      height: 2px;
      background-color: #e3af5a;
      position: absolute;
      top: 60%; /* Adjust the vertical position under the element */
      left: 50%;
      transform: translateX(-50%);
      width: 0; /* Start with no width */
      opacity: 0; /* Start invisible */
      animation: grow 1s ease-in-out forwards; /* Gradual growth animation */
      z-index: 1;
    }
 .animate-on-scroll {
  opacity: 0;
  width: 0;
}

/* Trigger animation when class is added */
.animate-on-scroll.visible {
        height: 2px;
      background-color: #e3af5a;
      position: absolute;
      top: 60%; /* Adjust the vertical position under the element */
      left: 50%;
      transform: translateX(-50%);
      width: 0; /* Start with no width */
      opacity: 0; /* Start invisible */
      animation: grow 1s ease-in-out forwards; /* Gradual growth animation */
      z-index: 1;
}
    /* Keyframes to animate the line's width from the center outwards */
    @keyframes grow {
      0% {
        width: 0; /* Start with 0 width */
        opacity: 0; /* Initially invisible */
      }
      100% {
        width: 100px; /* Final width */
        opacity: 1; /* Ensure it becomes visible */
      }
    }



/* CALLOUT SECTION */
.oj-home-callout {
    overflow: hidden;
}
.oj-callout-content {
    display: flex;
    width: 100%;
        justify-content: center;
    align-items: flex-start;
}
.oj-callout-col {
    flex-basis: 50%;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    flex-flow: column;
    margin-right:50px;
}
.callout-contact {
    /*background-color: rgba(255, 255, 255, 0.9);*/
    background-color: #222;
    margin: 50px 100px 50px 50px;
    padding: 30px;
    display: flex;
}
@media (max-width: 900px) { 
    .callout-contact {
  margin: 50px 0px;
    }
}
.callout-contact h2, .callout-contact h3, .callout-contact p {
    width: 100%;
}

.callout-contact h2, .callout-contact h3{
    color: #e3af5a;
    font-weight:500;
    padding-bottom:30px;
}

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


.google-map {
    flex: 100%;
    display: flex;
    flex-wrap: wrap;
}
.google-map iframe {
    width: 100%;
}
/* CALLOUT SECTION END */

/* SUBPAGE HERO */
.page-hero {
    display: flex;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    align-items: center;
    position: relative;
    z-index: 1;
}
.page-hero::before {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.page-hero h1 {
    padding: 0 10vw;
    color: #fff;
    z-index: 99;
}
/* FOOTER  */
footer {
    background-color: var(--primary-color);
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: absolute;
    z-index: 100;
    width: 100%;
    bottom: 0px;
    position: relative;
}
footer img {
    max-width: 50%;
    max-height: 150px;
}
.bottom-footer {
    background-color: #151623;
    display: flex;
    justify-content: center;
    color: #fff;
    padding: 20px 10px;
    max-height: 65px;

}
footer a {
    color: #fff;
    text-decoration: none;
}

img.rm-logo {
    margin-bottom: 4px;
}
/* FOOTER  END */

/* RESPONSIVE CSS */

@media (max-width: 900px) {
    .oj-callout-content {
        flex-direction: column;
    }
.oj-callout-col {
    width: 100%;
}
    footer {
    position: relative;
    }

    .bottom-footer {
    max-height: 100px;
}

.site-logo img {
    height: 100px;
    max-width: 100%;
}
}

.oj-slider-title h1 {
    color:white!important;
}
@media (max-width: 500px) {
.oj-slider-title h1 {
    font-size: 3em;
}
}

.oj-slider-title {
    background: transparent!important;
}

.fade-in-scroll {
  opacity: 0;
  transform: scale(0.8); /* start slightly smaller */
  transition: opacity 1.5s ease, transform 1.5s ease;
  transition-delay: 0.3s;
}

.fade-in-scroll.show {
  opacity: 1;
  transform: scale(1); /* grow to full size */
}
.modal-content {
background:linear-gradient(to top, rgb(21, 22, 35, 1.0), rgba(32, 34, 54, 0.8));
    color: #e3af5a !important;
}
.modal-header, .modal-footer {
    border: none !important;
}
.close {
    color: white !important;
}
.image-container > figure {
  text-align: center;
  opacity: 0;
  transform: translateY(50px) rotate(0deg);
  transition: all 0.8s ease-out;
  position: relative;
  z-index:9999;
}

.show > figure {
  opacity: 1;
  transform: translateY(0) rotate(360deg);
}

.scroll-image {
  width: 50px;
  max-width: 100%;
}


/*To Top Button*/
#to-top {
  display: none;
  background-color:#e3af5a;
  color:#151623;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 100%;
  font-size: 12px;
  padding: 0;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}
@media screen and (max-width: 800px) {
  #to-top {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
}
#to-top i:before {
  font-size: 3em;
}

#to-top:hover {
  transform: translateY(-20px);
}

.lined-section {
  position: relative;
  width: 100%;
}

.image-container {
  opacity: 0;
  transition: opacity 0.6s ease;
  text-align: center;
}

.image-container.show {
  opacity: 1;
}


.lined-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Line base styles */
.lineline {
  height: 1px;
  background: #e3af5a;
  width: 10%;
  transform: scaleX(0);
  transition: transform 1s ease;
  transform-origin: center;
  opacity: 0;
}

/* Left and right spacing from logo */
.left {
  transform-origin: right center; /* grows leftward from center */
  margin-right: -3px;
}

.right {
  transform-origin: left center;  /* grows rightward from center */
  margin-left: -5px;
}



/* Trigger animation when section becomes active */
.lined-section.active .lineline {
  transform: scaleX(1);
  opacity: 1;
}

/* Hide lines on small screens */
@media screen and (max-width: 700px) {
  .lineline {
    display: none;
  }
}

.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
  padding:0px 60px; }

@media (max-width: 985px) {
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns:100%!important
    }
        .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
        min-height: 300px;
    }
  }