/* ================================
   FOOTER COMPONENT STYLES
   ================================ */

footer {
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3xl);
  align-items: start;
  width: 100%;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-section:nth-child(2) {
  margin: 0 auto;
}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-logo-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.15em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
}

.footer-logo:hover .footer-logo-text {
  letter-spacing: 0.2em;
}

.footer-logo:hover::after {
  width: 10%;
}

.footer-tagline {
  color: var(--color-text-tertiary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  max-width: 250px;
}

.footer-links h4 {
  color: var(--color-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
  width: fit-content;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-social {
  align-items: center;
  text-align: center;
}

.decorative-line {
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-full);
}

.social-links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.social-link {
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
}

.social-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.copyright {
  color: var(--color-text-tertiary);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

.decorative-diamonds-footer {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

.diamond-footer {
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}

.diamond-footer:nth-child(1) {
  animation-delay: 0s;
}

.diamond-footer:nth-child(2) {
  animation-delay: 1s;
}

.diamond-footer:nth-child(3) {
  animation-delay: 2s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-link:hover {
    transform: translateX(0);
  }
}
