/* ══════════════════════════════════════════════════════════════
   FOOTER.CSS — Karisyo Events  (Enhanced)
══════════════════════════════════════════════════════════════ */

/* ── Marquee strip above footer ────────────────────────────── */
.footer-marquee {
  background: var(--color-gold);
  overflow: hidden;
  padding: 0.75rem 0;
  position: relative;
  width: 100%;
  display: block;
}

.footer-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: footerMarquee 28s linear infinite;
  will-change: transform;
}

.footer-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  padding-right: 1.8rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--color-crimson);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-crimson);
  opacity: 0.45;
  flex-shrink: 0;
}

@keyframes footerMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Footer Layout ──────────────────────────────────────────── */
#footer {
  background: var(--color-crimson);
  color: rgba(255,255,255,0.85);
  padding: clamp(5rem, 9vw, 7rem) var(--gutter) 0;
  position: relative;
  overflow: hidden;
}

/* Watermark butterfly */
#footer::before {
  content: '';
  position: absolute;
  right: -6vw;
  bottom: -6vw;
  width: clamp(300px, 45vw, 560px);
  height: clamp(300px, 45vw, 560px);
  background: url('content/butterfly.png') center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

/* Subtle top gradient highlight */
#footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-gold) 25%,
    var(--color-orange) 75%,
    transparent 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  position: relative;
  z-index: 1;
}

/* ── Brand column ─────────────────────────────────────────── */
.footer-left { display: flex; flex-direction: column; gap: 1.2rem; }

.footer-logo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--color-white);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-butterfly {
  width: clamp(22px, 3vw, 30px);
  height: clamp(22px, 3vw, 30px);
  object-fit: contain;
  opacity: 0.75;
  flex-shrink: 0;
}

.footer-logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 0.4rem;
  font-weight: 500;
}

.footer-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  max-width: 300px;
}

/* Email pill */
.footer-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(252,193,43,0.25);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  transition: all 0.35s ease;
  width: fit-content;
  margin-top: 0.5rem;
}

.footer-email-pill:hover {
  background: rgba(252,193,43,0.1);
  border-color: var(--color-gold);
  transform: translateX(4px);
}

.footer-email-pill i { font-size: 0.75rem; opacity: 0.7; }

/* ── Navigation columns ───────────────────────────────────── */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.6rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.9rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.4;
}

.footer-col a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  padding: 0.3rem 0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}

.footer-col a::before {
  content: '—';
  font-size: 0.7rem;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  width: 0;
  overflow: hidden;
}

.footer-col a:hover {
  color: var(--color-white);
  gap: 0.5rem;
}

.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
  width: auto;
}

/* ── Connect column ───────────────────────────────────────── */
.footer-connect { display: flex; flex-direction: column; }

.footer-socials {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.footer-socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.footer-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-style: italic;
}

/* ── Divider ─────────────────────────────────────────────── */
.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0.1) 80%,
    transparent 100%
  );
  margin: clamp(2.5rem, 4vh, 4rem) 0 0;
  position: relative;
  z-index: 1;
}

/* ── Bottom row ──────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0 1.8rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.footer-legal-links {
  display: flex;
  gap: 1.2rem;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
  padding: 0 !important;
  width: auto !important;
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.65) !important; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-style: italic;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }
  .footer-left { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-legal-links { justify-content: center; }

  .footer-socials { justify-content: flex-start; }
}