/* 
  GES Logistics - Site Footer
  Navy background with 4-column layout (stacks on mobile)
*/

/* Footer Container */
.ges-footer {
  background: var(--navy);
  color: white;
  padding-top: var(--space-64);
}

/* Main Footer Grid */
.ges-footer__main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-24);
}

.ges-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-48);
  padding-bottom: var(--space-48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Section (Column) */
.ges-footer__section {
  display: flex;
  flex-direction: column;
}

/* Brand Section */
.ges-footer__logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: var(--space-16);
}

.ges-footer__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.ges-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-24);
  max-width: 280px;
}

/* Social Links */
.ges-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.ges-footer__social-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: var(--space-4);
}

.ges-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ges-footer__social-link:hover {
  background: var(--primary-teal);
  transform: translateY(-2px);
}

/* Section Headings */
.ges-footer__heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin-bottom: var(--space-20);
}

/* Link Lists */
.ges-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

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

.ges-footer__link:hover {
  color: var(--primary-teal);
}

/* Contact Information */
.ges-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.ges-footer__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary-teal);
  margin-top: 2px;
}

.ges-footer__contact-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.ges-footer__contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ges-footer__contact-link:hover {
  color: var(--primary-teal);
}

/* Bottom Bar */
.ges-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-24) 0;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

.ges-footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.ges-footer__legal-links {
  display: flex;
  gap: var(--space-24);
  align-items: center;
}

.ges-footer__legal-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ges-footer__legal-link:hover {
  color: var(--primary-teal);
}

/* Simple Language Switcher in Footer */
.ges-footer__lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ges-footer__lang-switcher:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
  .ges-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32);
  }
  
  .ges-footer__section--brand {
    grid-column: 1 / -1;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .ges-footer {
    padding-top: var(--space-48);
  }
  
  .ges-footer__main {
    padding: 0 var(--space-16);
  }
  
  .ges-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    padding-bottom: var(--space-32);
  }
  
  .ges-footer__section--brand {
    grid-column: auto;
  }
  
  .ges-footer__tagline {
    max-width: 100%;
  }
  
  .ges-footer__bottom {
    flex-direction: column;
    gap: var(--space-16);
    text-align: center;
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  
  .ges-footer__legal-links {
    flex-direction: column;
    gap: var(--space-12);
  }
}

/* Small Mobile (< 414px) */
@media (max-width: 413px) {
  .ges-footer__social {
    flex-wrap: wrap;
  }
}
