/* =============================================================================
   FOOTER.CSS — Site footer, floating elements, cookie banner
   Pet Transfer Bodrum — PREMIUM_CONCIERGE
   ============================================================================= */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.65);
  padding-top: 80px;
}

/* ── Footer grid ────────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Brand column ───────────────────────────────────────── */
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-bottom: 20px;
}

.footer-about {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  max-width: 280px;
}

/* ── Column headings ────────────────────────────────────── */
.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

/* ── Footer nav links ───────────────────────────────────── */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--duration-fast), padding-left var(--duration-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}

/* ── Contact items ──────────────────────────────────────── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a { color: inherit; transition: color var(--duration-fast); }
.footer-contact-item a:hover { color: var(--color-accent-light); }

/* ── Social icons ───────────────────────────────────────── */
.social-icons { display: flex; gap: 8px; }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all var(--duration-fast);
}
.social-icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(200,150,62,0.1);
}
.social-icon svg { width: 16px; height: 16px; }

/* ── Footer bottom bar ──────────────────────────────────── */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Back to top ──────────────────────────────────────────
   bottom offset clears .sticky-cta's full-width mobile bar
   (~64px tall, pinned at bottom:0) — see main.css for the
   desktop override once .sticky-cta switches to corner buttons. */
.back-to-top {
  position: fixed;
  bottom: 76px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-md);
  z-index: 9999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  /* Mobile: .sticky-cta is a full-width bar pinned at bottom:0 — sit
     above it instead of underneath/overlapping it. Desktop clears this
     back to 0 below, since .sticky-cta becomes corner-floating there. */
  bottom: 64px;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
}
.cookie-banner.show { display: flex; }

.cookie-text { font-size: var(--text-sm); color: rgba(255,255,255,0.75); line-height: 1.6; }
.cookie-text a { color: var(--color-accent-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}
