/*
* This file has been refactored to use the global variables
* defined in style/main.css.
*/

footer {
  background-color: var(--color-brand-dark-blue); /* Refactored */
  color: var(--color-gray-light);                 /* Refactored */
  font-size: 18px;
}

.footerTop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    padding: 5% 10%;
}

.footerTop h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.footerTop ul {
  list-style: none;
  padding: 0;
}

.footerTop ul li {
  margin-bottom: 10px;
}

.footerTop ul li a {
  color: var(--color-gray-light); /* Refactored */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footerTop ul li a:hover {
  color: var(--color-brand-primary); /* Refactored */
}

/* Newsletter */
.footerInput {
  display: flex;
  margin-bottom: 10px;
}

.footerInput input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.footerInput button {
  padding: 10px 20px;
  border: none;
  background: var(--color-brand-primary); /* Refactored */
  color: var(--color-black);             /* Refactored */
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.footerInput button:hover {
  background-color: var(--color-brand-dark); /* Refactored */
  color: var(--color-white);                 /* Refactored */
  transition: all 0.3s ease-in-out;
}

.newsletterText {
  font-size: 12px;
  color: #ccc; /* Note: We could make this a variable too, but it's fine for now */
}

/* Bottom */
.footerBottom {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-gray-dark); /* Refactored */
  padding: 20px;
  background: var(--color-brand-dark);         /* Refactored */
}

.footerBottom .socialMedia a {
  margin-right: 15px;
  color: var(--color-gray-light); /* Refactored */
  text-decoration: none;
  font-size: 14px;
}

.footerBottom .socialMedia a img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 5px;
}

.footerBottom .socialMedia a:hover {
  color: var(--color-brand-primary); /* Refactored */
}

.footerBottom .main {
  text-align: center;
}

.footerBottom img {
  height: 100px;
}