/* ═══════════════════════════════════════════════════
   AL EHDA — FOOTER STYLES
   File: /assets/css/footer.css
   ═══════════════════════════════════════════════════ */

/* ── PRE-FOOTER NEWSLETTER SECTION ────────────────── */
.ae-prefooter {
  background: linear-gradient(135deg, #1B1F3B 0%, #0F1229 100%);
  padding: var(--ae-sp-16) 0;
  border-top: 3px solid var(--ae-accent);
  position: relative;
  overflow: hidden;
}
.ae-prefooter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.ae-prefooter__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ae-sp-12);
  flex-wrap: wrap;
}
.ae-prefooter__text {
  flex: 1;
  min-width: 260px;
}
.ae-prefooter__title {
  color: var(--ae-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--ae-sp-3);
}
.ae-prefooter__text p {
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* Newsletter form */
.ae-newsletter-form {
  flex: 0 0 420px;
  max-width: 100%;
}
.ae-newsletter-form__group {
  display: flex;
  gap: var(--ae-sp-2);
}
.ae-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--ae-r-md);
  padding: 0.75rem 1rem;
  color: var(--ae-white);
  font-family: var(--ae-font-body);
  font-size: var(--ae-text-base);
  outline: none;
  transition: border-color var(--ae-fast);
}
.ae-newsletter-input::placeholder { color: rgba(255,255,255,0.40); }
.ae-newsletter-input:focus { border-color: var(--ae-accent); }
.ae-newsletter-form__disclaimer {
  margin-top: var(--ae-sp-2);
  font-size: var(--ae-text-xs);
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}
.ae-newsletter-form__disclaimer a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}

/* ── MAIN FOOTER ───────────────────────────────────── */
.ae-footer {
  background: var(--ae-primary-dark);
  color: rgba(255,255,255,0.75);
}
.ae-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--ae-sp-10);
  padding: var(--ae-sp-16) 0 var(--ae-sp-10);
}

/* Brand column */
.ae-logo-text--footer {
  margin-bottom: var(--ae-sp-5);
  display: inline-flex;
}
.ae-logo-text--footer .ae-logo-text__al,
.ae-logo-text--footer .ae-logo-text__ehda { font-size: 1.8rem; }
.ae-footer__brand-desc {
  font-size: var(--ae-text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.60);
  margin-bottom: var(--ae-sp-6);
  margin-top: 0;
}
.ae-footer__social {
  display: flex;
  gap: var(--ae-sp-2);
  flex-wrap: wrap;
}

/* Column headings */
.ae-footer__col-title {
  font-family: var(--ae-font-heading);
  font-size: var(--ae-text-base);
  font-weight: var(--ae-weight-semi);
  color: var(--ae-accent);
  margin-bottom: var(--ae-sp-5);
  padding-bottom: var(--ae-sp-3);
  border-bottom: 1px solid rgba(201,168,76,0.20);
}

/* Footer links */
.ae-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ae-sp-3);
}
.ae-footer__links a {
  display: flex;
  align-items: center;
  gap: var(--ae-sp-2);
  font-size: var(--ae-text-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all var(--ae-fast);
}
.ae-footer__links a::before {
  content: '→';
  font-size: 11px;
  color: var(--ae-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--ae-fast);
}
.ae-footer__links a:hover { color: var(--ae-white); padding-left: var(--ae-sp-2); }
.ae-footer__links a:hover::before { opacity: 1; transform: translateX(0); }
.ae-footer__cat-count { font-size: var(--ae-text-xs); color: rgba(255,255,255,0.35); }

/* Contact list */
.ae-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ae-sp-4);
}
.ae-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--ae-sp-3);
  font-size: var(--ae-text-sm);
  color: rgba(255,255,255,0.65);
}
.ae-footer__contact svg {
  flex-shrink: 0;
  color: var(--ae-accent);
  margin-top: 2px;
}
.ae-footer__contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--ae-fast);
}
.ae-footer__contact a:hover { color: var(--ae-accent); }

/* Payment row */
.ae-footer__payment {
  display: flex;
  align-items: center;
  gap: var(--ae-sp-3);
  margin-top: var(--ae-sp-5);
  padding-top: var(--ae-sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ae-footer__payment-label {
  font-size: var(--ae-text-xs);
  color: rgba(255,255,255,0.45);
}

/* bKash badge */
.ae-bkash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227,17,86,0.15);
  border: 1px solid rgba(227,17,86,0.30);
  color: #ff6b9d;
  font-size: var(--ae-text-xs);
  font-weight: var(--ae-weight-bold);
  padding: 4px 10px;
  border-radius: var(--ae-r-full);
  letter-spacing: 0.04em;
}
.ae-bkash-badge__dot {
  width: 7px; height: 7px;
  background: #e31156;
  border-radius: 50%;
  animation: ae-pulse 2s infinite;
}
@keyframes ae-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── FOOTER BOTTOM BAR ─────────────────────────────── */
.ae-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--ae-sp-6) 0;
}
.ae-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ae-sp-6);
  flex-wrap: wrap;
}
.ae-footer__copyright {
  font-size: var(--ae-text-sm);
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.ae-footer__copyright a {
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color var(--ae-fast);
}
.ae-footer__copyright a:hover { color: var(--ae-accent); }
.ae-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--ae-sp-5);
  flex-wrap: wrap;
}
.ae-footer__legal a {
  font-size: var(--ae-text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--ae-fast);
}
.ae-footer__legal a:hover { color: var(--ae-accent); }

/* Main content min-height */
.ae-main { min-height: 60vh; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .ae-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--ae-sp-8); }
  .ae-footer__brand { grid-column: 1 / -1; }
  .ae-prefooter__inner { flex-direction: column; }
  .ae-newsletter-form { flex: 0 0 100%; }
}
@media (max-width: 640px) {
  .ae-footer__grid {
    grid-template-columns: 1fr;
    padding: var(--ae-sp-10) 0 var(--ae-sp-8);
  }
  .ae-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .ae-newsletter-form__group { flex-direction: column; }
  .ae-footer__legal { justify-content: center; }
}
