/* ================= FOOTER ================= */
.site-footer {
  position: relative;
  background: black;

  padding-top: 35px;   /* space for semicircle */
  padding-bottom: 35px;
  padding-left: 7%;
  padding-right: 7%;

  margin-top: 100px;
}


/* Content wrapper */
.footer-content {
  max-width: max;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  font-size: 16px;
  font-weight: 400;
  color: white;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgb(191, 191, 191);
}

/* ================= SCROLL TO TOP ================= */
.scroll-top {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);

  width: 120px;
  height: 70px;
  border-radius: 100px 100px 0 0;

  background: black;
  border: none;
  cursor: pointer;

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

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);

  opacity: 1;
  pointer-events: auto;
  z-index: 5;
}





.scroll-top img {
  width: 50px;          /* 🔥 perfect size */
  height: 50px;
  object-fit: contain;

}

.scroll-top:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}


/* ================= TABLET ================= */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 18px;
  }

}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

  .footer-content {
    gap: 14px;
    font-size: 13px;
  }

  .scroll-top {
    top: -30px;

    width: 72px;          /* 🔥 width = 2 × height */
    height: 36px;

    border-radius: 72px 72px 0 0; /* 🔥 proper semicircle */
  }

  .scroll-top img {
    width: 18px;
    height: 18px;
    transform: translateY(2px); /* visual centering */
  }
}
