/* ==========================================================================
   Footer — Three-column editorial layout (Simone Lennon Events style)
   Left nav + center logo/tagline + right nav, photo strip, copyright bar.
   ========================================================================== */

/* ---- Footer Container ---- */
.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--color-cream);
  color: var(--color-dark);
  padding: var(--space-4xl) 0 0;
}

/* ---- Three-Column Header Grid ---- */
.footer__columns {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-xl);
}

/* ---- Left Column: Nav + Social ---- */
.footer__col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.footer__nav-left {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* ---- Center Column: Logo + Tagline ---- */
.footer__col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo {
  width: clamp(120px, 12vw, 180px);
  height: auto;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.footer__tagline {
  max-width: 360px;
}

.footer__tagline-roles {
  font-family: var(--font-eyebrow);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-dark);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.375rem;
}

.footer__tagline-mission {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.25rem);
  color: var(--color-dark);
  line-height: 1.5;
  opacity: 0.75;
  display: block;
}

/* ---- Right Column: Nav ---- */
.footer__col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

.footer__nav-right {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

/* ---- Shared Nav Link Style ---- */
.footer__nav-link {
  font-family: var(--font-eyebrow);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 0.15rem 0;
}

.footer__nav-link:hover {
  color: var(--color-gold);
}

/* ---- Social Icons ---- */
.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.footer__social-link {
  color: var(--color-dark);
  opacity: 0.5;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social-link:hover {
  color: var(--color-gold);
  opacity: 1;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Photo Strip ---- */
.footer__photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  margin-top: var(--space-4xl);
}

.footer__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ---- Bottom Bar (Copyright + Cheers) ---- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.footer__copyright {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--color-gray);
  letter-spacing: 0.02em;
}

.footer__cheers {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-gold);
}

/* ============================================================
   Responsive — Tablet (768px)
   ============================================================ */
@media (max-width: 768px) {
  .footer__columns {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-lg);
  }

  /* Center column moves to top, spans full width */
  .footer__col-center {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: var(--space-md);
  }

  /* Left and right nav sit side by side below */
  .footer__col-left {
    grid-column: 1;
    grid-row: 2;
  }

  .footer__col-right {
    grid-column: 2;
    grid-row: 2;
  }

  /* Photo strip: 3 columns */
  .footer__photos {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    padding: var(--space-3xl) 0 0;
  }
}

/* ============================================================
   Responsive — Mobile (480px)
   ============================================================ */
@media (max-width: 480px) {
  .footer__columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer__col-center {
    grid-column: 1;
    grid-row: 1;
    align-items: center;
  }

  .footer__col-left {
    grid-column: 1;
    grid-row: 2;
    align-items: center;
  }

  .footer__nav-left {
    align-items: center;
  }

  .footer__col-right {
    grid-column: 1;
    grid-row: 3;
    align-items: center;
  }

  .footer__nav-right {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  /* Photo strip: 2 columns */
  .footer__photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer__logo {
    width: 100px;
  }
}
