/* ===========================================
   Modern Footer - Escortify Redesign
   Created: January 28, 2026
   =========================================== */

/* Footer Container */
.footer-modern {
  background-color: #0f0f0f;
  border-top: 1px solid #27272a;
  padding: 64px 24px 32px;
  overflow: hidden;
  box-shadow: 0 -25px 50px -12px rgba(0, 0, 0, 0.25);
  font-family: "CircularXXWeb-Regular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 1024px) {
  .footer-modern {
    padding: 40px 80px 30px;
  }
}

/* Footer Grid - matches header .wrapper max-width */
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Branding Section */
.footer-branding {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .footer-branding {
    grid-column: auto;
  }
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
}

.footer-logo-wrap span {
  font-family: "CircularXXWeb-Bold", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.footer-description {
  color: #a1a1aa;
  max-width: 320px;
  margin-bottom: 32px;
  line-height: 1.6;
  font-size: 0.895rem;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #27272a;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: #3f3f46;
  transform: translateY(-2px);
}

.footer-social a img,
.footer-social a svg {
  width: 16px;
  height: 16px;
  color:#a1a1aa;
}

/* Footer Columns */
.footer-column h4 {
  color: #ffffff;
  font-family: "CircularXXWeb-Medium", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 24px;
  letter-spacing: 0.025em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-link {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.895rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #ff3b5c;
  transform: translateX(4px);
}

/* Label Pills */
.label-pill {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: #ff3b5c;
  color: white;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #27272a;
  padding-top: 32px;
  margin-top: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal Links */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 12px;
  margin-bottom: 32px;
}

.footer-legal-links a {
  color: #71717a;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-legal-links .stop-trafficking {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-links .stop-trafficking:hover {
  color: #ff3b5c;
}

/* Copyright */
.footer-copyright {
  font-size: 0.875rem;
  color: #71717a;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Disclaimer / Company Info */
.footer-disclaimer {
  font-size: 12px;
  color: #52525b;
  line-height: 1.6;
  max-width: 1024px;
  font-style: italic;
}

/* Geolocation-based company text - PRESERVED FROM ORIGINAL */
.footer-disclaimer .comp:before {
  content: "Site managed by Advertising Tech Ltd, registered Nove Mesto, Klimentska 1216/46, Prague, Czech Republic. GST number for VAT payment in New Zealand 143-971-309. ";
}

.footer-disclaimer .compnew:before {
  content: "Site managed by AdFlare Software Ltd, reg number: 16300785, registered to Vana-Viru tn 13-15, Tallinn, 10111, Estonia. GST number for VAT payment in New Zealand 143-971-309. ";
}

/* Partner Links Section (Homepage only) */
.footer-partners {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #27272a;
}

.footer-partners-title {
  font-size: 10px;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-partners-grid a {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.footer-partners-grid a:hover {
  opacity: 1;
}

.footer-partners-grid img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.footer-partners-grid a:hover img {
  filter: grayscale(0%);
}

.footer-partners-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.footer-partners-links a {
  color: #52525b;
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-partners-links a:hover {
  color: #a1a1aa;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .footer-modern {
    padding: 24px 20px 24px;
  }

  .footer-grid {
    gap: 32px;
    margin-bottom: 0px;
  }

  .footer-legal-links {
    gap: 16px;
  }

  .footer-partners-grid {
    gap: 16px;
  }

  .footer-partners-grid img {
    height: 32px;
  }
}

/* Hide on profile pages - keep minimal */
.footer-minimal .footer-column,
.footer-minimal .footer-partners {
  display: none;
}

@media (min-width: 768px) {
  .footer-minimal .footer-grid {
    grid-template-columns: 1fr;
  }
}
