/* ============================================================
   DKCOSM — Footer
   Premium Footer Component
   ============================================================ */

.footer {
  background: var(--dk-night);
  color: var(--dk-gray-400);
  padding: var(--space-3xl) 0 0;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient line at top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dk-blue), var(--dk-violet), var(--dk-cyan), var(--dk-orange));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

/* -- Brand Column -- */
.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand .logo img {
  height: 50px;
}

.footer-brand p {
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--dk-gray-500);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease-out);
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--dk-gray-400);
  transition: fill var(--duration) ease;
}

.footer-social-link:hover svg {
  fill: #fff;
}

/* -- Column Titles -- */
.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

/* -- Links Column -- */
.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: var(--fs-small);
  color: var(--dk-gray-500);
  transition: color var(--duration-fast) ease, padding-left var(--duration) var(--ease-out);
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

/* -- Contact Column -- */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--fs-small);
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.footer-contact a {
  transition: color var(--duration-fast) ease;
}

.footer-contact a:hover {
  color: #fff;
}

/* -- Bottom Bar -- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: var(--fs-caption);
  color: var(--dk-gray-600);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: var(--fs-caption);
  color: var(--dk-gray-600);
  transition: color var(--duration-fast) ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}
