.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/footer_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;                       
  transition: opacity 3s ease;      
  z-index: -1; 
  @media (max-width: 767px) {
    background-image: url(../images/footer_bg_mobile.jpg);
  } 
}

.footer.visible::before {
  opacity: 1;
}

.page-urunlerim .footer::before {
  opacity: 1;
}

.footer__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer__title {
  color: var(--color-foreground);
  font-size: clamp(40px, 8vw, 70px);
  padding-top: 10px;
}

.footer__title strong {
  background-image: linear-gradient(
    309deg,
    rgb(120 172 255) 2.25225%,
    rgb(29 129 255) 48.0785% 48.0785%,
    rgb(1 120 255) 100%
  );
  padding-bottom: 5px;
  display: inline-block;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  font-size: clamp(60px, 8vw, 90px);
}

.footer__subtitle {
  padding: 10px 12px 10px 10px;
  overflow: hidden;
  border: 1px solid #ffffff2b;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.footer__subtitle-color {
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  background: rgb(203, 39, 2);
  border-radius: 10px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-foreground);
}

.footer__subtitle-text {
  color: rgb(203, 39, 2);
  font-size: 15px;
  text-transform: capitalize;
}

.footer__button {
  width: fit-content;
  margin: 0 auto;
  padding-top: 30px;
}

.footer__title strong svg {
  position: absolute;
  z-index: 1111;
  bottom: -5px;
  left: 0;
  width: 100%;
}

.footer__desc {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 10px;
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid #ffffff1c;
  padding-bottom: 90px;
  margin-bottom: -2px;
}

.footer__top {
  padding-bottom: 100px;
}

.footer__bottom-item {
  width: calc(100% / 3);
  color: var(--color-foreground);
  font-size: 14px;
  gap: 20px;
  @media (max-width: 575px) {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
}

.footer__bottom-box {
  display: flex;
  align-items: center;
  @media (max-width: 767px) {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
  }
}

.footer__bottom-item:nth-child(2) {
  text-align: center;
}

.footer__bottom-item a {
  color: var(--color-foreground);
  transition: 0.3s ease all;
  opacity: 0.6;
}

.footer__bottom-item span {
  opacity: 0.6;
}

.footer__bottom-item a:hover {
  opacity: 1;
}

.footer__bottom-item img {
  width: 60px;
}

.footer__bottom-item--right {
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  @media (max-width: 767px) {
    justify-content: center;
  }
}