/*
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 External Files
   ========================================================================== */

/* Import Figtree from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;700&display=swap');

/* Import local CSS partials */
@import "assets/css/theme-colors.css";
@import "assets/css/header.css";
@import "assets/css/blocks.css";

/* ==========================================================================
   CSS Variables and Configuration (Root & Base)
   ========================================================================== */

:root {
  /* --- Default (Light Mode) Variables --- */
  --color-white: #f0f1f1;
  --color-orange: #FF8300;
  --color-liteblue: #459ecb;
  --color-integrations: #B8DFF2;
  --features-bkg: #ffffff;
  --color-darkblue: #0E2646;
  --color-royalblue: #2A7DE2;
  --hover-color: #FF8300;
  --submenu-bg-1: #B8DFF2;
  --secondary-color: #2A7DE2;
  --royal2orange-color: #2A7DE2;
  --headline-color: #2A7DE2;
  --primary-color: #0E2646;
  --text-color: #0E2646;
  --bg-color: #B8DFF2;
  --menu: #f0f1f1;
  --sub-menu: #0E2646;
  --sub-hover-color: #FF8300;
  --font-family: 'Figtree', sans-serif;
  --font-awesome: 'Font Awesome 5 Free';

  /* --- Fluid Typography Configuration --- */
  --min-vw: 320;
  --max-vw: 1440;
  --base-size: 16;
  --scale-ratio: 1.25; /* Minor Third Scale */

  /* Fluid type function using clamp() based on VW */
  --step--2: clamp(0.64rem, calc(0.64rem + ((1vw - 3.2px) * 0.1)), 0.8rem);
  --step--1: clamp(0.8rem, calc(0.8rem + ((1vw - 3.2px) * 0.1)), 1rem);
  --step-0: clamp(1rem, calc(1rem + ((1vw - 3.2px) * 0.1)), 1.25rem);
  --step-1: clamp(1.25rem, calc(1.25rem + ((1vw - 3.2px) * 0.1)), 1.563rem);
  --step-2: clamp(1.563rem, calc(1.563rem + ((1vw - 3.2px) * 0.1)), 1.953rem);
  --step-3: clamp(1.953rem, calc(1.953rem + ((1vw - 3.2px) * 0.1)), 2.441rem);
  --step-4: clamp(2.441rem, calc(2.441rem + ((1vw - 3.2px) * 0.1)), 3.052rem);
  --step-5: clamp(3.052rem, calc(3.052rem + ((1vw - 3.2px) * 0.1)), 3.815rem);
}

/* ==========================================================================
   Dark Mode Overrides
   ========================================================================== */

@media (prefers-color-scheme: dark) {
  :root {
    --menu: #FF8300;
    --royal2orange-color: #FF8300;
    --submenu-bg-1: #FF8300;
    --secondary-color: #0E2646;
    --primary-color: #007bff;
    --color-integrations: #6fb0ff;
    --text-color: #ffffff;
    --bg-color: #0E2646;
    --sub-hover-color: #ffffff;
    --sub-menu: #ffffff;
    --headline-color: #ffffff;
    --features-bkg: #3E72B1;
  }
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

body {
  margin: 0 auto;
  /* Note: The !important tag is used below to override Bootstrap styles */
  font-family: var(--font-family) !important;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  text-align: left;
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 20px;
  /* Complex stacked backgrounds */
  background:
    /* NEW LEFT-TO-RIGHT OVERLAY (semi-transparent) */
    linear-gradient(to right, #0d2646b3, #2a7ce160),
    /* stripe gradients */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 1px,
      var(--secondary-color) 1px,
      var(--secondary-color) 50px
    ),
    linear-gradient(
      to bottom,
      var(--secondary-color),
      var(--primary-color)
    );
}

footer img {
  max-width: 50%;
  max-height: 150px;
}

footer a {
  color: var(--color-white);
  text-decoration: none;
}

.bottom-footer {
  /* Note: The original value was missing a `var()` wrapper */
  background-color: var(--color-darkblue);
  display: flex;
  justify-content: flex-end;
  /* Note: The original had a stray variable name that caused a syntax error */
  color: var(--color-white);
  padding: 20px 10px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
  .oj-callout-content {
    flex-direction: column;
  }
}

/* ==========================================================================
   Title Area
   ========================================================================== */

@media (prefers-color-scheme: light) {
.hero_row{
background: #edfaff;
background: linear-gradient(338deg,rgba(237, 250, 255, 1) 0%, rgba(184, 223, 242, 1) 100%);
}}

@media (prefers-color-scheme: dark) {
.hero_row{
background: #2A7DE2;
background: linear-gradient(159deg,rgba(42, 125, 226, 1) 0%, rgba(28, 82, 149, 1) 30%, rgba(14, 38, 70, 1) 100%);
}}

.hero_row{
          width: 100vw;
          padding-top: 40px;
        /* You might need to adjust positioning or margins */
        margin-left: calc((100vw - 100%) / -2); /* For centering within a container */
        margin-right: calc((100vw - 100%) / -2);     
      display: flex;
      flex-direction: row-reverse;
      align-items: flex-start; /* Aligns all items to the bottom */
}

@media (prefers-color-scheme: dark) {
  .hero_row{
          width: 100vw;
          padding-top: 40px;
      display: flex;
      flex-direction: row-reverse;
      align-items: flex-start; /* Aligns all items to the bottom */
}}


@media (max-width: 1199px) {
.hero_image_wrapper{
  display: none;
}}

.hero_image_wrapper{
  width: 40vw;
}



.hero_image {
  float: left; 
  width: 40vw; 
  padding-right: 40px;
}

.hero_image_top_page{
  border-radius:0 80px 0 0; 
  object-fit: cover; 
  padding-right: 40px;
  padding-top: 40px;
}

.hero_image_wrapper img{
  width: 38vw;
}

@media (max-width: 1199px) {
.title-bar{
width: 100vw;
    padding: 20px;
}}

@media (min-width: 1200px) {.title-bar{
width: 60vw;
    padding-right: 100px;
    margin-top: 40px;
}}

@media (max-width: 1199px) {
.top-page-title-bar{
width: 100vw;
    padding: 20px;
}}

@media (min-width: 1200px) {.top-page-title-bar{
width: 60vw;
    padding-right: 100px;
    margin-top: 40px;
}}


/* Line animation */
@keyframes drawLine {
  0% { width: 0;}
  100% { width: 100px; }
}

.title-line {
  margin-bottom: 0px;
  width: 60px;
  height: 5px;
  background-color: var(--royal2orange-color);
  animation: drawLine 2s ease-out forwards; 
}


.title {
  margin-top: 20px;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 900;
}

.sub-title{
    margin-top: 20px;
	margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: var(--step-1);
    line-height: 1;
      font-weight: 100;
}

.description-bar {
  display: inline-flex;
  gap: 20px; /* Spacing between flex items */
  align-items: top; /* Vertically align items in the center */
}

@media (max-width: 1199px) {
.description-bar {
  display: block;
}}

.call_to_action_description {
  color: var(--royal2orange-color);
  font-weight: 800;
  min-width: 300px;
}

.page_description{
  min-width: 300px;
}

.cta_group {
  display: block;
  padding-bottom: 20px;
}

.orange_btn a{
  font-size: 12px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid; 
  text-decoration: none;
  background-color: var(--color-orange);
  color: var(--color-darkblue);
  border-color: var(--color-orange);
}
.orange_btn a:hover {
  color: var(--color-orange);
  background-color: var(--color-darkblue);
}

