/*
Theme Name: zhurbatheme
Author: Val

*/

:root {
  /* colors */
  --clr-accent: 36 51% 71%;
  --clr-light: 36 11% 92%;
  --clr-white: 180 0% 100%;
  --clr-dark: 0 0% 0%;

  /* border-radius */
  --br-small: 3px;
  --br-medium: 8px;

  /* font-sizes */
  --fs-900: clamp(5rem, 8vw + 1rem, 9.375rem);
  --fs-800: 3rem;
  --fs-700: 1.5rem;
  --fs-600: 1rem;
  --fs-500: 1.75rem;
  --fs-400: 0.9375rem;
  --fs-300: 1rem;
  --fs-200: 0.875rem;

  /* font-families */
  --ff-main: "Merriweather", serif;
}

@media (min-width: 35em) {
  :root {
    --fs-800: 3rem;
    --fs-700: 2.5rem;
    --fs-600: 1.5rem;
    --fs-400: 1rem;
  }
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */
html {
  scroll-behavior: smooth;
}
/* Box sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

/* set up the body */
body {
  font-family: var(--ff-main);
  font-size: var(--fs-400);
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-white));
  line-height: 1.5;
  min-height: 100vh;
  /* width: 100%; */
  /* display: grid;
  grid-template-rows: min-content 1fr; */

  display: flex;
  justify-content: center;
  flex-direction: column;
}
main {
  flex-grow: 1;
}
/* make images easier to work with */
img,
picutre {
  max-width: 100%;
  display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}
a {
/*   color: hsl(var(--clr-accent) / 1); */
	color: #8f590d;
}
a:hover {
  color: hsl(var(--clr-dark));
}
/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

/* general */

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}
.d-block {
  display: block;
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

.container {
  /*   padding-inline: 2em; */
  margin-inline: auto;
  width: 100%;
  /*   max-width: 80rem; */
}

.grid-container {
  display: grid;
  text-align: center;
  place-items: center;
  padding-inline: 1rem;
}

.grid-container * {
  max-width: 50ch;
}

@media (min-width: 45em) {
  .grid-container {
    text-align: left;
    column-gap: var(--container-gap, 2rem);
    grid-template-columns: minmax(2rem, 1fr) repeat(2, minmax(0, 30rem)) minmax(
        2rem,
        1fr
      );
  }

  .grid-container > *:first-child {
    grid-column: 2;
  }

  .grid-container > *:last-child {
    grid-column: 3;
  }
  .grid-container--home {
    padding-bottom: max(6rem, 20vh);
    align-items: end;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
}

/* colors */

.bg-dark {
  background-color: hsl(var(--clr-dark));
}
.bg-accent {
  background-color: hsl(var(--clr-light));
}
.bg-white {
  background-color: hsl(var(--clr-white));
}

.text-dark {
  color: hsl(var(--clr-dark));
}
.text-accent {
  color: hsl(var(--clr-light));
}
.text-white {
  color: hsl(var(--clr-white));
}

/* typography */

.ff-main {
  font-family: var(--ff-main);
}

.letter-spacing-1 {
  letter-spacing: 4.75px;
}
.letter-spacing-2 {
  letter-spacing: 2.7px;
}
.letter-spacing-3 {
  letter-spacing: 2.35px;
}

.uppercase {
  text-transform: uppercase;
}

.fs-900 {
  font-size: var(--fs-900);
}
.fs-800 {
  font-size: var(--fs-800);
}
.fs-700 {
  font-size: var(--fs-700);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-300 {
  font-size: var(--fs-300);
}
.fs-200 {
  font-size: var(--fs-200);
}

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
  line-height: 1.1;
}

.numbered-title {
  font-size: var(--fs-500);
  text-transform: uppercase;
  letter-spacing: 4.72px;
}

.numbered-title span {
  margin-right: 0.5em;
  font-weight: 700;
  color: hsl(var(--clr-white) / 0.25);
}

/* ------------------- */
/* Compontents         */
/* ------------------- */

.large-button {
  font-size: 2rem;
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  padding: 0 2em;
  border-radius: 50%;
  aspect-ratio: 1;
  text-decoration: none;
}

.large-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: hsl(var(--clr-white) / 0.1);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 500ms linear, transform 750ms ease-in-out;
}

.large-button:hover::after,
.large-button:focus::after {
  opacity: 1;
  transform: scale(1.5);
}


/* ------------------- */
/* Page specifics  backgrounds      */
/* ------------------- */

header.primary-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: hsl(var(--clr-white));
}

.footer {
  display: flex;
  flex-direction: column;
  margin-top: 0rem;
}
.footer {
  background-color: hsl(var(--clr-dark));
}

.footer-copyright {
  background-color: hsl(var(--clr-light) / 0.2);
  color: hsl(var(--clr-light));

  width: 100%;
  margin-inline: auto;
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
}
.footer-copyright p {
  font-size: 0.75rem;
}

.primary-header > * {
  width: 100%;
}
.spacer {
  background-color: hsl(var(--clr-accent) / 0.2);
  height: 1px;
  width: 100%;
}
.logo-and-phones {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.header-logo-img,
.header-phones {
  width: 100%;
  display: flex;
  align-items: center;
}
.header-phones {
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .header-phones {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .banner-text {
    font-size: var(--fs-800);
  }
  .banner-text p {
    font-weight: 800;
    line-height: 1;
  }
  .logo-and-phones,
  .footer-cta,
  .footer-inner {
    flex-direction: row;
  }
}

.perevagy-wrapper .perevagy {
  border-radius: var(--br-medium);
  background-color: hsl(var(--clr-accent) / 0.05);
  /* padding: 2rem 1rem; */

  /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
}
.perevagy figure {
  padding-top: 1.5rem;
}
.perevagy p {
  font-size: 1rem;
}
.perevagy p:last-child {
  margin-bottom: 1.5rem;
}

/* * {
  outline: 1px solid red;
} */

/* ----------- */
/* dropdown header */
/* ----------- */

/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  color: hsl(var(--clr-dark) / 0.9);

  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  --gap: 0.5rem;
}

.dropdown {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 26px;
  background-color: #f0ece8;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: var(--br-medium);
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 0.25rem 1.25rem;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
}
.dropdown-content button.contact-form-modal-btn {
  background: transparent;
  color: black;
  padding: 0.25rem 1.25rem;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
  cursor: pointer;
  border: 0;
  outline: 0;
}
.dropdown-content button.contact-form-modal-btn:hover {
  background-color: #ddd;
}
.dropdown-content a:hover {
  background-color: #ddd;
}


.dropdown-icon {
  background-color: hsl(var(--clr-accent) / 0.1);
  border-radius: var(--br-medium);
  padding: 0.25rem;
  cursor: pointer;
  margin-left: 0.25rem;
}
.dropdown-icon.open svg {
  transform: rotate(-180deg) translateY(0%);
}
.dropdown-content.dropdown-open {
  display: block;
}

.phone-header-text,
.header-phones a {
  text-decoration: none;
  color: hsl(var(--clr-dark));
}

.header-phones--phone {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header-phones--location {
  display: flex;
  font-size: 0.875rem;
  /* letter-spacing: -1px; */
}
.dropdown-social a,
.dropdown-social svg {
  display: inline-block;
}
.dropdown-social,
.dropdown-social a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.dropdown-social {
  gap: 0.25rem;
}
.header-phones--phone {
  gap: 1rem;
}

.header-logo-img .wp-block-image img {
  height: auto;
}

@media (max-width: 35rem) {
  .header-logo-img {
    width: 80%;
  }
}

.mobile-nav-toggle {
  display: none;
}
.catalog-menu-wrapper {
  background-color: hsl(var(--clr-accent) / 0.1);
}
@media (min-width: 768px) {
  .catalog-menu {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding: 2em;
    display: flex;
  }
  .navbar-1 {
    background-color: hsl(var(--clr-light));
    padding: 0.75rem 0.25rem;
  }
  .catalog-menu {
    justify-content: center;
  }
}
header.primary-header {
  position: static;
}
@media only screen and (max-width: 768px) {
  header.primary-header {
    position: relative;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 8px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
}


h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

h2 {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
}
h2::before {
  content: " ";
  height: 4px;
  width: 130px;
  background: hsl(var(--clr-light) / 1);
  display: block;
  margin-right: 1rem;

}
h2::after {
  content: " ";
  height: 4px;
  width: 130px;
  background: hsl(var(--clr-light) / 1);
  display: block;
  margin-left: 1rem;

}

/*--------------*/
/*Buttons*/
/*--------------*/

.btn2 {
  background-color: hsl(var(--clr-accent) / 0.1);
  color: hsl(var(--clr-dark) / 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--br-small);
  display: inline-block;
  text-decoration: none;
}
.btn2:hover {
  background-color: hsl(var(--clr-accent) / 0.3);
}

.card {
  border: 1px solid hsl(var(--clr-accent) / 0.1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.card a {
  text-decoration: none;
  color: hsl(var(--clr-accent) / 1);
}
.card h4 {
  font-size: 1.5rem;
}


.modal-overlay,
.modal-overlay-footer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: grid;
  place-items: center;
  display: none;
  background-color: hsl(var(--clr-dark) / 0.3);
  z-index: 9999;
}
.modal-overlay.show-modal,
.modal-overlay-footer.show-modal {
  display: grid;
}
.modal {
  width: 400px;
  max-width: 95%;
  background-color: hsl(var(--clr-white) / 1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.modal div.wpforms-container-full {
  margin: 0;
}
.modal div.wpforms-container-full .wpforms-form .wpforms-head-container {
  padding: 0;
}
.modal .wpforms-title {
  text-align: center;
}
.modal .wpforms-container .wpforms-field {
  padding: 0.5rem;
}
.close-modal {
  cursor: pointer;
}
.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.25rem;
}
.modal-title h4 {
  font-size: 1.25rem;
}
body.modal-open {
  overflow-y: hidden;
}

.forminator-row.forminator-row-last .forminator-field {
  display: flex;
  justify-content: center;
}


.postheader {
  text-align: center;
  margin-top: 1rem;
}

@media (min-width: 20rem) and (max-width: 42rem) {
  .container {
    padding-inline: 0rem;
  }
  .products-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));

    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .product-img img {
    width: 100%;
  }
}
.font-900 {
  font-weight: 900;
}
.text-underline {
  box-shadow: inset 0 -0.55em 0 0 yellow;
}
.btn-header {
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background-color: hsl(var(--clr-accent));
  transition: background-color 0.4s ease;
}
.btn-header:hover {
  background-color: hsl(var(--clr-light));
}
.dropdown {
  gap: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.phone-icon-header {
  border-radius: 6px;
  background-color: hsl(var(--clr-light));
  padding: 4px;
}
.phone-header-text {
  align-items: center;
}
.logo-and-phones {
  width: 100%;
  max-width: 1160px;
  margin: 5px auto;
  padding: 0 5px;
}

/* custom*/

.services .kt-inside-inner-col {
  padding: 1.5rem 1rem;
}
.services h3 {
  margin: 0rem;
  padding: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  background-color: hsl(var(--clr-dark) / 0.3);
}
.services p {
  margin: 0.75rem 1rem;
}
.services p a {
  color: hsl(var(--clr-light));

  text-decoration: none;
}
.services p a:hover {
  color: hsl(var(--clr-accent));
  text-decoration: none;
}

.services-2 p {
  margin: 0.75rem 1rem;
}
.services-2 p a {
  background: url("images/arrowright.svg") right center no-repeat;

  background-size: 1rem;
  padding-right: 1.25rem;
  color: #7b531b;

  text-decoration: none;
}
.services-2 p a:hover {
  color: hsl(var(--clr-accent));
  text-decoration: none;
}
.page .kt-blocks-accordion-header {
  font-size: 0.75rem;
}
.max-width-1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
