/* ============================================================
   PizzaLayer Site — Footer
   ============================================================ */

#site-footer {
  background: var(--void);
  position: relative;
  overflow: hidden;
}

/* Orange gradient top accent line */
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 30%, var(--orange-light) 60%, transparent 100%);
}

/* Subtle deep glow */
#site-footer::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Upper Footer ─────────────────────────────────────── */
.footer-upper {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* ── Brand Column ─────────────────────────────────────── */
.footer-brand {}

.footer-logo {
  display: block;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 24px;
}

/* ── Social Links ─────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--fast);
  text-decoration: none;
}
.social-link:hover {
  background: var(--orange-dim);
  border-color: var(--border-orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Share Widget ─────────────────────────────────────── */
.footer-share h6 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.share-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.share-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--fast);
  cursor: pointer;
}
.share-link:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-bright);
  color: var(--text-primary);
}
.share-link.twitter:hover  { border-color: rgba(29,161,242,0.35);  color: #1da1f2; }
.share-link.facebook:hover { border-color: rgba(66,103,178,0.35);  color: #4267b2; }
.share-link.reddit:hover   { border-color: rgba(255,87,0,0.35);    color: #ff5700; }
.share-link.copy:hover     { border-color: var(--border-orange);   color: var(--orange); }

/* ── Footer Nav Columns ───────────────────────────────── */
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,107,53,0.15);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--fast), padding-left var(--fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width var(--fast) var(--ease);
  flex-shrink: 0;
}
.footer-col ul li a:hover {
  color: var(--text-primary);
}
.footer-col ul li a:hover::before {
  width: 10px;
}

/* ── Footer Bottom Bar ────────────────────────────────── */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--void);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--fast);
}
.footer-bottom a:hover { color: var(--orange); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
}

.footer-made-with {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-made-with .heart {
  color: var(--orange);
  font-size: 0.85rem;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { display: none; }
}

/* ── Island Sun Design Footer CTA ────────────────────── */
.footer-isd-cta {
  background: linear-gradient(90deg, rgba(255,107,53,0.10) 0%, rgba(255,107,53,0.04) 100%);
  border-top: 1px solid rgba(255,107,53,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.footer-isd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-isd-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.footer-isd-eyebrow i { margin-right: 5px; }
.footer-isd-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}
.footer-isd-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(255,107,53,0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--orange);
  white-space: nowrap;
  transition: background var(--fast), border-color var(--fast), color var(--fast);
}
.footer-isd-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
@media (max-width: 600px) {
  .footer-isd-inner { flex-direction: column; align-items: flex-start; }
  .footer-isd-btn { width: 100%; justify-content: center; }
}
