/* Footer Styles - Converted from SCSS */

.bimco-footer {
  background-color: #1e3a47;
  color: #ffffff;
  padding: 2.5rem 0 0 0;
  flex-shrink: 0;
}

.bimco-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bimco-footer__sections-wrapper {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr 1fr;
  gap: 2.5rem;
}

.bimco-footer__section-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  font-family: var(--bimco-display-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.bimco-footer__section-content {
  margin-bottom: 1rem;
}

.bimco-footer__section-content p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #b8c4cc;
}

.bimco-footer__section-content a {
  color: #b8c4cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bimco-footer__section-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bimco-footer__section-cta {
  color: #4a9eff;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
}

.bimco-footer__section-cta:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bimco-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bimco-footer__link {
  color: #b8c4cc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.bimco-footer__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bimco-footer__social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #2c4a57;
  color: #b8c4cc;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #4a9eff;
  color: #ffffff;
  text-decoration: none;
}

.social-link__icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Button Reset */
.btn-link {
  background: none;
  border: none !important;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.btn__content {
  display: inline-block;
}

/* Typography Helper */
.navigation-eyebrow {
  font-family: var(--bimco-display-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-weight: 600;
}

.rich-text p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bimco-footer {
    padding: 1.5rem 0 0 0;
  }
  
  .bimco-footer__container {
    padding: 0 1rem;
  }
  
  .bimco-footer__sections-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left; /* Changed from center to left */
  }
  
  .bimco-footer__links {
    align-items: flex-start; /* Changed from center to flex-start */
  }
  
  .bimco-footer__social-links {
    justify-content: flex-start; /* Changed from center to flex-start */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .bimco-footer__sections-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1025px) {
  .bimco-footer__sections-wrapper {
    grid-template-columns: 2fr 2fr 1.5fr 1fr;
  }
}

/* Print Styles */
@media print {
  .bimco-footer {
    background-color: transparent !important;
    color: #000000 !important;
    padding: 1rem 0;
  }
  
  .bimco-footer__section-content a,
  .bimco-footer__link,
  .bimco-footer__section-cta {
    color: #000000 !important;
    text-decoration: underline !important;
  }
  
  .bimco-footer__social-links {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .bimco-footer {
    border-top: 2px solid #ffffff;
  }
  
  .bimco-footer__section-content a:hover,
  .bimco-footer__link:hover,
  .bimco-footer__section-cta:hover {
    background-color: #ffffff;
    color: #1e3a47;
    padding: 0 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .bimco-footer__section-content a,
  .bimco-footer__link,
  .bimco-footer__section-cta,
  .social-link {
    transition: none;
  }
}

/* Focus States for Accessibility */
.bimco-footer a:focus {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}

.social-link:focus {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}