:root {
  --verde: #6bc048;
  --albastru: #00a1d9;
  --detaliu: #7f97aa;
  --background-footer: #f8f8f8;
  --border-footer: #ddd;
  --text-footer: #000;
}

footer {
  background-color: var(--background-footer);
  padding: 30px 20px;
  font-family: Arial, sans-serif;
  color: var(--text-footer);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.footer-logo img {
  height: 50px;
  display: block;
  margin-bottom: 10px;
}

.footer-contact {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: var(--detaliu);
  font-size: 16px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  color: var(--albastru);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-nav {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.footer-nav a {
  color: var(--verde);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--albastru);
  text-decoration: underline;
}

.footer-column {
  flex: 1 1 300px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-column a img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--border-footer);
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-footer);
  justify-content: space-between;
}

.footer-bottom .footer-img {
  height: 40px;
  flex-shrink: 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-footer);
}

.footer-bottom a {
  color: var(--albastru);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-nav,
  .footer-column {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}
