/* ==========================
   FOOTER
========================== */

.footer-main {
  position: relative;

  overflow: hidden;

  padding-top: 90px;

  color: var(--white);

  background: url("../images/sec-1-img-2.avif") center center / cover no-repeat;
}

.footer-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82));

  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;

  max-width: 1400px;

  margin: 0 auto;

  padding: 0 24px;
}

/* ==========================
   GRID
========================== */

.footer-grid {
  display: grid;
  grid-template-columns:
    1.4fr
    1fr
    1fr
    1.2fr;

  gap: 60px;

  padding-bottom: 70px;
}

/* ==========================
   LOGO
========================== */

.footer-about {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  background: var(--white);
  margin-bottom: 30px;
  padding: 12px 40px;
  border-radius: 8px;
}

.footer-logo img {
  width: 130px;
  height: auto;
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.85);

  line-height: 1.9;

  max-width: 320px;
}

/* ==========================
   CONTACT
========================== */

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;

  color: var(--primary);
}

/* ==========================
   TITLES
========================== */

.footer-title {
  font-family: var(--secondary-font);

  font-size: 2rem;

  margin-bottom: 30px;
}

/* ==========================
   LINKS
========================== */

.footer-links ul {
  list-style: none;

  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);

  text-decoration: none;

  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary);

  padding-left: 5px;
}

/* ==========================
   WORK HOURS
========================== */

.footer-hours-time {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 25px;
}

.footer-hours-time svg {
  width: 20px;
  height: 20px;
}

.footer-hours p {
  color: rgba(255, 255, 255, 0.85);

  line-height: 1.9;

  margin-bottom: 35px;
}

/* ==========================
   SOCIAL
========================== */

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--white);

  text-decoration: none;

  transition: 0.3s;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  transition: 0.3s;
  fill: var(--primary);
}

.footer-social a:hover {
  background: var(--primary);

  color: var(--white);

  transform: translateY(-3px);
}

.footer-social a:hover svg {
  fill: var(--white);
}

/* ==========================
   BOTTOM
========================== */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  padding: 35px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.85);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding-top: 70px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding-bottom: 50px;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-hours-time {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  .footer-social a {
    width: 45px;
    height: 45px;
  }
}
