body {
  font-size: var(--font-base);
  line-height: var(--line-height-base);
  margin: var(--marg-small);
  padding: var(--padd-std);
  font-family: sans-serif;
}

header,
footer {
  margin-top: var(--marg-small);
  margin-bottom: var(--marg-small);
}
.logo {
  font-family: var(--font-headings);
  text-decoration: none;
}

.user-logged-in-wrapper {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 40px;
  width: 100%;
  padding-top: 1em;
  border-top: 12px solid tomato;
}

.user {
  margin-left: 1.15rem;
  font-family: var(--font-headings);
  font-size: 1.15rem;
}
.log-out {
  color: tomato;
  cursor: pointer;
  font-family: var(--font-headings);
  font-size: 1.15rem;
}

menu {
  min-width: 100%;
  margin-bottom: var(--marg-med);
}
menu ul {
  display: inline-flex;
  width: 100%;
  margin: 2rem 0rem;
}
menu ul li {
  padding-right: var(--padd-std);
}
menu ul li a {
  margin-bottom: var(--marg-lrg);
  font-family: var(--font-headings);
  font-size: 1.15rem;
  text-decoration: none;
}
menu ul li a:hover {
  text-decoration: var(--link-dec-underline);
  text-underline-offset: 6px;
  text-decoration-thickness: 8px;
  text-decoration-color: tomato;
}
.active {
  text-decoration: var(--link-dec-underline);
  text-underline-offset: 6px;
  text-decoration-thickness: 8px;
  text-decoration-color: #222;
}

/* Footer Styles */
.footer {
  margin-top: var(--marg-lrg);
  padding: var(--padd-lrg) 0;
  border-top: 1px solid #eee;
  background-color: #222;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--marg-med);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--padd-std);
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--marg-small);
}

.footer-logo img {
  border-radius: 8px;
}

.footer-name h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
  color: #fff;
}

.footer-name p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Footer Social Section */
.footer-social h4,
.footer-legal h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin: 0 0 var(--marg-small) 0;
  color: #222;
}

.social-links,
.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li,
.legal-links li {
  margin-bottom: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: tomato;
}

.social-links i {
  width: 18px;
  height: 18px;
}

/* Footer Legal Section */
.legal-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #222;
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: var(--marg-med);
  padding-top: var(--marg-small);
  border-top: 1px solid #eee;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padd-std);
  padding-right: var(--padd-std);
}

.footer-bottom p {
  margin: 0.25rem 0;
  color: #666;
  font-size: 0.85rem;
}

.footer-tagline {
  font-style: italic;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--marg-lrg);
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-name {
    text-align: center;
  }
}
