/*
Theme Name: Birch
Theme URI: https://thebirchhouse.com
Author: Marko Ogar
Author URI: https://instagram.com/thebirch.house
Description: The Birch theme is a clean one page template built on Bootstrap and GSAP
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Birch
Tags: custom-theme, consulting, sales funnels, bootstrap
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
*/

/* Stylesheet */
:root {
  --blue: #111d30; /* Birch Blue - Primary */
  --indigo: #7441b2; /* Birch Indigo */
  --purple: #28153f; /* Birch Purple */
  --pink: #fc55af; /* Birch Pink */
  --red: #c80000; /* Danger */
  --orange: #d1943e; /* Birch Orange - Warning */
  --yellow: #ffe0a2; /* Birch Gold - Secondary */
  --green: #2d6817; /* Birch Green - Success */
  --teal: #419cb2; /* Birch Teal */
  --cyan: #1a8285; /* Birch Cyan - Info */
  --white: #fff;
  --white-rgb: 255, 255, 255;
  --gray: #50617d; /* Birch Gray */
  --gray-dark: #020812; /* Birch Dark Gray */
  --black: #000;
  --black-rgb: 0, 0, 0;
  --transparent: rgba(0,0,0,0);
  --primary:  #fff; /* Birch Blue */
  --primary-rgb: 255, 255, 255;
  --secondary: #000; /* Birch Gold */
  --secondary-rgb: 0, 0, 0;
  --element-bg-color: #fff;
  --success: #2d6716; /* Birch Green */
  --info: #1a8285; /* Birch Cyan */
  --warning: #d1943e; /* Birch Orange */
  --danger: #c80000; /* Birch Red */
  --light: #c9d7ed; /*Birch Light */
  --dark: #020812; /*Birch Dark */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --border-radius: 4px;
  --toolbar-height: 0px;
  --space-section: 40px;
  --space-lg: 30px;
  --space-md: 20px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue Light", futura-pt, "Segoe UI", system-ui, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-serif: "DM Serif Display", serif, Georgia;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

@font-face {
    font-family: 'Ogar-sans';
    src: url('./assets/fonts/ogar-sansdisplay-medium-webfont.eot');
    src: url('./assets/fonts/ogar-sansdisplay-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/ogar-sansdisplay-medium-webfont.woff2') format('woff2'),
         url('./assets/fonts/ogar-sansdisplay-medium-webfont.woff') format('woff'),
         url('./assets/fonts/ogar-sansdisplay-medium-webfont.ttf') format('truetype'),
         url('./assets/fonts/ogar-sansdisplay-medium-webfont.svg#ogar-sans') format('svg');
    font-weight: normal;
    font-style: normal;
}
*{ 
  /* Font */
  font-family: var(--font-family-sans-serif);
  font-size: clamp(14px, 2.5vw, 16px);
  /* Margin & Padding */
  margin: 0; 
  padding: 0; 
} 
body {
  /* Color */
  background-color: var(--white);
}
.white {
  background-color: var(--white);
}
.content-box {
  padding: 60px 0;
}
.section {
  padding-block: var(--space-section);
}
.tab {
  margin-bottom: 2rem;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
/* Viewport */
.full-screen {
  height: 100vh;
}
.half-screen {
  height: 50vh;
}
.min-half-screen {
  min-height: 50vh;
}
/* Text */
.left {
  text-align:left;
}
.right {
  text-align: right;
}
blockquote {
  color: var(--gray);
  font-style: italic;
}
span{
  /* Font */
  font-size: clamp(1.125rem, 2.8vw, 1.25rem);
  font-family: var(--font-family-sans-serif);
  padding: 0 clamp(0.1rem, 0.5vw, 0.25rem);
}
a {
  color: var(--gray);
}
a:hover,
a:focus {
  color: var(--secondary);
}
/* Paragraphs */
p.lead {
  font-size: clamp(1.125rem, 2.8vw, 1.25rem); /* slightly bigger than p */
  font-weight: 300;
  line-height: 1.7;
  margin: clamp(0.6rem, 1vmin, 0.8rem) 0;
  opacity: 0.9;
  color: inherit;
}
p {
  /* Font */
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;

  /* Margin & Padding */
  margin: clamp(0.35rem, 0.7vmin, 0.55rem) 0;
  padding: 0 0 clamp(0.2rem, 0.45vmin, 0.35rem);
}
/* Links inside Paragraphs */
p a {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  text-decoration: underline;
}
/* Headings */
h6 {
  font-size: clamp(1.125rem, 2.7vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(0.4rem, 0.8vmin, 0.55rem);
  padding-bottom: clamp(0.2rem, 0.4vmin, 0.35rem);
}
h5 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(0.45rem, 0.9vmin, 0.65rem);
  padding-bottom: clamp(0.25rem, 0.5vmin, 0.4rem);
}
h4 {
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: clamp(0.5rem, 1vmin, 0.75rem);
  padding-bottom: clamp(0.3rem, 0.6vmin, 0.5rem);
}
h3 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: clamp(0.55rem, 1.1vmin, 0.8rem);
  padding-bottom: clamp(0.35rem, 0.7vmin, 0.55rem);
}
h2 {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  /*margin-bottom: clamp(0.7rem, 1.3vmin, 1rem);
  padding-bottom: clamp(0.45rem, 0.9vmin, 0.7rem);*/
  margin-bottom: clamp(0.85rem, 1.5vmin, 1.25rem);
  padding-bottom: clamp(1rem, 2.5vmin, 2rem);
}
h1 {
  font-family: Ogar-Sans, Times New Roman, serif;
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-left: clamp(1rem, 3vw, 1.6rem);
  margin-right: clamp(1rem, 3vw, 1.6rem);
  margin-bottom: clamp(0.85rem, 1.5vmin, 1.25rem);
  padding-bottom: clamp(1rem, 2.5vmin, 2rem);
  text-transform: uppercase;
}
/* Hairlines */
hr {
  /* Margin & Padding */
  margin: auto;

  /* Color */
  color: var(--white);
  opacity: 0.75;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: var(--white);
}
/* Images */
img {
  height: auto;
  max-width: 100%;
}
/* Buttons */
.btn{
  /* Border */
  border-radius: 20px;
}
/* Gold w/ Blue Text -> Blue w/ Gold Text -> Blue w/ White Details */

/* Currently applies to: #banner-row (drop parent class in CSS + add btn-primary to the php - Y), .carousel-caption (drop parent class in CSS + add btn-primary to the php - Y), or any darker backgrounds */
.btn-primary{
  /* Color */
  --bs-btn-color: var(--primary); /* Blue Text */
  --bs-btn-bg: var(--secondary); /* Gold Background */
  --bs-btn-border-color: var(--secondary); /* Gold Border */

  --bs-btn-hover-color: var(--secondary); /* Gold Text */
  --bs-btn-hover-bg: var(--primary); /* Blue Background */
  --bs-btn-hover-border-color: var(--primary); /* Blue Border */

  --bs-btn-focus-shadow: rgba(var(--black-rgb),0);

  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--primary);
  --bs-btn-active-border-color: var(--white);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(var(--black-rgb), 0.05);

  --bs-btn-disabled-color: var(--gray);
  --bs-btn-disabled-bg: rgba(var(--white-rgb),0.05);
  --bs-btn-disabled-border-color: var(--gray);
}

/* Applies to: #about-info (drop parent class in CSS + change to btn-secondary in the php - Y), modal-footer (drop parent class in CSS + change to btn-secondary in the php - Y), or any lighter background */
.btn-secondary {
  /* Color */
  --bs-btn-color: var(--secondary);
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);

  --bs-btn-hover-color: var(--primary);
  --bs-btn-hover-bg: var(--secondary);
  --bs-btn-hover-border-color: var(--secondary);

  --bs-btn-focus-shadow: rgba(var(--black-rgb),0);

  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--secondary);
  --bs-btn-active-border-color: var(--white);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(var(--black-rgb), 0.05);

  --bs-btn-disabled-color: var(--gray);
  --bs-btn-disabled-bg: rgba(var(--white-rgb),0.05);
  --bs-btn-disabled-border-color: var(--gray);
}

.btn-hover-hollow-primary {
  /* Color */
  --bs-btn-hover-color: var(--primary); /* Blue Text on Hover */
  --bs-btn-hover-bg: var(--transparent); /* Transparent Background on Hover */
  --bs-btn-hover-border-color: var(--primary); /* Blue Border on Hover */

  --bs-btn-active-bg: var(--transparent);
}

/* Gold w/ Blue Text -> Transparent w/ Gold Details */
/* Previously the .book-meeting class, must change in php element file for navbar*/
/* Applies to peripherals */
.btn-hover-hollow-secondary {
  /* Color */
  --bs-btn-hover-color: var(--secondary); /* Gold Text on Hover */
  --bs-btn-hover-bg: var(--transparent); /* Transparent Background on Hover */
  --bs-btn-hover-border-color: var(--secondary); /* Gold Border on Hover */

  --bs-btn-active-bg: var(--transparent);
}
/* Applies to: #about-info (drop the parent class in CSS - Y), modal-footer (drop the parent class in CSS - Y), or any lighter background */
.btn-link {
  /* Font */
  font-weight: 400;

  /* Color */
  color: var(--secondary);

  /* Text decoration */
  text-decoration: underline;
  text-decoration-color: var(--secondary); /* Underline color */
}
.btn-link:hover, .btn-link:focus {
  /* Color */
  color: var(--secondary);

  /* Text-decoration */
  text-decoration: none;
}
.btn-link:disabled, .btn-link.disabled {
  /* Color */
  color: var(--gray);

  pointer-events: none;
}
.btn-close {
    /* Color */
    --bs-btn-close-color: var(--secondary);
    
    --bs-btn-close-opacity: 0.5;
    --bs-btn-close-hover-opacity: 0.75;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem var(--transparent);
    --bs-btn-close-focus-opacity: 1;
    --bs-btn-close-disabled-opacity: 0.25;
    --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: var(--bs-btn-close-color);
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
    border: 0;
    border-radius: .375rem;
    opacity: var(--bs-btn-close-opacity);
}
.btn-close-secondary {
  filter: brightness(0) saturate(100%) invert(93%) sepia(17%) saturate(812%) hue-rotate(329deg) brightness(101%) contrast(94%);
}
.btn-close-secondary:hover,
.btn-close-secondary:focus {
  filter: brightness(0) saturate(100%) invert(95%) sepia(30%) saturate(900%) hue-rotate(329deg) brightness(105%) contrast(98%);
}

@media only screen and (max-width: 768px){  
  .button-container {
    display: flex;
    justify-content: center;
    width: 50%;
    max-width: 50%;
    margin-right: auto;
    margin-left: auto;
  }  
}
/* Icon Link */
.icon-link {
  color: var(--secondary); /* Link color */
  text-decoration: underline;
  text-decoration-color: var(--secondary); /* Underline color */
  transition: letter-spacing 0.3s ease;
}
.icon-link .bi {
  fill: var(--secondary); /* Arrow color */
}
.icon-link,
.icon-link .bi {
  transition: transform 0.3s ease;
}
.icon-link-hover:hover {
  color: var(--secondary); /* Hover link color */
  text-decoration: none;
  filter: brightness(90%);
  transform: scale(0.95);
  /* text-decoration-color: var(--secondary); Hover underline color */
}
.icon-link-hover:hover .bi {
  fill: var(--secondary); /* Hover arrow color */
}
/* banner */
#banner{
  background-color: var(--primary);
  /*margin-top: 40px;*/
}
/* Cards */
.card{
  border-radius: var(--border-radius);

  box-shadow: 0px 4px 6px -2px rgba(var(--black-rgb), 0.12), 
              0px 6px 7px 0px rgba(var(--black-rgb), 0.08), 
              0px 2px 15px 0px rgba(var(--black-rgb), 0.06);

  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(0.95);
}
.card .card-header {
  border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius) ;
}
.card-img-top{
  border-radius: var(--border-radius) var(--border-radius) 0px 0px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.card-title{
  margin-top: 0;
  padding-bottom: 0;
}
/* Modals */
.modal-content{
  border-radius: var(--border-radius);

  box-shadow: 0px 4px 6px -2px rgba(var(--black-rgb), 0.12), 
  0px 6px 7px 0px rgba(var(--black-rgb), 0.08), 
  0px 2px 15px 0px rgba(var(--black-rgb), 0.06);
}
.modal-header{
  border-radius: var(--border-radius) var(--border-radius) 0px 0px;
  padding: 0;
  align-items: start;
}
.modal-header img{
  width: 100%;
  height: auto;
  border-radius: inherit;
}
/* Initial state of the modal, scaled down */
.modal.fade .modal-dialog {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.2s ease;
}
/* State of the modal when it is fully shown, scaled to normal size */
.modal.fade.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}
.modal-footer{
  padding: 1rem;
}
/* #Preloader */
body.no-gsap #preloader {
  display: none;
}

/* Show required asterisk for visually hidden labels */
label.tw-required-hidden::after {
  content: '*';
  color: #dc3545;
  margin-left: 0.25rem;
}

[data-animate] {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

[data-animate].in-view {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: all 0.8s ease;
}

[data-animate="slideUp"] { transform: translateY(100px); }
[data-animate="slideDown"] { transform: translateY(-100px); }
[data-animate="slideLeft"] { transform: translateX(100px); }
[data-animate="slideRight"] { transform: translateX(-100px); }
[data-animate="scaleIn"] { transform: scale(0.8); }
[data-animate="rotateIn"] { transform: rotate(-90deg); }

