/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Fonts */
@font-face {
  font-family: "Nohemi";
  src: url("/wp-content/themes/bricks-child/fonts/Nohemi-Bold.woff2")
      format("woff2"),
    url("/wp-content/themes/bricks-child/fonts/Nohemi-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nohemi";
  src: url("/wp-content/themes/bricks-child/fonts/Nohemi-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/bricks-child/fonts/Nohemi-Regular.woff")
      format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Violet";
  src: url("/wp-content/themes/bricks-child/fonts/VioletSans-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/bricks-child/fonts/VioletSans-Regular.woff")
      format("woff");
  font-weight: 400;
  font-display: swap;
}
*,
html,
body {
  font-family: "Nohemi", sans-serif;
}
div,
p,
a,
.bricks-button,
.zurich--heading-sm {
  font-family: "Violet", sans-serif;
}

h1 {
  font-size: 2rem;
  font-size: clamp(2rem, 1.6rem + 2vw, 4rem);
}
.text-lg {
  font-size: 2rem;
  font-size: clamp(2rem, 1.76rem + 1.2002vw, 3.2rem);
}
h2 {
  font-size: 1.8rem;
  font-size: clamp(1.8rem, 1.6rem + 0.9999vw, 2.8rem);
}
h3 {
  font-size: 1.35rem;
  font-size: clamp(1.35rem, 1.3rem + 0.25vw, 1.6rem);
}
h4,
.zurich--logo-text,
.zurich--tab-menu-heading {
  font-size: 1.2rem;
  font-size: clamp(1.2rem, 1.16rem + 0.1996vw, 1.4rem);
}
h5,
.zurich--accordion-title {
  font-size: 1.1rem;
  font-size: clamp(1.1rem, 1.08rem + 0.0987vw, 1.2rem);
}
body,
h6,
p,
a {
  font-size: 1rem;
  font-size: clamp(1rem, 0.98rem + 0.1009vw, 1.1rem);
}
.zurich--social-icons a,
.zurich--accordion-text p {
  font-size: 0.9rem;
}
p {
  line-height: 1.4;
}
.zurich-highlight {
  color: var(--accent-purple-light);
}

/* Colors */
:root {
  --accent-purple: #743ad5;
  --accent-pink: #d53a9d;

  --accent-purple-light: #c1a7ec;

  --primary: #0e0b17;
  --primary-dark: #06050a;
  --primary-light: #1e1832;

  --heading-text: #f0f0f0;
  --body-text: #aaa8ae;

  --bricks-border-color: #212023;

  --black: 0, 0, 0;
  --white: 255, 255, 255;

  --radius-xs: 0.3rem;
  --radius-sm: 0.4rem;
  --radius-primary: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 10rem;

  --transition-none: 0s;
}

/* Transitions */
.zurich-header--nav-menu-link,
.zurich-header--cta-text-link,
.zurich-btn::after,
.zurich-header--nav-toggle::before,
.zurich-header--nav-toggle svg,
.zurich-header--nav-dropdown-link,
.zurich-footer--nav-menu-link,
.zurich--social-icons a,
.zurich--product-slide::after,
.zurich--product-slide-heading,
.zurich--product-slide-link,
.zurich--product-slide--bg-img-wrapper,
.zurich-header--nav-dropdown-icon,
.zurich--tab-menu-item,
.zurich--testimonial-slider .splide__arrow,
.zurich--accordion-title {
  -webkit-transition: var(--bricks-transition);
  transition: var(--bricks-transition);
}

/* General */
html,
body,
* {
  overscroll-behavior: none !important;
  -webkit-tap-highlight-color: transparent;
}
:focus,
.splide__arrow:focus {
  outline-offset: 4px;
  -webkit-transition: var(--transition-none);
  transition: var(--transition-none);
}

/* Clip Path Borders */
.zurich-btn,
.zurich-btn-light {
  clip-path: polygon(50% 0%, 85% 0, 100% 40%, 100% 100%, 0 100%, 0% 60%, 0 0);
}
.zurich--pricing-tab-card__btn {
  clip-path: polygon(50% 0%, 94% 0, 100% 40%, 100% 100%, 0 100%, 0% 60%, 0 0);
}
/* Primary */
.zurich-btn,
.zurich-header--nav-toggle,
.zurich--product-slide {
  position: relative;
  background: linear-gradient(
    to right,
    var(--accent-pink),
    var(--accent-purple)
  );
  background-clip: padding-box;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--radius-primary);
}
.zurich-btn::after,
.zurich-header--nav-toggle::after,
.zurich--product-slide::after {
  content: "";
  clip-path: polygon(50% 0%, 88% 0, 100% 37%, 100% 100%, 0 100%, 0% 60%, 0 0);
  background-color: var(--primary);
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  border-radius: var(--radius-sm);
  z-index: -1;
}
.zurich-btn.zurich--pricing-tab-card__btn::after {
  clip-path: polygon(50% 0%, 95% 0, 100% 37%, 100% 100%, 0 100%, 0% 60%, 0 0);
}
.zurich-btn:hover::after,
.zurich-btn:focus::after,
.zurich--product-slide:hover::after {
  background-color: var(--primary-light);
}
.zurich-btn-light:focus {
  background-color: rgba(var(--white), 1) !important;
}
/* Default */
.zurich-header--nav-toggle,
.zurich--product-slide {
  background: linear-gradient(
    to right,
    var(--bricks-border-color),
    var(--bricks-border-color)
  );
}
.zurich-header--nav-toggle,
.zurich-header--nav-toggle::after {
  clip-path: polygon(50% 0%, 70% 0, 100% 40%, 100% 100%, 0 100%, 0% 60%, 0 0);
}
.zurich--product-slide,
.zurich--product-slide::after {
  clip-path: polygon(50% 0%, 90% 0, 100% 15%, 100% 100%, 0 100%, 0% 60%, 0 0);
}
.zurich-header--nav-toggle::after,
.zurich--product-slide::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Scrollbar */
html::-webkit-scrollbar {
  display: none;
}
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Full Height */
.zurich-header--offcanvas .zurich-header--offcanvas-menu.brx-offcanvas-inner {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

/* Link Wrapper */
.zurich--product-slide-link::after,
.zurich-header--nav-dropdown-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Will Change */
.zurich-header--nav-toggle::after,
.zurich-header--nav-toggle svg {
  will-change: transform;
}

/* Blur */
header.scrolling .zurich-header,
.zurich-header--offcanvas-overlay {
  -webkit-backdrop-filter: blur(0.2rem);
  backdrop-filter: blur(0.2rem);
}

/* Display None */
.zurich--testimonial-slider .splide__arrows.custom {
  display: none !important;
}

/* Header */
/* Mobile Menu */
.zurich-header--nav-toggle::before {
  content: "";
  background-image: url(/wp-content/uploads/2023/06/more-vert.svg);
  width: 1.45rem;
  height: 1.45rem;
  position: absolute;
}
.zurich-header--nav-toggle.is-active::before {
  transform: rotate(45deg);
}
.zurich-header--nav-toggle.is-active svg {
  transform: rotate(-45deg);
}

/* Offcanvas */
.zurich--social-icons a:hover {
  color: var(--accent-purple-light);
}

/* Product Slider */
.zurich--product-slider .splide__track,
.zurich--testimonial-slider .splide__track {
  padding: 0 5% !important;
}
/* Slide */
.zurich--product-slide.splide__slide {
  justify-content: space-between;
}
/* Heading */
.zurich--product-slide:hover .zurich--product-slide-heading {
  color: var(--accent-purple-light);
}
/* Button */
.zurich--product-slide-link .icon {
  margin-top: -0.2rem;
}
/* Image */
.zurich--product-slide--bg-img-wrapper {
  opacity: 0;
  pointer-events: none;
}
.zurich--product-slide:hover .zurich--product-slide--bg-img-wrapper {
  bottom: 0;
  opacity: 0.1;
}
/* Pagination */
.zurich--product-slider .splide__pagination .splide__pagination__page.is-active,
.zurich--testimonial-slider
  .splide__pagination
  .splide__pagination__page.is-active {
  box-shadow: 0 0 0 1px var(--accent-purple-light);
}

/* Featured Tabs */
/* Menu */
.zurich--tab-menu {
  gap: 1.5rem;
}
.zurich--tab-menu-item {
  filter: brightness(0.5);
}
.zurich--tab-menu-item:hover {
  filter: brightness(0.75);
}
.zurich--tab-menu-item.brx-open {
  cursor: default;
  filter: brightness(1);
}
.zurich--tab-menu-text {
  height: 0;
  opacity: 0;
  visibility: hidden;
}
.zurich--tab-menu-item.brx-open .zurich--tab-menu-text {
  height: 100%;
  opacity: 1;
  visibility: visible;
}

/* Companies */
.zurich--companies-wrapper::before {
  z-index: 1;
}
.zurich--companies-wrapper :where(.splide__list, .splide__slide) {
  transition-timing-function: linear !important;
}

/* Pricing */
.zurich--pricing-tab-menu__btn-wrapper.brx-open {
  cursor: default;
}

/* FAQs */
.zurich--accordion-item.brx-open .zurich--accordion-icon {
  opacity: 0;
}

/* Footer */
.zurich--social-icons a {
  border-radius: var(--radius-full);
}

/********** Responsive **********/
/* Tablet portrait */
@media (min-width: 600px) {
  .zurich-container::before,
  .zurich-container::after {
    content: "";
    background-image: url(/wp-content/uploads/2023/06/star-bg.svg);
    width: 19px;
    height: 19px;
    position: absolute;
    bottom: -10px;
    z-index: 1;
  }
  .zurich-container::before {
    left: -10px;
  }
  .zurich-container::after {
    right: -10px;
  }
}

/* Tablet landscape */
@media (min-width: 801px) {
  /* Featured Tabs */
  .zurich--tabs {
    align-items: flex-end;
    gap: 3rem;
  }
  /* Testimonial */
  .zurich--testimonial-slider .splide__arrows.custom {
    display: flex !important;
  }
  .zurich--testimonial-slider .splide__arrow:disabled {
    opacity: 0.15;
    cursor: default;
  }
  .zurich--testimonial-slider .splide__arrow:hover:disabled {
    color: var(--body-text);
  }
  .zurich--testimonial-slider .splide__pagination {
    display: none;
  }
  /* Single Product Page */
  .zurich--single-feature-wrapper .zurich--inner-split:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Laptop */
@media (min-width: 1025px) {
  .zurich-header--nav-dropdown-item:hover .zurich-header--nav-dropdown-icon {
    opacity: 1;
  }
  /* Featured Tabs */
  .zurich--tabs {
    gap: 6rem;
  }
}
