/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  width: 100%;

  margin: 0;
  padding: 45px 0 35px;

  background: #817575;

  color: #ffffff;

  font-family: "Roboto", sans-serif;
}

/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
  width: min(1140px, 92%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 0.8fr 0.8fr 1fr;

  column-gap: 50px;
}

/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
  min-width: 0;
}

.footer-column h3 {
  margin: 0 0 18px;

  color: #ffffff;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.2;
}

/* =========================================================
   ABOUT
========================================================= */

.footer-logo {
  display: block;

  width: 105px;
  height: 85px;

  object-fit: contain;

  margin: 0 0 15px;
}

.footer-about p {
  max-width: 350px;

  margin: 0;

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.8;
}

/* =========================================================
   QUICK LINKS
========================================================= */

.footer-links {
  display: flex;

  flex-direction: column;
}

.footer-links a {
  width: max-content;

  margin-bottom: 12px;

  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.25;
}

.footer-links a:hover {
  color: #dbe8ff;
}

/* =========================================================
   CONTACT
========================================================= */

.footer-contact p {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 600;
}

.footer-contact p a {
  color: #d7e7ff;

  text-decoration: none;
}

.footer-contact p a:hover {
  text-decoration: underline;
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
  display: flex;

  align-items: center;

  gap: 5px;

  margin-top: 18px;
}

.social-links a {
  width: 50px;
  height: 50px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #ffffff;

  text-decoration: none;

  border-radius: 5px;

  font-family: Arial, sans-serif;

  font-size: 24px;
  font-weight: 700;
}

.social-facebook {
  background: #4267b2;
}

.social-twitter {
  background: #1da1f2;
}

.social-linkedin {
  background: #0077b5;
}

.social-google {
  background: #db4437;
}

/* =========================================================
   VISITOR WIDGET
========================================================= */

.visitor-widget {
  margin-top: 55px;

  text-align: center;
}

.visitor-widget h4 {
  margin: 0 0 20px;

  color: #1f1f1f;

  font-size: 18px;
  font-weight: 700;
}

.visitor-counter {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 140px;
  height: 28px;

  padding: 0 10px;

  background: #d9d9d9;

  border: 1px solid #e06b00;

  color: #ff0000;

  font-family: monospace;

  font-size: 14px;
  letter-spacing: 6px;
}

.visitor-widget p {
  margin: 8px 0 0;

  color: #111111;

  font-size: 13px;
  font-weight: 400;
}

.visitor-widget small {
  display: block;

  margin-top: 12px;

  color: #111111;

  font-size: 11px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;

    row-gap: 40px;

    column-gap: 35px;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
  
  .footer-links:last-of-type {
    grid-column: 1 / -1;
  }

  .visitor-widget {
    margin-top: 30px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .site-footer {
    padding: 35px 0 30px;
  }

  .footer-container {
    width: 92%;

    grid-template-columns: 1fr;

    row-gap: 35px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-column h3 {
    font-size: 19px;
  }

  .footer-about p {
    font-size: 13px;
  }

  .footer-contact p {
    font-size: 16px;
  }

  .social-links {
    margin-top: 15px;
  }

  .visitor-widget {
    margin-top: 35px;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .footer-logo {
    width: 90px;
    height: 75px;
  }

  .social-links a {
    width: 44px;
    height: 44px;

    font-size: 20px;
  }

  .visitor-counter {
    min-width: 125px;

    font-size: 12px;
  }
}
