/* Footer Component - 2025 Design Language */
.footer {
  background-color: var(--color-raw-blue-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 15%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.1) 85%, 
    transparent 100%);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column:nth-child(1) {
  grid-column: span 3;
}

.footer-column:nth-child(2) {
  grid-column: span 3;
}

.footer-column:nth-child(3) {
  grid-column: span 3;
}

.footer-column:nth-child(4) {
  grid-column: span 3;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
}

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

.footer-copyright {
  font-size: var(--font-size-xs);
  opacity: 0.8;
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.footer-company-reg {
  font-size: var(--font-size-xs);
  opacity: 0.6;
  margin-top: var(--space-2);
}

.footer-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-raw-white);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand-primary);
}

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

.footer-link-item {
  margin-bottom: var(--space-3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all var(--transition-duration-short);
  position: relative;
  display: inline-block;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-brand-primary);
  transition: width var(--transition-duration-standard) var(--transition-timing-function-smooth);
}

.footer-link:hover {
  color: var(--color-raw-white);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
  margin-right: var(--space-3);
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.footer-contact-text {
  line-height: 1.4;
}

.footer-service-areas {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-5);
}

.footer-legal {
  font-size: var(--font-size-xs);
  opacity: 0.7;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-duration-short);
}

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

.footer-legal-separator {
  display: inline-block;
  margin: 0 var(--space-2);
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
  grid-column: 1 / -1;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .footer-column:nth-child(1),
  .footer-column:nth-child(2) {
    grid-column: span 6;
  }
  
  .footer-column:nth-child(3),
  .footer-column:nth-child(4) {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-column {
    grid-column: 1 / -1 !important;
  }
  
  .footer-column:not(:last-child) {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}
