/**
 * TruOath Nutrition Footer CSS
 * Dark, editorial footer with 4-column layout
 */

.truoath-footer {
  background-color: var(--truoath-brown);
  color: var(--truoath-cream);
  padding: 100px 0 0;
}

/* Footer Grid */
.truoath-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}

/* Column headings */
.truoath-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--truoath-tan);
  margin-bottom: 28px;
  font-weight: 500;
}

/* Brand column */
.truoath-footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--truoath-cream);
  margin-bottom: 16px;
  font-weight: 400;
}

.truoath-footer__brand-tagline {
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 280px;
}

/* Social links */
.truoath-footer__social {
  display: flex;
  gap: 20px;
}

.truoath-footer__social a {
  font-size: var(--text-sm);
  color: var(--truoath-cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.truoath-footer__social a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Link lists */
.truoath-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.truoath-footer__links li {
  margin-bottom: 14px;
}

.truoath-footer__links a {
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.truoath-footer__links a:hover {
  color: var(--truoath-cream);
  text-decoration: none;
}

/* Newsletter */
.truoath-footer__newsletter-text {
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}

.truoath-footer__newsletter-form {
  display: flex;
  gap: 0;
}

.truoath-footer__newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.3);
  border-right: none;
  border-radius: 0;
  color: var(--truoath-cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.truoath-footer__newsletter-form input[type="email"]::placeholder {
  color: rgba(245, 240, 232, 0.4);
}

.truoath-footer__newsletter-form input[type="email"]:focus {
  border-color: var(--truoath-tan);
}

.truoath-footer__newsletter-form button {
  background: var(--truoath-tan);
  border: 1px solid var(--truoath-tan);
  color: var(--truoath-brown);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.truoath-footer__newsletter-form button:hover {
  background: var(--truoath-cream);
  color: var(--truoath-brown);
}

/* Bottom bar */
.truoath-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  font-size: var(--text-xs);
  color: rgba(245, 240, 232, 0.5);
}

.truoath-footer__bottom-links {
  display: flex;
  gap: 24px;
}

.truoath-footer__bottom-links a {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.truoath-footer__bottom-links a:hover {
  color: var(--truoath-cream);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .truoath-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .truoath-footer {
    padding: 70px 0 0;
  }

  .truoath-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 50px;
  }

  .truoath-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
