/* =========================================
   FOOTER SECTION
   ========================================= */

.footer {
  position: relative;
  height: 60svh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://assets.batilochi.com.br/batilochi/hero/IMG_7501.jpg') center center / cover no-repeat,
              url('https://assets.batilochi.com.br/batilochi/hero/hero-main.jpg') center center / cover no-repeat;
  /* TODO: upload hero/IMG_7501.jpg to ImageKit */
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.85);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding-top: var(--space-64);
  padding-bottom: var(--space-32);
}

.footer-watermark {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
  width: 80%;
  max-width: 300px;
}

.footer-watermark img {
  width: 100%;
  height: auto;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: var(--text-title);
  color: var(--color-white);
  letter-spacing: -0.06em;
  margin-bottom: var(--space-16);
  margin-top: var(--space-32);
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-grey);
}

/* =========================================
   STICKY BRANDING FOOTER (REKALP)
   ========================================= */

.branding-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-12) 0;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 50; /* Lower than nav bar / splash screen */
  pointer-events: none; /* Don't block clicks on content behind it */
}

.branding-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  pointer-events: auto; /* Re-enable clicks just for the link */
  transition: opacity 0.2s ease;
}

.branding-link:hover {
  opacity: 0.8;
}

.branding-link span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: #C9D2D9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.branding-logo {
  height: 14px;
  width: auto;
}
