/* FOOTER STYLES */
.footer {
  background: var(--color-dark-card-bg);
  border-top: 2px solid var(--color-yellow-button);
  margin-top: 3rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4rem 0; /* Increased for better vertical spacing on desktop */
}

/* Logo Section */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem; /* Increased for better separation between logo and columns */
  justify-content: flex-start;
}

.footer__logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.footer__site-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-emerald-green);
  text-shadow: 0 2px 4px rgba(46, 204, 113, 0.3);
}

/* Three Column Grid */
.footer__columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem; /* Increased gap between columns for desktop */
  width: 100%;
}

/* Column Styles */
.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-emerald-green);
  text-shadow: 0 2px 4px rgba(46, 204, 113, 0.3);
  margin-bottom: 1.25rem; /* Increased for better separation between title and text */
  margin-top: 0;
}

.footer__contact-text,
.footer__about-text {
  color: #ccc;
  font-size: var(--fs-base); /* Increased to 16px for better readability on desktop */
  line-height: var(--line-height);
  margin-top: 0;
  text-align: left;
}

/* Abuse Contact Section Styles */
.footer__abuse-contact {
  margin-top: 2rem; /* Top margin to separate from previous text block */
  padding-top: 1.5rem; /* Inner top padding */
  border-top: 1px solid rgba(46, 204, 113, 0.2); /* Separator line for visual separation */
}

.footer__subsection-title {
  font-family: var(--font-heading);
  font-size: var(--fs-md); /* Slightly smaller than main column title for hierarchy */
  font-weight: 600;
  color: var(--color-heading-yellow);
  margin-bottom: 0.75rem;
}

.footer__abuse-text {
  color: #ccc;
  font-size: var(--fs-base); /* Matches main column text */
  line-height: var(--line-height);
}

.footer__abuse-link {
  color: var(--color-heading-yellow) !important; /* Use accent color for link */
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.footer__abuse-link:hover {
  color: var(--color-yellow-hover) !important;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Footer Links */
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer__link {
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.footer__link:hover {
  color: var(--color-emerald-green) !important;
  text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
  font-weight: 800;
}

.footer__separator {
  display: none; /* Hide separators since links are now vertical */
}

/* Copyright Section */
.footer__copyright {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(46, 204, 113, 0.3);
  padding: 1.5rem 0;
}

.footer__copyright .footer__address {
  text-align: center;
  color: #aaa;
  font-size: var(--fs-sm);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer__inner {
    padding: 2rem 0;
    align-items: center;
  }
  
  .footer__logo {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .footer__columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer__column {
    align-items: center;
    text-align: center;
  }

  .footer__contact-text,
  .footer__about-text {
    text-align: center;
    font-size: var(--fs-sm); /* Return to 14px for mobile as requested */
  }

  .footer__abuse-contact {
    margin-top: 1.5rem; /* Smaller margin on mobile */
    padding-top: 1rem; /* Smaller inner padding */
  }

  .footer__subsection-title {
    font-size: var(--fs-base); /* Smaller size on mobile */
  }

  .footer__abuse-text {
    font-size: var(--fs-sm); /* Smaller size on mobile */
  }
  
  .footer__links {
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    padding: 1.5rem 0;
  }
  
  .footer__logo-img {
    width: 50px;
    height: 50px;
  }
  
  .footer__site-name {
    font-size: var(--fs-base);
  }
  
  .footer__column-title {
    font-size: var(--fs-base);
  }
  
  .footer__about-text {
    font-size: 0.8rem;
  }
  
  .footer__copyright .footer__address {
    font-size: 0.75rem;
    padding: 0 1rem;
  }
}