/*
Theme Name: FWF 2024 Framework
Author: Matt Lewis
Author URI: https://locuswebmarketing.com/
Version: 1.0.0
*/

/* Base 
  ------------------------ */
* {
  text-decoration: none;
  box-sizing: border-box;
}
html,
body {
  font-family: "Geist", sans-serif;
  margin: 0;
}
.container {
  width: 1280px;
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

/* HEader */
.header-01 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-01 img {
  height: 42px;
  width: auto;
  transition: all 0.3s ease;
  transform: translateY(1px);
}
.header-01 nav.left {
  margin-left: 2.5rem;
  padding-left: 2.5rem;
  margin-right: auto;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.header-01 nav.right {
  margin-right: 2.75rem;
  margin-left: auto;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.header-01 nav ul {
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}
.header-01 nav ul li {
  list-style: none;
  position: relative;
}
.header-01 nav ul li a {
  color: #212121;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  padding: 2.15rem 0;
  display: block;
  transition: all 0.3s ease;
}
.header-01 nav ul li a:hover {
  color: var(--primary);
}
.header-01 nav ul.sub-menu {
  display: grid;
  position: absolute;
  background: white;
  padding: 1.5rem;
  top: 100%;
  left: -12px;
  min-width: 225px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  pointer-events: none;
  transform: translateY(-12px);
  opacity: 0;
  transition: all 0.3s ease;
}
.header-01 nav li.menu-item-has-children a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Sharp";
  display: inline-flex;
  margin-left: 0.5rem;
  font-size: 0.65rem;
  opacity: 0.5;
}
.header-01 nav li.menu-item-has-children ul.sub-menu a {
  padding: 0;
}
.header-01 nav li.menu-item-has-children ul.sub-menu a::after {
  display: none;
}
.header-01 nav ul.sub-menu a {
  padding: 0;
}
.header-01 nav li.menu-item-has-children:hover ul.sub-menu {
  transform: translateY(0px);
  opacity: 1;
  pointer-events: auto;
}
.header-01 .mobile-trigger {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  padding: 0;
  color: #212121;
}
.header-01 .widgets {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wp-block-button__link img {
  height: 0.9rem !important;
  width: auto !important;
}
@media (min-width: 992px) {
  .header-01.scrolled nav ul li a {
    padding: 1.5rem 0;
  }
  .header-01.scrolled img {
    height: 36px;
  }
}
@media (max-width: 992px) {
  .header-01 {
    padding: 1rem 0;
  }
  .header-01 nav {
    display: none;
  }
  .header-01 .widgets {
    display: none;
  }
  .header-01 img {
    height: 32px;
  }
  .header-01 .mobile-trigger {
    display: block;
  }
}

/* Pill Header
  ------------------------ */
.header-01.pill {
  position: fixed;
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 1rem;
  left: 0;
  right: 0;
  top: 1.25rem;
}
.header-01.pill .container {
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}
.header-01.pill .sub-menu {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
@media (max-width: 992px) {
  .header-01.pill {
    position: sticky;
    top: 0;
    left: 0;
    border-radius: 0;
  }
}

/* Overlay Header
  ------------------------ */
.header-01.fixed {
  position: absolute;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
  left: 0;
  width: 100%;
}
.header-01.fixed ul li a,
.header-01.fixed svg {
  color: white;
}
.header-01.fixed nav.left {
  border-color: rgba(255, 255, 255, 0.1);
}
.header-01.fixed nav li.menu-item-has-children ul.sub-menu a {
  color: #212121;
}
.header-01.fixed nav li.menu-item-has-children ul.sub-menu a:hover {
  color: var(--primary);
}

/* Buttons
  ------------------------ */
.button,
.wp-block-button__link {
  background-color: var(--primary);
  color: #212121;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.button:hover,
.wp-block-button__link:hover {
  filter: brightness(110%);
  gap: 1rem;
}

/* Mobile Navigation
  ------------------------ */
.mobile-navigation {
  position: fixed;
  top: 0;
  background: #f9f9f9;
  height: auto;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 8;
  padding-top: 4.5rem;
  padding-bottom: 1.25rem;
  top: -100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.mobile-navigation.active {
  top: 0;
  pointer-events: initial;
  opacity: 1;
}
.mobile-navigation ul {
  margin: 0;
  padding: 0;
  display: grid;
}
.mobile-navigation ul li {
  list-style: none;
}
.mobile-navigation ul li a {
  color: #212121;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1.25rem;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.mobile-navigation ul.sub-menu {
  display: none;
}
.mobile-naviation .wp-block-buttons > .wp-block-button {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
}
.mobile-navigation .wp-block-buttons {
  justify-content: center;
  margin-top: 1.25rem;
}
.mobile-navigation li.menu-item-has-children a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Sharp";
  display: inline-flex;
  margin-left: 0.5rem;
  font-size: 0.65rem;
  opacity: 0.5;
}
.mobile-navigation .wc-block-mini-cart__button {
  display: none;
}

/* Footer 01 
  ------------------------ */
footer.footer-01 {
  background: #f9f9f9;
  padding: 2.75rem 0;
  padding-bottom: 1rem;
  border-top: 4px solid var(--primary);
}
footer.footer-01 .container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 auto;
}
footer.footer-01 .container div {
  width: 100%;
}
footer.footer-01 ul {
  padding: 0;
}
footer.footer-01 ul li {
  list-style: none;
}
footer.footer-01 ul li a {
  color: #212121;
  padding: 0.5rem 0;
  display: block;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
footer.footer-01 ul li a:hover {
  color: var(--primary);
}
footer.footer-01 .footer-title {
  font-weight: 500;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
footer.footer-01 img {
  height: 44px;
  margin-top: 16px;
}
footer.footer-01 .company-info p {
  line-height: 1.6;
  font-size: 0.9rem;
  font-weight: 500;
}
footer.footer-01 .footer-bottom {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
footer.footer-01 .footer-bottom p {
  font-weight: 500;
  color: #666;
  font-size: 0.8rem;
}
footer.footer-01 .footer-bottom span {
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 0.5rem;
  margin-left: 0.5rem;
}
footer.footer-01 .footer-bottom span:first-of-type {
  margin: 0;
  padding: 0;
  border: none;
}
@media (max-width: 992px) {
  footer.footer-01 .container {
    display: grid;
  }
}
