/* ===============================
   Footer (Desktop + Mobile)
   =============================== */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.9);
  color: #ccc;
  padding: 14px 20px;
}

/* --- Footer container layout --- */
.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* --- Left copyright area --- */
.footer-left {
  position: absolute;
  left: 20px;
  font-size: 14px;
  color: #aaa;
  white-space: nowrap;
}

/* --- Centered menu --- */
.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-menu a:hover {
  color: #FFD166;
}

/* ===============================
   Tablet adjustments
   =============================== */
@media (max-width: 1024px) {
  footer {
    padding: 16px 16px;
  }

  .footer-left {
    font-size: 13px;
  }

  .footer-menu a {
    font-size: 16px;
  }
}

/* ===============================
   Mobile layout
   =============================== */
@media (max-width: 768px) {
  footer {
    position: relative;       /* avoid covering content */
    padding: 20px 16px 30px;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left {
    position: static;
    order: 2;
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
  }

  .footer-center {
    order: 1;
  }

  .footer-menu {
    flex-direction: column;
    gap: 12px;
  }

  .footer-menu a {
    font-size: 18px;
  }
}

/* ===============================
   Very small screens
   =============================== */
@media (max-width: 480px) {
  footer {
    padding: 24px 12px 36px;
  }

  .footer-menu a {
    font-size: 16px;
  }

  .footer-left {
    font-size: 12px;
  }
}

