/* ============ Funkenwelt Footer Styles (Fixed & Improved) ============ */

/* ----- إعداد الصفحة ليكون الفوتر في الأسفل ----- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* اجعل المحتوى يتمدّد ويترك مساحة للفوتر في الأسفل */
main, .content, .page-wrapper {
  flex: 1 0 auto;
}

/* ----- تصميم الفوتر ----- */
.site-footer {
  position: static; /* ألغِ relative-bottom حتى لا يتداخل مع التخطيط */
  width: 100%;
  padding: 1.2rem 1.8rem;
  background: rgba(20, 10, 8, 0.35);
  border-top: 1px solid rgba(248,213,126,0.15);
  box-shadow: 0 -2px 20px rgba(248,213,126,0.1);
  backdrop-filter: blur(6px);
  color: #FFF8EC;
  font-family: 'Inter', sans-serif;
  z-index: 5;
  margin-top: auto; /* يجعل الفوتر في الأسفل عندما المحتوى قصير */
}

/* ----- محتوى الفوتر الداخلي ----- */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----- القسم الأيسر ----- */
.footer-left p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.85;
}

.footer-left .brand {
  background: linear-gradient(90deg, #E6C27A, #C18A6E, #FFDFAF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ----- روابط السوشيال ميديا ----- */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,248,236,0.05);
  border: 1px solid rgba(248,213,126,0.15);
  color: #E6C27A;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(248,213,126,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(248,213,126,0.25);
}

.icon {
  width: 18px;
  height: 18px;
}
