/* ==========================================================================
   JAILBREAK CUSTOMZ - PREMIUM LUXURY THEME FOOTER
   Clean, Refined Dark Aesthetic Matched to Theme Sections with Subtle Micro-Animations
   ========================================================================== */

/* 1. Main Footer Container */
footer.theme-footer {
  position: relative;
  background: var(--bg-dark-2, #18191d);
  color: var(--body-font-color-dark, rgba(255, 255, 255, 0.65));
  padding: 80px 0 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

/* 2. Top Subtle Shimmer Hairline */
.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.04) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: footerSoftShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footerSoftShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 3. Brand Column */
.footer-logo-link {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-logo-link img {
  max-height: 44px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

/* 4. Social Icons */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(4px);
}

.footer-social-icons a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* 5. Widget Headers */
footer.theme-footer h5 {
  font-family: var(--heading-font, "Oxanium", sans-serif);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
}

/* 6. Navigation Link Lists */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

/* 7. Contact Us Block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.contact-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-link {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
  line-height: 1.6;
}

.contact-link:hover {
  color: #ffffff !important;
}

.contact-text {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* 8. Subfooter */
footer.theme-footer .subfooter {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.subfooter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.subfooter-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.subfooter-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.subfooter-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.subfooter-nav a:hover {
  color: #ffffff !important;
}

.subfooter-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

/* 9. Developer Attribution: Developed and Designed by Yabuh Ltd */
.subfooter-developer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.dev-by-text {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.yabuh-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yabuh-link-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  color: #ffffff !important;
}

.yabuh-link-pill .yabuh-title {
  color: #ffffff;
  font-weight: 700;
}

.yabuh-link-pill .yabuh-arrow {
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, color 0.25s ease;
}

.yabuh-link-pill:hover .yabuh-arrow {
  transform: translate(2px, -2px);
  color: #ffffff;
}

/* 10. Responsive Breakpoints */
@media (max-width: 991.98px) {
  footer.theme-footer {
    padding-top: 60px;
  }
  .footer-col {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .subfooter-flex {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .subfooter-nav {
    justify-content: center;
  }
  .subfooter-developer {
    justify-content: center;
    flex-wrap: wrap;
  }
}
