/* CSS for views/layouts/components/footer.ejs */

.footer-wrapper {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding-top: 3rem; /* py-12 */
  padding-bottom: 3rem;
  border-top: 1px solid var(--color-gray-800);
}

.footer-container {
  max-width: 80rem; /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding-left: 1.5rem; /* sm:px-6 */
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding-left: 2rem; /* lg:px-8 */
    padding-right: 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem; /* gap-8 */
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space-x-3 */
}

.footer-logo {
  height: 2.5rem; /* h-10 */
  width: 2.5rem; /* w-10 */
  object-fit: contain;
  background-color: var(--color-white);
  border-radius: 9999px; /* rounded-full */
  padding: 0.25rem; /* p-1 */
}

.footer-brand-name {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: var(--color-white);
  letter-spacing: -0.025em; /* tracking-tight */
}

.footer-tagline {
  color: var(--color-gray-400);
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625; /* leading-relaxed */
  max-width: 20rem; /* max-w-xs */
}

.footer-socials {
  display: flex;
  gap: 1rem; /* space-x-4 */
  padding-top: 0.5rem; /* pt-2 */
}

.footer-social-icon {
  color: var(--color-gray-400);
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.footer-social-icon:hover {
  color: var(--color-white);
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.footer-link-group {
  /* Default div */
}

.footer-heading {
  color: var(--color-white);
  font-weight: 600; /* font-semibold */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  margin-bottom: 1rem; /* mb-4 */
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  color: var(--color-white);
}

.footer-link:hover {
  color: var(--color-purple-500);
}

.footer-icon {
  font-size: 0.75rem; /* text-xs */
  color: var(--color-purple-500);
}

.footer-bottom {
  margin-top: 3rem; /* mt-12 */
  padding-top: 2rem; /* pt-8 */
  border-top: 1px solid var(--color-gray-800);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem; /* text-sm */
  color: var(--color-gray-500);
}

@media (min-width: 768px) {
  .footer-bottom {
    text-align: left;
    flex-direction: row;
  }
}

.footer-made-with {
  margin-top: 1rem; /* mt-4 */
}

@media (min-width: 768px) {
  .footer-made-with {
    margin-top: 0; /* md:mt-0 */
  }
}

.text-red-500 {
  color: var(--color-red-500);
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.red {
  color: #ff0000;
}
