/* ========================================
   FOOTER COMPONENT STYLES
   ======================================== */

.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
  margin-top: auto;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Footer Top Section */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Column */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: -0.5px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 320px;
}

/* Footer Columns */
.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0 0 var(--spacing-md) 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: span 3;
  }
}

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

  .footer-column:first-child {
    grid-column: span 2;
  }

  .footer-column:last-child {
    grid-column: span 1;
  }

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

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-column:first-child,
  .footer-column:last-child {
    grid-column: span 1;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom {
    padding-top: var(--spacing-md);
  }

  .footer-copyright,
  .footer-legal {
    font-size: 13px;
  }
}
