/* ══════════════════════════════════════════════════════
   RETRO-FUTURISTIC FOOTER — GLOBAL
   Uses shared variables from retro-theme.css (--rt-*).
   ══════════════════════════════════════════════════════ */

/* ── Upper Footer (nav links columns) ────────────── */
footer {
  background: var(--rt-deep) !important;
  border-top: 1px solid var(--rt-neon-faint);
  position: relative;
  overflow: hidden;
}

/* Grid texture overlay */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 17, 80, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 17, 80, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

footer > .container {
  position: relative;
  z-index: 1;
}

/* Section headings — display font + brand neon */
footer .ftr-nav h6 {
  font-family: var(--rt-font-display) !important;
  font-size: 11px !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rt-neon) !important;
  padding-bottom: 18px !important;
  margin-bottom: 6px;
  position: relative;
}

/* Neon underline */
footer .ftr-nav h6::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--rt-neon), var(--rt-neon-light));
  box-shadow: 0 0 8px var(--rt-neon-soft);
}

/* Nav links — monospace with neon hover */
footer .ftr-nav ul li a {
  font-family: var(--rt-font-mono) !important;
  font-size: 12px !important;
  color: var(--rt-text-dim) !important;
  letter-spacing: 0.3px;
  transition: color 0.25s ease, text-shadow 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
  position: relative;
}

footer .ftr-nav ul li a:hover {
  color: var(--rt-neon-light) !important;
  text-shadow: 0 0 8px var(--rt-neon-soft);
  padding-left: 10px;
  text-decoration: none;
}

/* Dash that slides in on hover */
footer .ftr-nav ul li a::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--rt-neon);
  transition: width 0.25s ease;
  transform: translateY(-50%);
}

footer .ftr-nav ul li a:hover::before {
  width: 6px;
}

footer .ftr-nav ul li {
  margin-bottom: 0.5rem !important;
}

/* ── Footer Section (contact, logo, socials, subscribe) ── */
.footer-section {
  background: var(--rt-void) !important;
  position: relative;
  overflow: hidden;
}

/* Kill the default decorative ::after */
.footer-section::after {
  display: none !important;
}

/* Horizontal divider glow at top */
.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rt-neon), transparent);
  opacity: 0.2;
  z-index: 1;
}

/* ── Contact CTA Row ──────────────────────────────── */
.footer-cta {
  border-bottom: 1px solid var(--rt-neon-faint) !important;
}

.single-cta i {
  color: var(--rt-neon) !important;
  text-shadow: 0 0 10px var(--rt-neon-soft);
  transition: text-shadow 0.3s ease;
}

.cta-text h4 {
  font-family: var(--rt-font-display) !important;
  font-size: 11px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-text-bright) !important;
}

.cta-text span a {
  font-family: var(--rt-font-mono) !important;
  font-size: 13px !important;
  color: var(--rt-text-dim) !important;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.cta-text span a:hover {
  color: var(--rt-neon-light) !important;
  text-shadow: 0 0 6px var(--rt-neon-soft);
  text-decoration: none;
}

/* ── Footer Logo ──────────────────────────────────── */
.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-text p {
  font-family: var(--rt-font-body) !important;
  font-size: 13px !important;
  color: var(--rt-text-dim) !important;
  line-height: 1.7 !important;
}

/* ── Social Icons ─────────────────────────────────── */
.footer-social-icon h3 {
  font-family: var(--rt-font-display) !important;
  font-size: 11px !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rt-text-bright) !important;
  margin-bottom: 35px !important;
}

.footer-social-icon h3::before {
  background: linear-gradient(90deg, var(--rt-neon), var(--rt-neon-light)) !important;
  box-shadow: 0 0 6px var(--rt-neon-soft);
}

.footer-social-icon a {
  font-family: var(--rt-font-mono) !important;
  font-size: 13px !important;
  color: var(--rt-text-dim) !important;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-social-icon a:hover {
  color: var(--rt-neon-light) !important;
  text-shadow: 0 0 8px var(--rt-neon-soft);
  text-decoration: none;
}

.footer-social-icon i {
  color: var(--rt-neon) !important;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-social-icon a:hover i {
  color: var(--rt-neon-light) !important;
  text-shadow: 0 0 12px var(--rt-neon-glow);
}

/* ── Subscribe Section ────────────────────────────── */
.footer-widget-heading h3 {
  font-family: var(--rt-font-display) !important;
  font-size: 11px !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rt-text-bright) !important;
  margin-bottom: 35px !important;
}

.footer-widget-heading h3::before {
  background: linear-gradient(90deg, var(--rt-neon), var(--rt-neon-light)) !important;
  box-shadow: 0 0 6px var(--rt-neon-soft);
}

.footer-text.mb-25 p {
  font-family: var(--rt-font-body) !important;
  font-size: 13px !important;
  color: var(--rt-text-dim) !important;
}

/* Neon input field */
.subscribe-form input[type="email"],
.subscribe-form input[name="Email"] {
  background: var(--rt-surface) !important;
  border: 1px solid var(--rt-border-neon) !important;
  color: var(--rt-text-bright) !important;
  font-family: var(--rt-font-mono) !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  padding: 14px 60px 14px 20px !important;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input[type="email"]::placeholder,
.subscribe-form input[name="Email"]::placeholder {
  color: var(--rt-text-dim);
  font-family: var(--rt-font-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

.subscribe-form input[type="email"]:focus,
.subscribe-form input[name="Email"]:focus {
  border-color: var(--rt-neon) !important;
  box-shadow: 0 0 15px var(--rt-neon-soft), inset 0 0 15px rgba(212, 17, 80, 0.04);
}

/* Submit button — brand gradient glow */
.subscribe-form button {
  background: linear-gradient(135deg, var(--rt-neon) 0%, var(--rt-neon-light) 100%) !important;
  border: 1px solid var(--rt-neon) !important;
  transition: box-shadow 0.25s ease;
}

.subscribe-form button:hover {
  box-shadow: 0 0 20px var(--rt-neon-glow);
}

.subscribe-form button i {
  color: #fff !important;
}

/* ── CTA Section Override ─────────────────────────── */
.ctawrp {
  background: var(--rt-surface) !important;
  border-top: 1px solid var(--rt-neon-faint);
}

.ctawrp .mainwrp {
  background: transparent !important;
}

.ctawrp .main-heading {
  color: var(--rt-text-bright) !important;
}

.ctawrp .btn-infor,
.ctawrp .btn-infor a {
  color: var(--rt-neon-light) !important;
  transition: text-shadow 0.25s ease;
}

.ctawrp .btn-infor a:hover {
  text-shadow: 0 0 8px var(--rt-neon-soft);
  text-decoration: none;
}

/* ── Bottom Bar (copyright) ──────────────────────── */
.ftr-btm {
  background: var(--rt-void) !important;
  border-top: 1px solid var(--rt-neon-faint);
  padding: 18px 0 12px;
}

.ftr-btm .btmnav p {
  font-family: var(--rt-font-mono) !important;
  font-size: 11px !important;
  color: var(--rt-text-dim) !important;
  letter-spacing: 1px;
}

.ftr-btm .btmnav ul li a {
  font-family: var(--rt-font-mono) !important;
  font-size: 11px !important;
  color: var(--rt-text-dim) !important;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.ftr-btm .btmnav ul li a:hover {
  color: var(--rt-neon-light) !important;
  text-decoration: none;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  footer .ftr-nav h6 {
    font-size: 10px !important;
  }
  footer .ftr-nav ul li a {
    font-size: 11px !important;
  }
  .cta-text h4 {
    font-size: 10px !important;
  }
  .footer-social-icon ul {
    width: 100%;
  }
}
