/*
* Template Name: SJH - Weesbach
* Version: v1.0.0
* Author: Julian Holzenthal
* File: general.css
*/

/*--------------------------------------------------------------
#0000 - Directory
--------------------------------------------------------------*/
/* #1000 - General Information */
  /* #1001 - Font & Color scheme */
  /* #1002 - General Styling & Shared Classes */
  /* #1003 - Button "Back to Top" */
  /* #1004 - Global Header */
  /* #1005 - Navbar */
  /* #1006 - Global Sections */
  /* #1007 - Breadcrumbs */
  /* #1008 - Global Footer */

/*--------------------------------------------------------------
#1000 - General Information
--------------------------------------------------------------*/

/*--------------------------------------------------------------
#1001 - Font & Color scheme
--------------------------------------------------------------*/
/* Main Colors */
:root 
{
    --primary-color: #444444;                       
    --secondary-color: #ffffff;                     
    --tertiary-color: rgba(25, 28, 31, 0.8);    
    --accent-color: #5FAE4E;
    --accent-hover-color: #4C9A3E;
    --accent-detail-color: rgba(120,170,90,.55);
    --nav-accent-color: #3b434a;
    --nav-shadow-color: rgba(127, 137, 161, 0.25); 
    --breadcrumb-bg-color: #f4f5f6;                       
}

/* Main Fonts */
:root
{
    --default-font: "Open Sans", sans-serif;
    --heading-font: "Raleway", sans-serif;
    --footer-font: "Satisfy", serif;   
}

/*--------------------------------------------------------------
#1002 - General Styling & Shared Classes
--------------------------------------------------------------*/
html, body 
{
  height: 100%;
}

body
{
  font-family: var(--default-font);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
}

a
{
  color: var(--accent-color);
  text-decoration: none;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

a:hover
{
  color: var(--accent-hover-color);
  text-decoration: none;
}

h1,h2,h3,h4,h5,h6
{
  font-family: var(--heading-font);
}

.btn-sjh
{
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  align-self: center;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  border: 2px solid var(--accent-color);
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn-sjh:hover
{
  background: var(--accent-hover-color);
  color: var(--secondary-color);
}

.btn-sjh:focus,
.btn-sjh:focus-visible
{
  outline: none;
  box-shadow: none;
}

.btn-sjh--ghost 
{
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.page-content 
{
  flex: 1;
}

/*--------------------------------------------------------------
#1003 - Button "Back to Top"
--------------------------------------------------------------*/
.back-to-top
{
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i
{
  font-size: 28px;
  color: var(--secondary-color);
  line-height: 0;
}

.back-to-top:hover
{
  background: var(--accent-hover-color);
  color: var(--secondary-color);
}

.back-to-top.active
{
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
#1004 - Global Header
--------------------------------------------------------------*/
#header
{
  z-index: 997;
  transition: all 0.5s;
  height: 60px;
  background: var(--tertiary-color);
}

/*--------------------------------------------------------------
#1005 - Navbar
--------------------------------------------------------------*/
/*Desktop Navigation*/
.navbar
{
  padding: 0;
}

.navbar ul
{
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li
{
  position: relative;
}

.navbar a,
.navbar a:focus
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: var(--secondary-color);
  white-space: nowrap;
  transition: 0.3;
  font-size: 12px;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar a i,
.navbar a:focus i
{
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

#navbar ul li.current-menu-item > a,
#navbar ul li.current-menu-parent > a,
#navbar ul li.current-menu-ancestor > a 
{
  color: var(--accent-color);
}


.navbar a:hover,
.navbar li:hover>a
{
  color: var(--accent-color);
}

.navbar .dropdown ul
{
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--secondary-color);
  box-shadow: 0px 0px 30px var(--nav-shadow-color);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li
{
  min-width: 200px;
}

.navbar .dropdown ul a
{
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  color: var(--nav-accent-color);
  letter-spacing: 1px;
}

.navbar .dropdown ul a i
{
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a
{
  color: var(--accent-color);
}

.navbar .dropdown:hover>ul
{
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul
{
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul
{
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px)
{
  .navbar .dropdown .dropdown ul
  {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul
  {
    left: -100%;
  }
}

/*Mobile Navigation*/
.mobile-nav-toggle
{
  color: var(--secondary-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px)
{
  .mobile-nav-toggle
  {
    display: block;
  }

  .navbar ul
  {
    display: none;
  }
}

.navbar-mobile
{
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(36, 41, 46, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle
{
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul
{
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: var(--secondary-color);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus
{
  padding: 10px 20px;
  font-size: 14px;
  color: var(--nav-accent-color);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a
{
  color: var(--accent-color);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus
{
  margin: 15px;
}

.navbar-mobile .dropdown ul
{
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--secondary-color);
  box-shadow: 0px 0px 30px var(--nav-shadow-color);
}

.navbar-mobile .dropdown ul li
{
  min-width: 200px;
}

.navbar-mobile .dropdown ul a
{
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i
{
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a
{
  color: var(--accent-color);
}

.navbar-mobile .dropdown>.dropdown-active
{
  display: block;
}

/*--------------------------------------------------------------
#1006 - Global Sections
--------------------------------------------------------------*/
section
{
  padding: 60px 0;
}

.section-bg
{
  background-color: var(--secondary-color);
}

.section-title
{
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.section-title h2
{
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--nav-accent-color);
  position: relative;
  z-index: 2;
}

.section-title span
{
  position: absolute;
  top: 30px;
  color: var(--secondary-color);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 0;
}

.section-title p
{
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px)
{
  .section-title h2
  {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span
  {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
#1007 - Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs
{
  padding: 20px 0;
  background-color: var(--breadcrumb-bg-color);
  min-height: 40px;
  margin-top: 60px;
}

@media (max-width: 992px)
{
  .breadcrumbs
  {
    margin-top: 60px;
  }
}

.breadcrumbs h2
{
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px)
{
  .breadcrumbs h2
  {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol
{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li
{
  padding-left: 10px;
}

.breadcrumbs ol li+li::before
{
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px)
{
  .breadcrumbs .d-flex
  {
    display: block !important;
  }

  .breadcrumbs ol
  {
    display: block;
  }

  .breadcrumbs ol li
  {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
#1008 - Global Footer
--------------------------------------------------------------*/
#footer
{
  background: url("../img/footer-bg.jpeg") top center no-repeat;
  background-size: cover;
  color: var(--secondary-color);
  font-size: 14px;
  text-align: center;
  padding: 80px 0;
  position: relative;
}

#footer::before
{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

#footer .container
{
  position: relative;
}

#footer h3
{
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  position: relative;
  font-family: var(--footer-font);
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p
{
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links
{
  margin: 0 0 40px 0;
}

#footer .social-links a
{
  font-size: 18px;
  display: inline-block;
  background: var(--accent-color);
  color: var(--secondary-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.5s;
}

#footer .social-links a:hover
{
  background: var(--accent-hover-color);
  color: var(--secondary-color);
  text-decoration: none;
}

#footer .copyright
{
  margin: 0 0 5px 0;
}

.credits
{
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.credits a
{
  display: inline-flex;
  align-items: center;
}

.credits img
{
  height: 50px;    
  width: auto;
  display: block;    
  opacity: .85;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.credits a:hover img
{
  opacity: 1;
}

/*--------------------------------------------------------------
#1009 - Cookie Banner
--------------------------------------------------------------*/
.cookie-banner 
{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  background: var(--primary-color);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 14px 22px;
  box-shadow: 0 8px 32px var(--nav-shadow-color);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  z-index: 10000;
}

.cookie-banner p 
{
  margin: 0;
  color: var(--secondary-color);
}

.cookie-buttons 
{
  display: flex;
  gap: 10px;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
    gap: 10px;
    width: 90%;
    max-width: 320px;
  }

  .cookie-banner p {
    font-size: 15px;
    line-height: 1.4;
  }

  .cookie-banner a {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }
}


/*--------------------------------------------------------------
#1009 - Forms
--------------------------------------------------------------*/
.form-check 
{
    display: flex;
    align-items: center;
    gap: 0.6rem;       
    margin: 0;
    justify-content: center;          
}

.form-check-input 
{
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;    
}

.form-check-label 
{
    line-height: 1.4;
}



html, body { overflow-x: hidden; }

img, video, iframe { max-width: 100%; height: auto; }

.site-content, main, .wp-site-blocks { padding-left: 16px; padding-right: 16px; }

.wp-site-blocks, .site-content { max-width: 1100px; margin: 0 auto; }


