/* ======================================================================= */
/* UNIVERSAL POLISHED MINIMALIST FOOTER STYLESHEET                         */
/* Muhammad Abdul Rafah — Portfolio                                       */
/* ======================================================================= */

.site-footer-wrapper {
  position: relative;
  background: #000000;
  padding: clamp(34px, 4vw, 48px) 6vw clamp(24px, 3vw, 36px);
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 20;
  box-sizing: border-box;
}

.footer-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Top Essential Connect Row */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: clamp(18px, 2.4vw, 26px);
  flex-wrap: wrap;
}

/* Direct Reach Container: Perfect Inline Alignment */
.footer-direct-reach {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reusable Direct Reach Links (Email & WhatsApp) */
.footer-reach-link,
.footer-email-link,
.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: clamp(0.90rem, 1.05vw, 1.0rem);
  font-weight: 500;
  text-decoration: none !important;
  line-height: 1;
  letter-spacing: -0.2px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-reach-link span,
.footer-email-link span,
.footer-wa-link span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* SVG Icons - Perfectly Centered & Sized */
.footer-reach-icon {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: #94a3b8;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

/* Hover States */
.footer-reach-link:hover,
.footer-email-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-reach-link:hover .footer-reach-icon,
.footer-email-link:hover .footer-reach-icon {
  stroke: #ffffff;
}

/* WhatsApp Specific Accent */
.footer-reach-link[href*="wa.me"]:hover,
.footer-wa-link:hover {
  color: #22c55e;
  transform: translateY(-1px);
}

.footer-reach-link[href*="wa.me"]:hover .footer-reach-icon,
.footer-wa-link:hover .footer-reach-icon {
  stroke: #22c55e;
}

.footer-reach-link .cta-arrow,
.footer-wa-link .cta-arrow {
  color: #22c55e;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.footer-reach-link[href*="wa.me"]:hover .cta-arrow,
.footer-wa-link:hover .cta-arrow {
  transform: translate(2px, -2px);
}

/* Middle Dot Separator */
.footer-dot-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  line-height: 1;
  user-select: none;
}

/* Right Actions (Back to Top) */
.footer-actions-right {
  display: inline-flex;
  align-items: center;
}

.footer-scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 9999px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.footer-scroll-top-btn .scroll-arrow {
  color: #ff5722;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.footer-scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-scroll-top-btn:hover .scroll-arrow {
  transform: translateY(-2px);
}

/* Subtle Hairline Divider */
.footer-hairline {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 50%, 
    rgba(255, 255, 255, 0.08) 100%
  );
  margin: 0;
}

/* Oversized Typographic Signature */
.footer-wordmark-container {
  width: 100%;
  display: block;
  padding: clamp(20px, 3.2vw, 42px) 0;
  user-select: none;
  line-height: 0;
}

.footer-giant-wordmark-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Metadata Bar */
.footer-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  letter-spacing: -0.1px;
}

.footer-priv-link {
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-priv-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer-wrapper {
    padding: 28px 6vw 24px;
  }
  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
  }
  .footer-direct-reach {
    width: 100%;
    justify-content: space-between;
  }
  .footer-actions-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  .footer-wordmark-container {
    padding: 16px 0;
  }
  .footer-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
  }
}
