/**
 * FOOTER COMPONENT
 * 
 * Styles for the page footer
 */

/* Footer Section */
.footer {
  background-color: var(--bg-color-alt);
  padding: 3rem 0 1rem;
  position: relative;
  border-top: 1px solid var(--border-color);
}

/* Footer Content */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Footer Logo */
.footer-logo {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.footer-logo-link:hover {
  transform: scale(1.04);
  opacity: 0.95;
}

.footer-logo-image {
  display: block;
  width: auto;
  height: 50px;
  max-width: 190px;
  object-fit: contain;
}

body.dark-theme .footer-logo-link {
  background: #ffffff;
  padding: 0.2rem 0.45rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-link {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.15);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 28px rgba(var(--primary-color-rgb), 0.4);
  border-color: var(--secondary-color);
}

/* SVG Social Icons */
.social-svg-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  transition: all var(--transition-fast);
}

.social-svg-icon.leetcode-icon {
  filter: invert(0.3) brightness(1.1) sepia(0.6) saturate(2) hue-rotate(206deg);
}

.social-link:hover .social-svg-icon.leetcode-icon {
  filter: invert(1);
}

.social-svg-icon.gfg-icon {
  filter: invert(0.3) brightness(1.1) sepia(0.6) saturate(2) hue-rotate(206deg);
}

.social-link:hover .social-svg-icon.gfg-icon {
  filter: invert(1);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-color-light);
}

/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 999;
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.4);
}

.privacy-notice {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-color-light);
  font-size: 0.85rem;
}

@media screen and (max-width: 768px) {
  .footer-logo-image {
    height: 40px;
    max-width: 150px;
  }
}
.privacy-notice a {
  color: var(--primary-color);
  text-decoration: underline;
  margin-left: 0.25em;
}
/* Responsive styles in responsive.css */