/*
Theme Name: seedservicecomuatheme
Author: Val

*/

/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {
  /* colors */
  --clr-accent: 159 69% 31%;
  --clr-accent-light: 159 69% 44%;
  --clr-light: 53 88% 59%;
  --clr-white: 0 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: "Noto Sans", sans-serif;
}

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

/* ------------------- */
/* 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;

  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);
}
a:hover {
  color: hsl(var(--clr-accent) / 0.5);
}
/* 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         */
/* ------------------- */

.primary-navigation {
  --underline-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: hsl(var(--clr-light));
}
.primary-navigation ul li {
  list-style: none;
}

/* Added style */

.primary-navigation ul.navigation {
  display: flex;
  gap: 2rem;
}
.primary-navigation .menu-item a {
  text-decoration: none;
  /* text-transform: uppercase; */
  font-size: var(--fs-400);
  color: hsl(var(--clr-white));
  background-color: hsl(var(--clr-accent));
  padding: 0.5rem 1rem;
}
/* Added style */

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 35rem) {
  .primary-navigation {
    --underline-gap: 0.5rem;
    position: fixed;
    z-index: 1000;
    inset: 0 0 0 30%;
    list-style: none;
    padding: min(20rem, 15vh) 2rem;
    margin: 0;

    transform: translateX(100%);
    transition: transform 400ms ease-in-out;
  }
  .primary-navigation ul {
    flex-direction: column;
  }
  .primary-navigation.underline-indicators > .active {
    border: 0;
  }
  .primary-navigation[data-visible="true"] {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    z-index: 1011;
    right: 1rem;
    top: 2rem;
    background: transparent;
    aspect-ratio: 1;
    border: 0;
  }
  .mobile-nav-toggle[aria-expanded="true"] {
    background-image: url(../../public/assets/shared/icon-close.svg);
  }
  .mobile-nav-toggle:focus-visible {
    outline: 5px solid white;
    outline-offset: 5px;
  }

  /* NEW TOGGLE*/

  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 22px;
    width: 32px;
  }

  .mobile-nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    transition: all 100ms ease-in-out;
  }

  .mobile-nav-toggle:hover {
    cursor: pointer;
  }

  .x:nth-of-type(1) {
    transition: all 100ms ease-in-out;
    transform: rotate(45deg);
    transform-origin: top left;
    width: 32px;
  }

  .x:nth-of-type(2) {
    transition: all 100ms ease-in-out;
    transform-origin: center;
    width: 0;
  }

  .x:nth-of-type(3) {
    transition: all 100ms ease-in-out;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 32px;
  }
  /* NEW TOGGLE*/
}

.primary-navigation a {
  text-decoration: none;
}

.primary-navigation a > span {
  font-weight: 700;
  margin-right: 0.5em;
}

.underline-indicators > * {
  cursor: pointer;
  padding: var(--underline-gap, 1rem) 0;
  border: 0;
  border-bottom: 0.2rem solid hsl(var(--clr-white) / 0);
}

.underline-indicators > *:hover,
.underline-indicators > *:focus {
  border-color: hsl(var(--clr-white) / 0.5);
}

.underline-indicators > .active,
.underline-indicators > [aria-selected="true"] {
  color: hsl(var(--clr-white) / 1);
  border-color: hsl(var(--clr-white) / 1);
}

.tab-list {
  --gap: 2rem;
}

.dot-indicators > * {
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  padding: 0.5em;
  background-color: hsl(var(--clr-white) / 0.25);
}

.dot-indicators > *:hover,
.dot-indicators > *:focus {
  background-color: hsl(var(--clr-white) / 0.5);
}

.dot-indicators > [aria-selected="true"] {
  background-color: hsl(var(--clr-white) / 1);
}

/* ------------------- */
/* 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-accent));
}
.footer-inner {
  margin-inline: auto;
  display: flex;
  padding: 1.5rem 2rem;
  justify-content: center;
  gap: 0.5rem;
  flex-direction: column;
}
.footer-inner > * {
  width: 100%;
}
.footer-inner h5 {
  color: hsl(var(--clr-white));
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--br-small);
  text-align: center;
}
.footer-inner p {
  margin: 0.25rem 0.625rem;
  font-size: 0.875rem;
}
.footer-copyright {
  color: hsl(var(--clr-white));
  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: center;
    align-items: flex-end;
  }

  .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);
}
.perevagy figure {
  padding-top: 1.5rem;
}
.perevagy p {
  font-size: 1rem;
}
.perevagy p:last-child {
  margin-bottom: 1.5rem;
}

/* ----------- */
/* 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;
}
/* .dropbtn .flex {
  justify-content: center;
  align-items: center;
  --gap: 0.5rem;
} */
/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
	gap:.5rem;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 26px;
  background-color: #f0ece8;
  /* min-width: 200px; */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: var(--br-medium);
  overflow: hidden;
}

/* Links inside the dropdown */
.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;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
/* .dropdown:hover .dropdown-content {
  display: block;
} */
/* .dropdown-icon:hover + .dropdown-content {
  display: block;
} */
.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;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
/* .dropdown:hover .dropbtn {background-color: #3e8e41;} */

.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%;
  }
}

.full-width-div-inner .uagb-image-caption {
  padding: 0.375rem 1rem;
  background-color: hsl(var(--clr-white) / 1);
  color: hsl(var(--clr-dark) / 1);
  border-radius: var(--br-small);

  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transform: translateY(-10px);
}
.full-width-div-inner:hover .uagb-image-caption {
  transform: translateY(-30px);
}
.full-width-div-inner figure img {
  -webkit-transition: all 1s ease;
  transition: all 500ms ease;
}
.full-width-div-inner:hover figure img {
  -webkit-filter: brightness(60%);
  filter: brightness(60%);
}

/* navbar-1 */
.mobile-nav-toggle {
  display: none;
}

@media (min-width: 768px) {
  .navbar-1 {
    background-color: hsl(var(--clr-light));
    padding-inline: 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: 2rem;
}

h2 {
  font-weight: 700;
}

/*--------------*/
/*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;
}
/* breadcrumbs */
.breadcrumbs {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.breadcrumbs a {
  text-decoration: none;
  color: hsl(var(--clr-accent) / 0.75);
}
.breadcrumbs a:hover {
  color: hsl(var(--clr-accent) / 1);
  text-decoration: underline;
}

.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;
  }
}
.font-900 {
  font-weight: 900;
}
.text-underline {
  box-shadow: inset 0 -0.55em 0 0 yellow;
}
.btn-header {
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  background-color: hsl(var(--clr-accent));
  color: hsl(var(--clr-white));
}

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