/*
Theme Name: lapstudiotheme
Author: Me
Text Domain: lapstudiotheme
*/

:root {
  --clr-accent: 253, 50, 10;
  --clr-secondary: 32 100% 45%;
  --clr-light: 45 80% 88%;
  --clr-white: 255, 255, 255;
  --clr-dark: 345 6% 13%;
  --clr-black: 0, 0, 0;

  --ff-main: "Roboto", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
figure,
picture {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
  font-size: 1rem;
}
h1 {
  margin: 1rem 0;
}
h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
p {
  margin: 0.5rem 0;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

body {
  background-color: rgba(var(--clr-dark), 1);
  font-family: var(--ff-main);
  color: rgb(var(--clr-black));
  line-height: 1.5;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.single h1 {
  font-size: 2rem;
}
h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0.5rem 0;
}
h3 {
  font-size: 1.5rem;
}
p {
  font-size: 1.125rem;
  line-height: 1.3;
}
main {
  flex-grow: 1;
}

a {
  color: rgba(var(--clr-accent), 0.8);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: rgba(var(--clr-accent), 1);
}

.container {
  margin-inline: auto;
  width: 100%;
}

header.primary-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease;
  z-index: 1000;
  padding: 1rem;
}
.primary-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
}
body:not(.home) .primary-header {
  background: rgba(0, 0, 0, 0.85);
}
.logo-and-phones {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.header-logo-img {
  margin-right: auto;
}
.header-logo-img img {
  height: 40px;
  width: auto;
}

.hero h1 {
  font-size: 3rem;
  color: rgb(var(--clr-white));
  font-weight: 700;
}
.hero p {
  font-size: 1.5rem;
  color: rgb(var(--clr-white));
  font-weight: 500;
}
.cities-list p {
  font-size: 1.875rem;
  font-weight: 700;
}
.subtitle {
  font-size: 1.5rem;
  font-weight: 300;
}

.benefit {
  padding: 1rem;
}
.benefit h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}
.benefit p {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.benefit img {
  margin: 0 auto;
}
.arrow-down-animated {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  /* margin-top: auto; */
  animation: arrowUpDown 2s ease-in-out infinite;
}

@keyframes arrowUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
.arrow-down-animated a {
  transition: opacity 0.3s ease-in-out;
}
.arrow-down-animated a:hover {
  opacity: 0.7;
}
.kb-splide .splide__arrow {
  height: 2em;
  border-radius: 50%;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next {
  transform: translateX(50px) translateY(-50%);
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev {
  transform: translateX(-50px) translateY(-50%);
}
/*--------------main navigation  */
.main-nav {
  display: flex;
  justify-content: end;
  align-items: center;
}
.main-nav ul {
  list-style-type: none;
  display: flex;
}
.main-nav .nav li {
  font-weight: 400;
  font-size: 1rem;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.main-nav .nav a {
  color: rgba(var(--clr-white), 1);
  margin: 0px;
  display: block;
  text-decoration: none;
  padding: 0;
  transition: color 0.3s ease-in-out;
  position: relative;
}
.main-nav .nav li:first-of-type {
  border-left: 0;
  box-shadow: none;
}

.main-nav .nav a:hover {
  color: rgba(var(--clr-white), 0.8);
  color: #cbc7df;
}
.main-nav .nav a::after {
  content: "";
  background-color: rgba(var(--clr-white), 0.8);
  position: absolute;
  height: 1px;
  width: 100%;
  display: block;
  margin: 0 auto;
  /* width: 0; */
  scale: 0;
  transition: width 0.2s ease-in-out;
  transition: scale 0.3s ease-in-out;
}
.main-nav .nav a:hover::after {
  content: "";
  background-color: rgba(var(--clr-white), 0.8);
  height: 1px;
  width: 100%;
  scale: 1;
}
.main-nav .nav .menu-cta a {
  background-color: rgba(var(--clr-dark), 1);
  border: 1px solid rgba(var(--clr-light), 1);
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.main-nav .nav .menu-cta a::after {
  content: none;
}
.main-nav .nav .menu-cta a:hover {
  background-color: rgba(var(--clr-light), 1);
  color: rgb(var(--clr-black));
}
.main-nav .nav .current_page_item a {
  color: rgba(var(--clr-white), 0.8);
  color: #fff;
}
.main-nav .nav .current_page_item a::after {
  content: "";
  content: none;
  background-color: rgba(var(--clr-white), 0.8);
  height: 1px;
  width: 100%;
  scale: 1;
}
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
}
@media only screen and (max-width: 768px) {
  .hamburger {
    position: absolute;
    z-index: 9999;
    right: 10px;
    top: 18px;
    padding: 0px;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter, top;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
  }
  .sticky .hamburger {
    /* top: 22px; */
  }
  .hamburger:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: rgb(var(--clr-white));
  }

  .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: rgb(var(--clr-white));
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -8px;
  }
  .hamburger-inner::after {
    bottom: -8px;
  }

  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
  }
  .hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease,
      transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
  }

  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease,
      transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    position: absolute;
    z-index: 99;
    text-align: left;
    top: 0;
    left: 0;

    background: rgba(var(--clr-dark), 1);
    width: 100%;
    height: 100vh;
    padding: 20px 10px 10px 30px;
    transform: translateX(-100%);
    transition: transform 400ms ease-in-out;
  }
  .main-nav.show-nav {
    transform: translateX(0);
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px 0px;
    gap: 15px;
  }

  .main-nav .nav li {
    border: 0;
    box-shadow: none;
    margin: 5px 0;
  }
  .main-nav .nav li {
    font-size: 1.25rem;
  }

  .header-contact {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 9998;
    width: 100%;
    height: 100vh;
    height: 100dvh;

    padding: 1rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--clr-black), 0.8);

    transition: all 0.3s ease-in-out;
  }
  .header-contact.show-nav {
    left: 0;
  }
}

/* LAP */
.header-contact {
  display: flex;
  gap: 25px;
}
.header-social,
.header-buttons {
  display: flex;
  gap: 10px;
}
.header-buttons {
  height: 36px;
}
.header-social img {
  height: 20px;
  width: 20px;
}
.header-social a {
  background-color: rgba(var(--clr-accent), 1);
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-btn-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--clr-accent), 1);
  padding: 0rem 1.25rem;
  color: rgb(var(--clr-white));
  font-size: 0.875rem;
  font-weight: 500;
	transition: background-color 0.3s ease-in-out;
}
.header-btn-orange:hover{
	background-color: rgba(var(--clr-accent), .8);
	color: rgb(var(--clr-white));
}
.header-btn-white {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(var(--clr-white), 1);
  padding: 0rem 1.25rem;
  color: rgb(var(--clr-accent));
  font-size: 0.875rem;
  font-weight: 500;
}
.header-btn-white:hover {
  color: rgb(var(--clr-black));
}
.header-phone {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: end;
}
.header-phone-link {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  color: rgb(var(--clr-white));
}
.header-phone-schedule {
  line-height: 1;
  font-size: 0.875rem;
  color: rgb(var(--clr-white));
}
p.btn-orange a {
  display: block;
  width: fit-content;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  line-height: 1;
  background: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;

  transition: all 0.3s ease-in-out;
}
p.btn-orange a:hover {
  background: rgba(var(--clr-accent), 0.8);
}
p.btn-orange-shine-rounded {
  margin: 3rem auto 1rem;
  position: relative;
  display: block;
  width: fit-content;
}
p.btn-orange-shine-rounded a {
  overflow: hidden;
  position: relative;
  display: block;
  width: fit-content;
  padding: 1rem 2rem;
  margin: 3rem auto 1rem;
  font-size: 1rem;
  background: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1);
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}
.btn-orange-shine-rounded a:hover {
  background: rgba(var(--clr-accent), 0.8);
}
.btn-orange-shine-rounded::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -70px;
  width: 50px;
  height: 70px;
  background-image: url(images/line-rounded-button.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.btn-orange-shine-rounded a::after {
  content: "";
  position: absolute;
  height: 350%;
  width: 200%;
  top: 00%;
  left: -130%;
  background: rgba(255, 255, 255, 0.8);
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    white 100%
  );
  border-radius: 100%;
  z-index: 20;
  animation: shine 4s ease-in-out infinite;
}
p.btn-orange-shine a {
  position: relative;
  display: block;
  width: fit-content;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1);
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
}

p.btn-orange-shine a::after {
  content: "";
  position: absolute;
  height: 350%;
  width: 200%;
  top: 00%;
  left: -130%;
  background: rgba(255, 255, 255, 0.8);
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    white 100%
  );
  border-radius: 100%;
  z-index: 20;
  animation: shine 4s ease-in-out infinite;
}
p.btn-grey-shine a {
  position: relative;
  display: block;
  width: fit-content;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: #ccc;
  color: rgba(var(--clr-black), 1);
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
}

p.btn-grey-shine a::after {
  content: "";
  position: absolute;
  height: 350%;
  width: 200%;
  top: 00%;
  left: -130%;
  background: rgba(255, 255, 255, 0.8);
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    white 100%
  );
  border-radius: 100%;
  z-index: 20;
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(100%);
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(-100%);
    opacity: 0;
  }
}
.polsuga h3 {
  font-size: 1.25rem;
}
.polsuga p {
  font-weight: 300;
  font-size: 1rem;
}
.start-work {
  width: 100%;
  max-width: 700px;
}

.start-work .kt-blocks-info-box-link-wrap {
  padding: 0;
}
.start-work .kt-blocks-info-box-media {
  padding: 2rem;
}
.start-work
  .kadence-info-box-number-inner-container
  .kt-blocks-info-box-number {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  color: rgb(var(--clr-white));
  background-color: rgba(var(--clr-black), 0.8);
  height: 3rem;
  width: 3rem;
  border-radius: 50%;

  position: relative;
}
.start-work
  .kadence-info-box-number-inner-container
  .kt-blocks-info-box-number::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 100%;

  background-color: rgb(var(--clr-accent));
}
.start-work
  .kadence-info-box-number-inner-container
  .kt-blocks-info-box-number::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 100%;

  background-color: rgb(var(--clr-accent));
}

.start-work:nth-of-type(1)
  .kadence-info-box-number-inner-container
  .kt-blocks-info-box-number::after {
  content: none;
}
.start-work:nth-last-of-type(1)
  .kadence-info-box-number-inner-container
  .kt-blocks-info-box-number::before {
  content: none;
}
.start-work h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.start-work p {
  font-size: 1rem;
  font-weight: 300;
}
.title-underline {
  position: relative;
  font-size: 2.5rem;
}
.title-underline::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 5px;
  left: 0px;
  height: 11px;
  width: 167px;
  background-image: url(images/stripe.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* POPUP */
.contact-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999999;
}

/* Button */
#contact-btn {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(var(--clr-accent), 1) url("images/phone-call.png") no-repeat
    center/50%;
  transition: all 0.3s ease;
}

/* Hover state */
#contact-btn:hover {
  background: rgba(var(--clr-accent), 0.8) url("images/phone-call.png")
    no-repeat center/50%;
}

/* Active (clicked) state */
#contact-btn.active {
  background: rgba(var(--clr-white), 1) url("images/close.png") no-repeat
    center/50%;
}

/* Popup */
#contact-popup {
  z-index: 99;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.contact-popup .forminator-button-submit.popup-form-button {
  display: block;
  width: 100% !important;
}
.contact-popup h3 {
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.contact-popup p {
  line-height: 1.2;
  font-weight: 300;
  text-align: center;
}
/* Popup visible */
#contact-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* POPUP */
@media only screen and (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
    line-height: 1.1;
  }
  .start-work .kt-blocks-info-box-media {
    margin-right: 0 !important;
  }
  .start-work h3,
  .start-work h3.kt-blocks-info-box-title {
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .start-work p {
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
  }

  .start-work .kt-blocks-info-box-media {
    padding: 28px 10px 28px 5px !important;
  }
  .header-buttons {
    flex-direction: column;
  }
  .header-btn-orange,
  .header-btn-white {
    padding: 0.75rem 2.25rem;
  }
  .header-phone {
    align-items: center;
  }
  .header-phone-link {
    font-size: 1.5rem;
  }
  .header-phone-schedule {
    font-size: 1rem;
  }
  .header-social a {
    height: 44px;
    width: 44px;
  }
  .header-social img {
    height: 32px;
    width: 32px;
  }
  header.primary-header {
    padding: 0.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.asfalt {
  background-image: url(images/asfalt-top.png), url(images/asfalt-bottom.png),
    url(images/asfalt-image.jpg);
  background-position: top center, bottom center, center;
  background-repeat: no-repeat;
  background-size: contain, contain, cover;
  height: 700px;
  padding: 7rem 1rem;
}
.asfalt h2 {
  font-weight: 900;
  color: rgb(var(--clr-white));
}
.asfalt p {
  font-weight: 300;
  color: rgb(var(--clr-white));
}
.asfalt p:nth-of-type(1) {
  font-size: 2rem;
  font-weight: 700;
  color: rgb(var(--clr-white));
  margin-bottom: 1rem;
}

.archive .container {
  max-width: 1280px;
  margin: 100px auto 1rem;
}
.archive h1 {
  margin: 0;
  text-align: center;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  /* box-shadow: 0 4px 12px rgba(var(--clr-black), 0.1); */
  border: 1px solid rgba(var(--clr-black), 0.15);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(var(--clr-black), 0.15);
}
.blog-card h2 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 1rem 0 0.75rem;
  font-weight: 700;
}
.blog-card p {
  font-size: 1rem;
  margin: 0rem 0 1rem;
}
.blog-card-link {
  display: block;
  width: 100%;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  background-color: rgba(var(--clr-white), 1);
  border: 1px solid rgba(var(--clr-accent), 1);
  color: rgb(var(--clr-accent));
  text-align: center;
  margin: auto auto 0;
  transition: all 0.3s ease;
}
.blog-card-link:hover {
  background-color: rgba(var(--clr-accent), 1);
  color: rgb(var(--clr-white));
}
.blog-card-img img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}
.blog-post {
  margin: 80px auto 1rem;
  max-width: 1280px;
  padding: 1rem;
}
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.blog-pagination .nav-links span,
.blog-pagination .nav-links a {
  display: block;
  padding: 0.25rem 0.5rem;
  background-color: rgba(var(--clr-black), 0.05);
}
.blog-pagination .nav-links a:hover {
  background-color: rgba(var(--clr-accent), 0.05);
}
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .archive .container {
    margin: 80px auto 1rem;
  }
  .blog-post {
    margin: 60px auto 1rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .blog-card {
    padding: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .asfalt {
    background-image: url(images/asfalt-top.png), url(images/asfalt-bottom.png),
      url(images/asfalt-image-mobile.jpg);
    background-position: top center, bottom center, center;
    background-repeat: no-repeat;
    background-size: contain, contain, cover;
    height: 700px;
    padding: 3rem 1rem;
    height: auto;
  }
  .asfalt h2 {
    font-size: 2.5rem;
  }
  .asfalt p:nth-of-type(1) {
    font-size: 1.5rem;
  }
}
body.no-scroll{
	overflow:hidden;
}