/* ============================================
   FOOTER STYLES
   ============================================ */

footer {
  background-color: #1a1a1a !important; /* Deeper/darker gray background */
  padding: 60px 0 !important;
}

/* Footer Links */
footer .links {
  display: flex;
  gap: 60px;
  margin-bottom: 60px !important;
  justify-content: flex-start; /* Desktop: align to start */
}

footer .links .link-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  min-width: 120px;
  font-style: normal;
}

footer .links .link-container h5 {
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 18px !important; /* Increased from 16px */
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.01em;
}

footer .links .link-container ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%; /* Ensure full width for centering on mobile */
}

footer .links .link-container ul li {
  list-style: none;
}

footer .links .link-container ul li a {
  font-weight: 400;
  font-size: 16px !important; /* Increased from 14px */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none !important;
  transition: all var(--transition-base);
  padding: 10px 15px !important; /* Match tags padding */
  border-radius: 20px !important; /* Pill shape */
  display: inline-block;
}

footer .links .link-container ul li a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.08) !important; /* More subtle grey pill */
  text-decoration: none !important;
}

/* Social Links */
footer .social-links {
  display: flex;
  justify-content: flex-start; /* Desktop: align to start */
  border-bottom: none !important; /* Removed border line */
  padding-bottom: 0 !important;
  margin-bottom: 40px !important;
  gap: 20px !important;
}

footer .social-links li a {
  color: var(--white);
  transition: all var(--transition-base);
  padding: 8px !important;
  border-radius: 50% !important; /* Pill/circular shape for icons */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer .social-links li a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.08) !important; /* More subtle grey pill */
}

footer .social-links svg {
  color: var(--white);
  transition: all var(--transition-base);
}

footer .social-links li a:hover svg {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Brand Logo and Copyright */
footer .brand {
  display: flex;
  flex-direction: column; /* Stack logo and copyright */
  align-items: flex-start; /* Desktop: align to start */
  gap: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

footer .brand a {
  display: inline-block;
  background: transparent;
  margin: 0 !important;
  padding: 0 !important;
}

footer .brand img {
  height: 35px !important; /* Match header logo height */
  width: auto !important;
  max-width: 200px !important; /* Match header logo max-width */
  opacity: 0.9;
  transition: opacity var(--transition-base);
  background: transparent;
  background-color: transparent;
}

/* For SVG logo on dark background: invert to make black logo white */
footer .brand img[src$=".svg"],
footer .brand img[src*="buzzvil-logo"] {
  /* Invert to make black logo white - no white background to worry about now */
  filter: invert(1);
  background: transparent;
  background-color: transparent;
}

footer .brand svg {
  fill: var(--white);
  color: var(--white);
}

footer .brand a:hover img {
  opacity: 1;
}

footer .brand span {
  display: flex;
  align-items: center;
  height: auto !important;
  font-weight: 400;
  font-size: 16px !important; /* Increased from 14px */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

/* Footer Icon Box */
footer .icon-box a {
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-base);
  text-decoration: none; /* No underline */
  padding: 10px 15px !important; /* Match tags padding */
  border-radius: 20px !important; /* Pill shape */
  display: inline-block;
}

footer .icon-box a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.08) !important; /* More subtle grey pill */
  border-color: transparent; /* No border */
  text-decoration: none; /* No underline */
}

/* Footer Menu */
.footer-menu li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px; /* Increased font size */
  transition: all var(--transition-base);
  text-decoration: none; /* No underline */
  padding: 10px 15px !important; /* Match tags padding */
  border-radius: 20px !important; /* Pill shape */
  display: inline-block;
}

.footer-menu li a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.08) !important; /* More subtle grey pill */
  text-decoration: none; /* No underline on hover */
}

/* Copyright Text */
.copyright-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px; /* Increased font size */
}

.copyright-text a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px; /* Increased font size */
  transition: all var(--transition-base);
  text-decoration: none; /* No underline */
  padding: 10px 15px !important; /* Match tags padding */
  border-radius: 20px !important; /* Pill shape */
  display: inline-block;
}

.copyright-text a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.08) !important; /* More subtle grey pill */
  text-decoration: none; /* No underline on hover */
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 40px 20px !important;
  }

  footer .links {
    flex-direction: column;
    gap: 40px !important;
    margin-bottom: 40px !important;
    align-items: center !important; /* Mobile: center links */
    text-align: center !important;
  }

  footer .links .link-container {
    align-items: center !important; /* Mobile: center link containers */
    text-align: center !important;
    width: 100% !important; /* Full width for centering */
  }

  footer .links .link-container ul {
    align-items: center !important; /* Mobile: center list items */
  }

  footer .links .link-container ul li {
    text-align: center !important; /* Mobile: center list items */
  }

  footer .social-links {
    justify-content: center !important; /* Mobile: center social links */
    border: none;
    padding-bottom: 0;
    margin-bottom: 30px !important;
  }

  footer .brand {
    flex-direction: column;
    align-items: center !important; /* Mobile: center brand */
    gap: 20px !important;
    text-align: center !important;
  }

  footer .brand span {
    text-align: center !important; /* Mobile: center copyright */
  }
}

