/* ============================================================
   PORTFOLIO THEME — footer.css
   Footer / Contact section styles
   ============================================================ */

/* ─── Footer Section ─────────────────────────────────────── */
#contact,
footer {
  background: #060606;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
footer::before {
  content: '';
  position: absolute;
  bottom: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,110,0.055) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
footer::after {
  content: none; /* override body::after in section */
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.footer__cta-band {
  padding: 90px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.footer__cta-eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.footer__cta-title {
  max-width: 700px;
  margin: 0 auto 36px;
}
.footer__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── Main footer grid ───────────────────────────────────── */
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 60px;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--color-border);
}

/* Brand column */
.footer__brand {}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-cream);
  display: block;
  margin-bottom: 18px;
}
.footer__logo .dot { color: var(--color-gold); }
.footer__tagline {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 280px;
  margin-bottom: 32px;
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0;
}
.social-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

/* Footer nav columns */
.footer__col {}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.footer__col-list li { margin-bottom: 13px; }
.footer__col-list a {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--color-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.footer__col-list a::before {
  content: '→';
  position: absolute;
  left: -18px;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-base);
  font-size: 0.75rem;
}
.footer__col-list a:hover { color: var(--color-gold); padding-left: 18px; }
.footer__col-list a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact info column */
.footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.6;
}
.contact-icon-wrap {
  width: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}
.contact-icon-wrap svg { width: 16px; height: 16px; }

/* ─── Footer bottom bar ──────────────────────────────────── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(244,239,230,0.28);
  letter-spacing: 0.04em;
}
.footer__copy span { color: var(--color-gold); }
.footer__legal {
  display: flex;
  gap: 28px;
}
.footer__legal a {
  font-size: 0.76rem;
  color: rgba(244,239,230,0.28);
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
}
.footer__legal a:hover { color: var(--color-gold); }

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--color-gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 500;
  font-size: 1.1rem;
  color: var(--color-dark);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-coral);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}
@media (max-width: 600px) {
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer__cta-band { padding: 60px 0; }
}
