/* ============================================================
   ZIKOMO SAFARI — SHARED FOOTER STYLES
   Used by footer.php across all pages.
   ============================================================ */

/* --- Footer Base --- */
.site-footer {
  background-color: #2c3325;
  color: #dddddd;
  padding: 50px 20px 30px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

#footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* --- 4-Column Grid --- */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

/* --- Column Headings --- */
.footer-col h4 {
  color: #fc9935;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 700;
}

/* --- Column Lists --- */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #dddddd;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fc9935;
  padding-left: 5px;
}

/* --- Column Paragraphs --- */
.footer-col p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 6px;
}

/* --- Footer Action Buttons --- */
.footer-action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.footer-action-btns .btn-primary,
.footer-action-btns .btn-secondary {
  width: 100%;
  min-width: unset;
}

/* Footer-scoped button styles (in case page doesn't load main CSS) */
.footer-action-btns .btn-primary {
  background-color: #fc9935;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.footer-action-btns .btn-primary:hover {
  background-color: #e08224;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(252, 153, 53, 0.35);
}

.footer-action-btns .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.footer-action-btns .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
}

/* --- Newsletter Form --- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: #aaaaaa;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #fc9935;
}

.newsletter-form .btn-primary {
  background-color: #fc9935;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.newsletter-form .btn-primary:hover {
  background-color: #e08224;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(252, 153, 53, 0.35);
}

/* --- Google Earth Link Card --- */
.footer-earth-card {
  margin-top: 10px;
}

.earth-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.earth-link-btn:hover {
  background-color: #2a00ff;
  border-color: #2a00ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.earth-link-btn .earth-icon {
  flex-shrink: 0;
  fill: currentColor;
}

/* --- Footer Bottom Bar --- */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: #aaaaaa;
  text-align: center;
  margin: 0;
}

/* --- Social Icons --- */
.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  color: #ffffff;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: #fc9935;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Back to Top --- */
.back-to-top {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.back-to-top:hover {
  background: #fc9935;
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-action-btns .btn-primary,
  .footer-action-btns .btn-secondary {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
  }
}
/* ===== NEWSLETTER FEEDBACK MESSAGE ===== */
.newsletter-feedback {
  margin-top: 10px;
  font-size: 0.78rem;
  min-height: 1.2em;
  text-align: left;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  line-height: 1.4;
}
.newsletter-feedback.show { opacity: 1; }
.newsletter-feedback.success { color: #8fe38f; }
.newsletter-feedback.error   { color: #ff9b9b; }

/* Disabled button state during submit */
.newsletter-form .btn-primary[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}