footer {
  background-color: #fcf8ed;
  padding: 1.5em 1em;
  text-align: center;
  font-size: 1rem;
  border-top: 2px solid var(--beige);
  position: relative;
  flex-shrink: 0;
  font-family: 'Comfortaa', Arial, sans-serif;
}

/* --- Links --- */
footer a {
  color: var(--olive, #6E7C4F);
  text-decoration: none;
  font-family: 'Comfortaa', Arial, sans-serif;
  transition: color 0.2s ease;
}

footer a:hover,
footer a:focus {
  color: var(--olive-dark, #475135);
  text-decoration: underline;
}

/* --- Connect section --- */
.footer-connect {
  display: flex;
  flex-direction: column; /* mobile-first: stack */
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.2em;
}

.footer-item {
  background: var(--white);
  border-radius: 12px;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1rem;
  box-shadow: 0 2px 10px #e6deb5a0;
  transition: box-shadow 0.16s, transform 0.1s;
  justify-content: center;
}

.footer-item svg {
  flex-shrink: 0;
}

.footer-item:hover,
.footer-item:focus-visible {
  box-shadow: 0 4px 16px #ece2b8c0;
  transform: translateY(-1px);
}

/* Instagram special */
.footer-ig {
  font-weight: 500;
}

/* Location */
.footer-location {
  margin-top: 1.2em;
  font-size: 1rem;
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.footer-location a {
  word-break: break-word;
  text-align: center;
}

/* Copyright */
.footer-copy {
  margin-top: 1.5em;
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* --- Larger screens --- */
@media (min-width: 769px) {
  .footer-connect {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.3rem;
  }

  .footer-item {
    width: auto;
    font-size: 1.03em;
    padding: 0.65em 1.25em;
  }
}

/* Screen-reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
