/* COLORS */
:root {
  --blue--primary: #213354;
  --blue--shadow-1: #1a2943;
  --blue--shadow-2: #111a2a;
  --blue--tint-1: #4d5c76;
  --blue--tint-2: #9099aa;
  --blue--tint-3: #bcc2cc;
  --red--primary: #dd4c4c;
  --red--shadow-1: #c74444;
  --red--shadow-2: #852e2e;
  --red--tint-1: #e47070;
  --red--tint-2: #eea6a6;
  --backgroud--dark: #142038cf;
  --background--black: #131313c3;
}
/* ### GENERAL ### */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", serif;
  position: relative;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  overflow-y: initial;
}

body {
  overflow-x: hidden;
  overflow-y: hidden;
}

ul {
  list-style: none;
}

.page--margin {
  padding: 2rem 20rem;
}

.content--margin {
  padding: 2rem 40rem;
}

/* ### HEADER ### */
header {
  box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 0.318);
  /* margin: 0 auto; */
  background-color: rgba(226, 226, 226, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 12rem;
  padding: 3rem 5rem;
  /* overflow-x: hidden; */
}
.header__details {
  height: 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo--text {
  display: flex;
  height: 100%;
  cursor: pointer;
  /* justify-content: center; */
  align-items: center;
  font-size: 2rem;
  gap: 2rem;
  color: var(--blue--primary);
}

.logo--text--inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.brand__name {
  font-weight: 700;
  /* font-size: 3.6rem; */
  font-size: 3.2rem;
  font-family: "Reem Kufi Ink", sans-serif;
}

.brand__name--sub {
  font-size: 73%;
  /* font-size: 1.9rem; */
  font-weight: 400;
}

.logo--svg {
  height: 180%;
}

.details__container {
  display: flex;
  /* gap: 4rem; */
  /* padding-right: 5rem; */
}

.hours__container,
.contact__container {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 5rem 0.5rem 0;
  /* justify-content: space-between; */
}
.hours__container {
  padding: 0.5rem 0 0.5rem 5rem;
  /* justify-content: space-between; */
}

.contact__container {
  border-right: 0.2rem solid rgb(160, 160, 160);
}

.contact--div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contact-tels {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}
.nav-mobile {
  display: none;
  cursor: pointer;
}
.nav-mobile__icon,
.nav-mobile__close {
  font-size: 7rem;
}

/* General spacing */

.text-1,
.text-2 {
  font-family: "Roboto", serif;
  font-size: 1.6rem;
  /* font-size: 2rem; */
}

.text-1 {
  font-size: 1.8rem;
  /* font-size: 2.3rem; */
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.3rem;
}

.icon {
  color: var(--red--primary);
  font-size: 4rem;
}

.nav__navigation {
  height: 4rem;
  /* background-color: #213354; */
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0rem 5rem;
  font-size: 1.2rem;
  gap: 5rem;
}

.nav__navigation li a {
  padding: 2rem 2rem;
  /* display: inline-block; */
}
.nav__navigation ul {
  display: flex;
  justify-content: space-around;
  gap: 3.6rem;
  list-style: none;
  font-size: 2.2rem;
  font-weight: 500;
  color: #123;
}

.nav__element {
  height: 3rem;
  /* border: 4px solid var(--blue--primary); */
  /* background-color: #a6a6a6; */
  padding: 2.5rem 0 2.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hover-white-font:hover a {
  color: #fff;
}

.nav__button {
  position: relative;
}

.nav__button::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 10px;
  background-color: var(--red--primary);
  left: 50%;
  bottom: -10px;
  transition: all 0.4s ease-in-out;
}

.nav__button:hover,
.nav__button:active {
  /* transform: translateY(-20%); */
  color: #fff;
}

.nav__button:link,
.nav__button:visited {
  /* display: inline-block; */
  color: #213354;
  text-decoration: none;
  /* transition: all 0.s; */
}

/* ### MAIN SECTION ### */

/* ##OLD */
/* .hero__section {
  height: 90rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #fff;
}

.hero__section h3 {
  font-size: 6.3rem;
  position: inherit;
  margin-bottom: 1rem;
}
.hero__section h1 {
  font-size: 10rem;
  position: inherit;
  margin-bottom: 1rem;
  color: #dd4c4c;
}
.hero__section span {
  position: inherit;
  font-size: 3rem;
  margin: 5rem 0rem 7rem 0rem;
}

.more__button {
  width: 30rem;
  height: 8rem;
  position: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.6rem solid #dd4c4c;
  font-size: 2.5rem;
} 
.more__button p {
  display: inline-block;
}

.hero__section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right bottom, #0c0b0bad, #171414d2),
    url("../img/mechanik-szczecin.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale();
  left: 0;
}
*/

.hero__section {
  background-color: var(--blue--primary);
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 50rem;
  color: #fff;
  /* margin-bottom: 5rem; */
}

.hero__section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to right bottom,
      var(--backgroud--dark),
      var(--backgroud--dark)
    ),
    url("../img/samochodv3.webp");
  background-size: cover;
  background-position: center;
  /* filter: grayscale(); */
  left: 0;
}

.left--text {
  font-size: 6rem;
  font-weight: 600;
  max-width: 110rem;
  position: relative;
  left: -10%;
  animation: start--text 1s ease-in 0s 1 normal forwards;
}

.text--1 {
}
.text--2 {
  color: var(--red--primary);
}
.subtext {
  font-size: 3rem;
}

.more__button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 3rem;
  font-size: 2.5rem;
  font-weight: 500;
  border: 0.5rem solid var(--red--primary);
  width: 45%;
  padding: 1rem 1rem;
}

.more__button:hover {
  color: #fff;
  /* border: 0.5rem solid #fff; */
  background-color: var(--red--primary);
  transition: all 0.3s ease-in-out;
}

.hero--client {
  padding-right: 2rem;
  word-wrap: break-word;
  /* flex: 1; */
  max-width: 90rem;
}

.client--description {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero--description {
  flex: 2;
  text-align: justify;
}

.hero--subdesc {
  text-align: justify;
}

.client--check {
  flex: 1;
  align-self: center;
  justify-self: center;
}

.hero--client__form {
  justify-items: center;
  align-items: center;
  /* flex: 1; */
  position: relative;
}

.hero--client__form ul {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  font-weight: 600;
  position: relative;
  top: 2rem;
}
.hero--client__form ul li {
  display: flex;
  align-items: center;
  gap: 2.7rem;
  /* font-size:  4rem; */
}
.hero--client__form ul li p {
  font-size: 2rem;
}

.check_box {
  /* width: 5.5rem;
  height: 5.5rem; */
  padding: 1.5rem;
  background-color: rgba(221, 221, 221, 0.487);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--red--primary);
  --ionicon-stroke-width: 64px;
}

.active--box {
  background-color: var(--red--primary);
  color: #fff;
  --ionicon-stroke-width: 64px;
}

.services--container {
  margin-top: 12rem;
  display: flex;
  width: 135rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5rem;
}
.service {
  width: 40rem;
  height: 55rem;
  /* flex: 1; */
  background-color: #fff;
  padding: 11rem 4rem 4rem 4rem;
  border-radius: 2rem;
  -webkit-box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
  -moz-box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
  box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
}
.service:nth-child(3) {
  padding-top: 7.5rem;
}
.service:nth-child(4),
.service:nth-child(5),
.service:nth-child(6) {
  margin-top: 10rem;
}
.service_header {
  border-bottom: 2px solid rgb(159, 159, 159);
}
.service_description {
  margin-top: 2.5rem;
  color: #4e4e4f;
}

.service_description ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 400;
  position: relative;
  /* top: 2rem; */
}
.service_description ul li {
  list-style: disc;
  display: list-item;
  align-items: center;
  gap: 1.7rem;
  margin-left: 1.2rem;
}
.opony,
.silnik,
.klima {
  position: relative;
}
.opony::after {
  content: url(./../svg/tire.svg);
}
.silnik::after {
  content: url(./../svg/engine.svg);
}

.klucz::after {
  content: url(./../svg/repair-tool.svg);
}

.opony::after,
.silnik::after,
.klucz::after,
.klima::after,
.wydech::after,
.paliwo::after,
.hamulec::after {
  position: absolute;
  width: 13rem;
  filter: invert(52%) sepia(6%) saturate(5839%) hue-rotate(315deg)
    brightness(85%) contrast(104%);
  /* height: 4rem; */
  top: -7rem;
}

.klima::after {
  content: url(./../svg/Snow.svg);
  width: 16rem;
  top: -9rem;
  left: 2rem;
}

.wydech::after {
  content: url(./../svg/wydech.svg);
  width: 18rem;
  top: -9rem;
}

.paliwo::after {
  content: url(./../svg/paliwowy.svg);
  width: 18rem;
  top: -9rem;
}

.hamulec::after {
  content: url(./../svg/brake.svg);
}

.zawieszenie::after {
  content: url(./../svg/suspension.svg);
  position: absolute;
  width: 18rem;
  filter: invert(52%) sepia(6%) saturate(5839%) hue-rotate(315deg)
    brightness(85%) contrast(104%);
  /* height: 4rem; */
  top: -9rem;
}

.icon--service {
  font-size: 2.6rem;
  --ionicon-stroke-width: 32px;
  /* height: 2rem; */
}

.section--services {
  position: relative;
}

.section--services a:link,
.section--services a:visited {
  text-decoration: none;
  color: #fff;
}
.btn--price-table {
  position: absolute;
  bottom: 5rem;
  color: #fff;
  font-weight: 500;
  font-size: 3rem;
  border-radius: 5px;
  background-color: var(--red--primary);
  padding: 2rem 6rem;
  -webkit-box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
  -moz-box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
  box-shadow: -3px 10px 15px -14px rgba(66, 68, 90, 1);
  transition: all 0.3s ease-in-out;
}

.btn--price-table:hover {
  transform: translateY(-0.7rem);
  transition: all 0.3s ease-in-out;
}

.mechanic--counter {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  width: 100%;
  height: 30rem;
  color: #fff;
  /* background-color: rgb(103, 146, 189); */
}

.mechanic--counter::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to right bottom,
      var(--background--black),
      var(--background--black)
    ),
    url("../img/mechanic-numbers.jpg");
  background-size: cover;
  background-position: center;
  /* filter: grayscale(); */
  left: 0;
}

.counter--introduction {
  display: flex;
  flex-direction: column;
  width: 30rem;
}

.counter--items {
  display: flex;
  gap: 5rem;
}

.counter--div {
  display: flex;
  flex-direction: column;
  /* justify-content: flex-start; */
  max-width: 16rem;
}
.counter--div_header {
  font-size: 5rem;
  font-weight: 600;
  color: var(--red--primary);
}
.counter--div_description {
  font-size: 2rem;
}

.brands--logo {
  display: flex;
}

.brand-img {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  height: 10rem;
  min-width: 25rem;
  /* border: 1px solid red; */
}

.brand-img img {
  /* height: 90%; */
  height: 100%;
  width: auto;
}

.faq {
  flex: 4;
  /* position: relative; */
}

.more-questions {
  flex: 3;
  /* position: relative; */
}

.more-questions {
  position: relative;
  background-color: #123;
  height: 75rem;
  width: 100%;
  display: flex;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  top: 5.5rem;
}

.more-questions::before {
  content: "";
  position: absolute;
  width: 100%;
  filter: blur(0.2rem);
  /* height: 58rem; */
  height: 100%;
  background-image: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../img/car-mechanic.jpg");
  background-size: cover;
  background-position: center;
  left: 0;
  /* top: 1rem; */
  -webkit-box-shadow: 0px 14px 25px -18px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 14px 25px -18px rgba(66, 68, 90, 1);
  box-shadow: 0px 14px 25px -18px rgba(66, 68, 90, 1);
}

.more-questions p {
  font-weight: 600;
  font-size: 5rem;
  margin-bottom: 5rem;
}
.btn--tel {
  position: relative;
  top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  /* width: 70%; */
  /* height: 10rem; */
  margin: 0 auto;
}

.btn--tel a {
  /* background-color: var(--red--primary); */
  border-radius: 10px;
  padding: 1.5rem 3rem;
}
.btn--tel a:link,
.btn--tel a:visited {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background-color: var(--red--primary);

  border-radius: 10px;
  padding: 1.5rem 3rem;
  -webkit-box-shadow: 0px 6px 25px -18px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 6px 25px -18px rgba(66, 68, 90, 1);
  box-shadow: 0px 6px 25px -18px rgba(66, 68, 90, 1);
}
.contact--box {
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  /* width: 100%; */
  /* height: 8rem; */
}

.text--contact {
  font-weight: 600;
  font-size: 3.5rem;
}
/* ### FOOTER ### */

footer {
  /* z-index: -2; */
  /* background-color: #123; */
  background-color: var(--blue--primary);
  width: 100vw;
  height: 30rem;
  display: flex;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  /* gap: 8rem; */
  /* padding: 0 15rem; */
  font-size: 1.8rem;
}

.mid,
.left,
.right {
  display: flex;
  align-items: center;
  flex: 1;
  height: 80%;
  /* border: 3px solid red; */
}

.left {
  align-items: flex-start;
  gap: 7rem;
  flex-basis: 12rem;
  flex-shrink: 0;
}

.footer-text,
.footer-text:link,
.footer-text:visited {
  font-size: 1.8rem;
  /* font-size: 2.2rem; */
  text-decoration: none;
  color: rgb(242, 242, 242);
}

.left-company {
  padding-left: 2rem;
}

/* ### MID DIV */
.mid {
  justify-content: center;
  position: relative;
  /* flex: 2; */
}

.footer__cta {
  z-index: 0;
  /* height: 80%; */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__cta .footer-text {
  /* color: rgb(255, 70, 70); */
  font-weight: 600;
}

.footer-link {
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ### LEFT DIV */

.details {
  height: 100%;
}

.contact--details.company {
  height: 100%;
}

.contact--details ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact--details ul li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.company ul {
  gap: 0.7rem;
  /* width: 100%; */
  height: 93%;
  justify-content: flex-start;
  gap: 1.1rem;
}

.details h1,
.mobile-hours h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.footer-icon {
  font-size: 2.5rem;
  display: inline-block;
  color: rgb(221, 76, 76);
}

/* ### MAP */
.right {
  justify-content: flex-end;
}

.map,
iframe {
  width: 90%;
  height: 120%;
  border-radius: 10px;
}

.mobile-hours {
  display: none;
}
