/* components/footer/footer.css */
/* Mobile-First Footer - NetPix Brand */
/*
 * Font sizing strategy — clamp(min, preferred, max):
 *   min  = smallest readable size on narrow mobile
 *   pref = fluid value that scales with viewport width (vw-based)
 *   max  = cap so text doesn't grow too large on wide screens
 * This replaces fixed rem values so the footer reads well from 320 px to 1440 px
 * without needing breakpoint overrides for text alone.
 */

.site-footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem) 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

/* Brand section */
.footer-brand h3 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1rem;
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
}

/* Section headings */
.footer-section h4 {
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Links */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s;
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  display: inline-block;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 3px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  padding-bottom: 1.4rem;
  /* leaves clear room for the absolutely-positioned version */
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  margin: 0.25rem 0;
}

.footer-tagline {
  font-style: italic;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0;
}

.footer-version {
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  font-style: italic;
  font-size: clamp(0.55rem, 1.4vw, 0.65rem);
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}

/* Tablet and up (768px+) */
@media screen and (min-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / 2;
  }
}

/* Desktop (1024px+) */
@media screen and (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / 2;
  }
}