/* ============================================
   MODERN FOOTER
   ============================================ */

footer,
.site-footer {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  margin-top: var(--spacing-2xl);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  z-index: 1;
}

.footer-inner {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg) !important;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.footer-icon {
  height: var(--footer-logo-size) !important;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-base);
  opacity: 0.9;
}

.footer-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md) !important;
    padding: var(--spacing-lg) var(--spacing-md) !important;
  }
  
  .footer-inner p {
    order: 2;
    font-size: var(--font-size-base);
  }
  
  .footer-icon {
    order: 1;
  }
  
  .footer-icon:first-child {
    order: 0;
  }
}

@media (max-width: 520px) {
  :root {
    --footer-logo-size: clamp(72px, 16vw, 120px);
  }
  
  .footer-inner p {
    font-size: var(--font-size-sm);
  }
}
