:root {
  --color-blue: #0f96d9;
  --color-red: #ed1c24;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

*,
::after,
::before {
  box-sizing: border-box;
}

.text-decoration-n,
.text-decoration-n:hover {
  text-decoration: none;
  color: #fff;
}

.line-heading {
  margin-left: 20px;
}

.line-heading::before {
  content: '';
  display: block;
  height: 60px;
  width: 6px;
  background: var(--color-blue);
  position: absolute;
  top: 0;
  left: 15px;
}

@media screen and (max-width: 576px) {
  .line-heading::before {
    height: 50px;
  }

  .line-heading h2 {
    font-size: 1.4rem;
  }
}

#top-bar {
  height: 35px;
  background: var(--color-blue);
}

header {
  min-height: 70px;
  width: 100%;
}

#nav ul li a {
  color: var(--color-blue);
  font-weight: 600;
  padding: 0.3rem 1.5rem;
  font-size: 1.1rem;
}

#nav ul li a:hover {
  color: var(--color-red);
}

/* Special offer */
#home-pg-benefits {
  padding: 30px 0;
  background-image: url(/Imgs/bg-2-crop.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Carousel */
#slider-carousel,
.carousel-item,
.carousel-item img {
  height: calc(100vh - 105px);
  width: 100%;
}

#slider-carousel .first-slide {
  background-image: url(/Imgs/Slider1.jpg);
  background-size: cover;
  background-position: top center;
  height: 100%;
}

#slider-carousel .second-slide {
  background-image: url(/Imgs/Slider2.jpg);
  background-size: cover;
  background-position: center;
  height: 100%;
}

#slider-carousel .third-slide {
  background-image: url(/Imgs/Slider3.jpg);
  background-size: cover;
  background-position: center;
  height: 100%;
}

/*home page - about us  */
#home-pg-about {
  padding: 30px 0;
  background-image: url(/Imgs/bg-0.jpg);
  background-size: cover;
  background-position: 15% 0%;
  height: auto;
}

#home-pg-about h2 ~ p {
  line-height: 1.4;
}

/* Brojac */
#home-pg-about .counter-section i {
  display: block;
  margin: 0 0 10px;
}

#home-pg-about .counter-section span.counter,
#home-pg-about .counter-section span:first-of-type {
  font-size: 40px;
  line-height: 60px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
}

#home-pg-about .counter-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

@media screen and (max-width: 1200px) {
  #home-pg-about {
    background-image: none;
    background-color: #ff7d67;
  }
}

/* Products */
#home-page-products {
  background-color: #6c757d;
  padding: 60px 20px;
  background-image: url(/Imgs/bg-10.png);
  background-size: contain;
  background-image: center;
  background-repeat: repeat-y;
}

#home-page-products .card-shadow {
  box-shadow: 5px 8px 20px #444;
}

#home-page-products .heading {
  position: absolute;
  top: 70%;
  right: 0;
  font-size: 14px;
  letter-spacing: 3px;
  background: #222;
  width: 70%;
  cursor: pointer;
  opacity: 0.75;
  transition: all 0.5s;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5rem;
}

#home-page-products .heading:hover {
  opacity: 1;
}

#home-page-products hr {
  width: 40%;
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(217, 15, 15, 0.75),
    rgba(0, 0, 0, 0)
  );
  margin: 0 auto 20px auto;
}

/* Footer */
.footer {
  background-color: #414141;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 50px 30px 40px 30px;
}

/* footer left*/
.footer .about {
  font-size: 13px;
  font-weight: normal;
  margin: 0 auto 25px auto;
  max-width: 450px;
}

.footer .about span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .icons a {
  cursor: pointer;
  color: #fff;
  font-size: 23px;
  margin: 0 20px 10px 0;
}

/* footer center*/
.footer .footer-center i {
  font-size: 25px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer .footer-center p {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

.footer .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}

.footer .footer-center .work-hours {
  border: 1px solid #fff;
  border-radius: 10px;
  max-width: 220px;
  margin: auto;
  padding: 8px 0;
}

.footer .footer-center .work-hours p {
  display: block;
  font-size: 16px;
  text-align: center;
}

.footer .footer-center .work-hours hr {
  margin: 5px 0;
  background: #fff;
}

/* footer right*/
.footer .footer-menu {
  margin: 10px 0;
}

.footer .footer-menu a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.footer .footer-menu a:hover {
  color: var(--color-blue);
}

@media (max-width: 991px) {
  .footer {
    font-size: 18px;
    padding: 40px 8px 10px 8px;
  }

  .footer .footer-left,
  .footer .footer-center,
  .footer .footer-right {
    display: block;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer .work-hours {
    margin: 30px auto 10px auto;
  }

  .footer .footer-center p span {
    display: inline;
    font-weight: bold;
  }

  .footer .footer-center i {
    margin: 10px 5px;
  }

  .footer .footer-center p span {
    font-size: 18px;
  }

  .footer .about span {
    font-size: 18px;
  }
}

.footer .copy-right {
  color: var(--color-blue);
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Contact Page */
#contact-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  color: rgb(0, 0, 0);
  background-image: url(/Imgs/bg-6.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Contact form */
#contact-form :focus {
  outline: none;
}

#contact-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 20px;
  width: 100%;
}

#contact-form form div {
  width: calc(50% - 3px);
}

#contact-form input,
#contact-form textarea {
  color: #000;
  font-size: 16px;
  width: 100%;
  border: 0;
  background: #fff;
  height: 45px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
}

#contact-form input {
  padding: 0 20px;
  display: inline;
}

#contact-form textarea {
  padding: 20px;
  min-height: 160px;
  resize: none;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-bottom: 1px solid var(--secondary-color);
  transition: all 0.25s ease;
}

/* Contact rihgt */
#contact-info {
  min-width: 250px;
  max-width: 350px;
  height: 95%;
  margin: auto;
  color: #fff;
  border: 1px solid var(--color-blue);
  border-top: 10px solid var(--color-blue);
  border-radius: 10px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding: 30px;
  background: #2424248e;
}

#contact-info i {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin-right: 1rem;
  text-align: center;
  color: var(--color-blue);
}

#contact-info a {
  color: inherit;
}

#contact-info a:hover {
  text-decoration: none;
}

#contact-info hr {
  background: var(--color-blue);
}

/* About us page */
#about-pg-first {
  padding: 30px 0;
  min-height: calc(100vh - 105px);
  background-image: url(/Imgs/bg-3.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#about-pg-first i {
  font-size: 3rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin-right: 1rem;
  text-align: center;
  color: var(--color-blue);
}

#about-pg-first span {
  font-size: 0.85rem;
  text-transform: uppercase;
  line-height: 0.85rem;
}

#about-pg-first .line-heading ~ p {
  font-size: 1rem;
  line-height: 1.4;
  text-align: justify;
}

/* about-pg-second */
#about-pg-second {
  padding: 50px 0;
}

#about-pg-second i {
  color: var(--color-blue);
}

/* about-pg-partners */
#about-pg-partners {
  padding: 70px 0;
  background: rgb(180, 180, 180);
  background: url(/Imgs/bg-9.png);
  background-size: cover;
  background-position: center;
}

/* about-pg-location */
#about-pg-location {
  padding: 60px 0;
}

#about-pg-location aside a {
  text-decoration: none;
  color: #000;
}

/*  */
/* PONUDA */
/* Boje I Lakovi */
#boje-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  background: url(/Imgs/bg-4.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#boje-pg-first main p {
  text-align: justify;
  line-height: 1.4;
  font-size: 1rem;
}

#boje-pg-first h5,
#boje-pg-first .fa-circle-check,
#boje-pg-toniranje i {
  color: var(--color-blue);
}

#boje-pg-toniranje {
  padding: 50px 0;
}

#boje-pg-toniranje img {
  border: 2px solid rgb(170, 170, 170);
  border-top-right-radius: 40px;
}

#boje-pg-toniranje p {
  text-align: justify;
  line-height: 1.4;
  font-size: 1rem;
}

@media screen and (max-width: 575px) {
  #boje-pg-first {
    background-position: 0%;
  }
}

/* Elektro Materijal */
#elektro-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  background: url(/Imgs/bg-5.jpg);
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
}

#elektro-pg-first .card {
  background-color: var(--color-blue);
}

#elektro-pg-first p {
  line-height: 1.4;
  margin: 0;
}

#elektro-pg-first h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Fasada */
#fasadni-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  background: url(/Imgs/bg-2.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
}

#fasadni-pg-first i,
#fasadni-pg-first h4,
#fasadni-pg-first h3,
#fasadni-pg-first h2 {
  color: var(--color-blue);
}

#fasadni-pg-first p,
#fasadni-pg-products p {
  font-size: 1rem;
  line-height: 1.4;
  text-align: justify;
}

#fasadni-pg-first img {
  width: 100%;
  border-radius: 20px;
}

#fasadni-pg-products {
  padding: 70px 0;
}

#fasadni-pg-products hr {
  margin: 40px 0 80px 0;
}

#fasadni-pg-products h3 {
  color: var(--color-blue);
}

/* Srafovska */
#srafovi-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  background: url(/Imgs/bg-8.jpg);
  background-size: cover;
  background-position: 40%;
  display: flex;
  align-items: center;
}

#srafovi-pg-first h1 {
  color: #e1682f;
}

#srafovi-pg-first p {
  line-height: 1.4;
  text-align: justify;
}

#srafovi-pg-first .card,
#srafovi-pg-first hr {
  background: #e1682f;
}

#srafovi-pg-first img {
  height: 200px;
  width: 100%;
}

/* TOniranje */
#toniranje-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  background: url(/Imgs/Slider3.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#toniranje-pg-first .line-heading ~ p {
  line-height: 1.4;
  text-align: justify;
}

#toniranje-pg-first video {
  position: relative;
  border: 1px solid #fff;
  border-radius: 20px;
}

#toniranje-pg-first h3 {
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  position: absolute;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Kanalizacija */
#vodovod-pg-first {
  min-height: calc(100vh - 105px);
  height: 100%;
  color: #fff;
  background: url(/Imgs/bg-7.jpg);
  background-position: bottom center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#vodovod-pg-first img {
  width: 100%;
  height: 225px;
  border: 5px solid rgb(17, 72, 65);
  border-radius: 20px;
}

#vodovod-pg-first p {
  text-align: center;
  line-height: 1;
  margin-top: 0.5rem;
}

@media screen and (max-width: 991px) {
  #vodovod-pg-first h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  #vodovod-pg-first img {
    display: flex;
    width: 80%;
    margin: auto;
  }
}

/* Sections padding reducing */
@media screen and (max-width: 576px) {
  #home-page-products,
  #about-pg-partners,
  #about-pg-location {
    padding: 35px 0;
  }
}
/* Added just for popup */
#vacation-popup {
  display: none;
  color: #000;
  align-items: center;
  justify-content: center;
  background: rgb(255, 255, 255);
  width: 90%;
  height: 40vh;
  border-radius: 50px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}
