/**
 * Footer
 * Dark theme with subtle purple tint
 * Asset Injector — global (appears on all pages)
 */

/**
 * Footer base
 */
footer,
.site-footer {
  background-color: #0a0010;
}

.site-footer .block {
  border: 0 !important;
}

/**
 * Footer wrapper
 * Reduced padding top and bottom
 */
.site-footer {
  padding: 30px 0 20px;
  background-image:
    linear-gradient(rgba(20, 0, 40, 0.85), rgba(10, 0, 20, 0.95)),
    url('/sites/default/files/2025-04/footer-background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/**
 * Footer top region
 * Max width added to contain elements
 */
.site-footer .region-footer-top-full {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/**
 * Footer logo — left
 */
.site-footer #block-weloveskam-customfooterlogo {
  flex: 0 0 auto;
  width: auto;
  padding: 0;
}

.site-footer #block-weloveskam-customfooterlogo img {
  max-width: 160px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.site-footer #block-weloveskam-customfooterlogo img:hover {
  opacity: 1;
}

/**
 * Social media links — centre
 */
.site-footer #block-weloveskam-customfootersocialmedialinks {
  flex: 1 1 auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.site-footer #block-weloveskam-customfootersocialmedialinks .content {
  margin: 0;
  padding: 0;
}

.site-footer .social-link-field.horizontal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-footer .social-link-field.horizontal li {
  display: inline-block;
  margin: 0;
}

.site-footer #block-weloveskam-customfootersocialmedialinks .content a:link,
.site-footer #block-weloveskam-customfootersocialmedialinks .content a:visited,
.site-footer #block-weloveskam-customfootersocialmedialinks .content a:active {
  color: #c084fc;
  font-size: 1.35em;
  border: 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.site-footer #block-weloveskam-customfootersocialmedialinks .content a:hover {
  color: #ede9fe;
  border: 0;
  text-shadow:
    0 0 8px rgba(192, 132, 252, 1),
    0 0 20px rgba(168, 85, 247, 0.7),
    0 0 40px rgba(168, 85, 247, 0.4);
}

/**
 * Footer navigation — right
 */
.site-footer #block-weloveskam-footernavigation {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  margin: 0;
}

.site-footer #block-weloveskam-footernavigation .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

footer #block-weloveskam-footernavigation ul.nav a:link,
footer #block-weloveskam-footernavigation ul.nav a:visited,
footer #block-weloveskam-footernavigation ul.nav a:active {
  color: #c084fc;
  font-size: 1em;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.4);
}

footer #block-weloveskam-footernavigation ul.nav a:hover {
  color: #ede9fe;
  text-shadow:
    0 0 8px rgba(192, 132, 252, 1),
    0 0 20px rgba(168, 85, 247, 0.7),
    0 0 40px rgba(168, 85, 247, 0.4);
}

/**
 * Copyright notice
 * Larger text, more readable linked text
 */
 
 .site-footer #block-weloveskam-customfootercopyrightnotice,
.site-footer #block-weloveskam-customfootercopyrightnotice .content,
.site-footer #block-weloveskam-customfootercopyrightnotice .field__item,
.site-footer #block-weloveskam-customfootercopyrightnotice p {
  text-align: center !important;
  width: 100%;
}
 
footer #block-weloveskam-customfootercopyrightnotice,
footer #block-weloveskam-customfootercopyrightnotice a:link,
footer #block-weloveskam-customfootercopyrightnotice a:visited {
  color: #6b21a8;
  font-size: 0.85em;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
}

footer #block-weloveskam-customfootercopyrightnotice a:link,
footer #block-weloveskam-customfootercopyrightnotice a:visited {
  color: #c084fc;
}

footer #block-weloveskam-customfootercopyrightnotice a:hover {
  color: #ede9fe;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

/**
 * Footer below
 */
.site-footer__below {
  margin: 0 auto;
  max-width: 1600px;
}

/**
 * Mobile adjustments
 */
@media (max-width: 768px) {
  .site-footer .region-footer-top-full {
    flex-direction: column;
    align-items: center;
  }

  .site-footer #block-weloveskam-customfooterlogo {
    display: flex;
    justify-content: center;
  }

  .site-footer #block-weloveskam-footernavigation {
    align-items: center;
  }

  .site-footer #block-weloveskam-footernavigation .nav {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .site-footer #block-weloveskam-customfootercopyrightnotice {
    text-align: center;
  }
}