/* ======================
   Footer Styles
====================== */
.footer {
  background: var(--footer-bg-night);
  color: var(--text-color-night);
  padding: 60px 0 30px;
  transition: background 0.3s ease, color 0.3s ease;
}

body.day-mode .footer {
  background: var(--footer-bg-day);
  color: var(--text-color-day);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

/* Logo */
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-color-night);
}

body.day-mode .footer-logo span {
  color: var(--primary-color-day);
}

/* Quick Links */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color-night);
}

body.day-mode .footer-links h4,
body.day-mode .footer-contact h4 {
  color: var(--primary-color-day);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-color-night);
  text-decoration: none;
  transition: color 0.3s ease;
}

body.day-mode .footer-links ul li a {
  color: var(--text-color-day);
}

.footer-links ul li a:hover {
  color: var(--secondary-color-night);
}

body.day-mode .footer-links ul li a:hover {
  color: var(--secondary-color-day);
}

/* Contact & Socials */
.footer-contact p {
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--text-color-night);
  text-decoration: none;
  transition: color 0.3s ease;
}

body.day-mode .footer-contact a {
  color: var(--text-color-day);
}

.footer-contact a:hover {
  color: var(--primary-color-night);
}

body.day-mode .footer-contact a:hover {
  color: var(--primary-color-day);
}

/* Social Icons */
.footer-socials {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg-night);
  color: var(--primary-color-night);
  transition: all 0.3s ease;
  font-size: 16px;
}

body.day-mode .footer-socials a {
  background: var(--card-bg-day);
  color: var(--primary-color-day);
}

.footer-socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

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

body.day-mode .footer-bottom {
  border-top: 1px solid var(--border-color-day);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted-night);
}

body.day-mode .footer-bottom p {
  color: var(--text-muted-day);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    min-width: unset;
  }

  .footer-socials {
    justify-content: center;
  }
}
