/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
  background: linear-gradient(180deg, #1a1a1c 0%, #0f0f10 100%);
  color: var(--color-text);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture overlay — matches hero section */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.footer__wrapper {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-md);
}

.footer__content {
  margin-bottom: var(--space-lg);
}

.footer__blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media screen and (min-width: 750px) {
  .footer__blocks {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
  }
}

.footer__block {
  min-width: 0;
}

.footer__heading {
  font-family: 'Permanent Marker', var(--font-heading-family);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-shadow:
    2px 2px 0px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(227, 252, 2, 0.3);
}

.footer__text {
  font-size: 1.4rem;
  line-height: 1.6;
  opacity: 0.65;
}

.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__menu-item {
  margin-bottom: 0.8rem;
}

.footer__menu-link {
  font-size: 1.4rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer__menu-link:hover {
  opacity: 1;
}

/* Newsletter */
.footer__newsletter {
  margin-top: 1.5rem;
}

.newsletter__form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

@media screen and (max-width: 479px) {
  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__submit {
    width: 100%;
  }
}

.newsletter__input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  background-color: rgba(var(--color-text), 0.05);
  border: 1px solid rgba(var(--color-text), 0.2);
  border-radius: var(--border-radius);
  color: var(--color-text);
}

.newsletter__input::placeholder {
  color: rgba(var(--color-text), 0.5);
}

.newsletter__submit {
  padding: 1rem 2rem;
  white-space: nowrap;
}

.newsletter__success {
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  background-color: rgba(227, 252, 2, 0.08); /* neon yellow tint */
  border-radius: var(--border-radius);
}

/* Social Media */
.footer__social {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 1.5rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.footer__social a:hover {
  background-color: rgba(255, 107, 157, 0.15);
  border-color: var(--color-pink);
}

.footer__social a:hover svg {
  color: var(--color-pink);
  filter: drop-shadow(0 0 6px rgba(255, 107, 157, 0.7));
}

.footer__social svg {
  width: 2rem;
  height: 2rem;
  transition: color 0.2s ease, filter 0.2s ease;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--color-text), 0.1);
}

@media screen and (min-width: 750px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copyright {
  font-size: 1.3rem;
  opacity: 0.7;
}

.footer__copyright p {
  margin: 0;
}

/* Payment Icons */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.payment-icon {
  display: flex;
  align-items: center;
  height: 2.4rem;
}

.payment-icon .icon {
  height: 100%;
  width: auto;
}

/* Newsletter Consent Checkbox — UK GDPR */
.newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1rem;
  cursor: pointer;
}

.newsletter__consent input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.newsletter__consent-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.newsletter__consent-text a {
  color: var(--color-cyan, #00D8D6);
  text-underline-offset: 2px;
  text-decoration: underline;
}

.newsletter__consent-text a:hover {
  color: #fff;
}

/* Business Information — EC Directive Regulations 2002 */
.footer__business-info {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1.5rem;
}

.footer__business-info p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  margin: 0;
}

.footer__business-info a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__business-info a:hover {
  color: #fff;
}
