/* =============================================================
   FOOTER.CSS — Footer
   The Ozasco
   ============================================================= */

/* ── Footer wrapper ── */
#footer {
  background-color: var(--clr-sage-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(3rem, 6vw, 5rem) var(--sp-10);
}

/* ── Footer grid ── */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-10);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── Brand column ── */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.footer__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  object-position: left;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: transform var(--ease-base);
}

.footer__logo:hover {
  transform: scale(1.02);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-text-light);
  line-height: 1.7;
  max-width: 30ch;
  opacity: 0.85;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  transition: all var(--ease-base);
  opacity: 0.8;
}

.footer__social-link:hover {
  border-color: var(--clr-gold-light);
  color: var(--clr-gold-light);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  opacity: 1;
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ── Footer columns ── */
.footer__col-title {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--clr-text-light);
  transition: color var(--ease-base);
  position: relative;
  padding-left: 0;
  opacity: 0.8;
}

.footer__link::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  color: var(--clr-gold-light);
  transition: opacity var(--ease-base), left var(--ease-base);
}

.footer__link:hover {
  color: var(--clr-gold-light);
  padding-left: var(--sp-5);
  opacity: 1;
}

.footer__link:hover::before {
  opacity: 1;
  left: 0;
}

/* ── Bottom bar ── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  font-weight: 300;
  opacity: 0.65;
}

.footer__copy span {
  color: var(--clr-gold-light);
}

.footer__legal {
  display: flex;
  gap: var(--sp-6);
}

.footer__legal-link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  font-weight: 300;
  transition: color var(--ease-base);
  opacity: 0.65;
}

.footer__legal-link:hover {
  color: var(--clr-gold-light);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 600px) {
  #footer {
    padding-block: var(--sp-10) var(--sp-6);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
  }

  .footer__brand {
    grid-column: auto;
    gap: var(--sp-3);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-top: var(--sp-4);
    gap: var(--sp-3);
  }

  .footer__legal {
    justify-content: center;
    gap: var(--sp-4);
  }
}
