/* 
 * IXYS Distributor Website - Footer Styles
 * Styles for footer sections and information
 */

/* Main Footer */
.main-footer {
  background-color: var(--dark-gray);
  color: white;
  padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-column h3 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.footer-column p,
.footer-column li,
.footer-column address {
  color: #d1d5db; /* light gray text */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Social Links in Footer */
.footer-column .social-links a {
  display: inline-block;
  margin-right: var(--spacing-md);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-bottom p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
}

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

/* Address in Footer */
address {
  font-style: normal;
}

/* Responsive Footer */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}