/* ============================================================
   PUNJABI LIBAS — FULL FOOTER STYLES
   Mobile-first: phone → tablet → desktop
   ============================================================ */

/* ── Override Astra footer on homepage template ─────────── */
.page-template-template-homepage .site-footer {
  display: none !important; /* Hide Astra's default footer */
}

/* ── ROOT VARIABLES ─────────────────────────────────────── */
.plf-footer {
  --plf-bg:       #1C0A00;
  --plf-border:   rgba(196,154,60,0.15);
  --plf-gold:     #C49A3C;
  --plf-text:     rgba(255,253,248,0.6);
  --plf-text-hov: rgba(255,253,248,0.95);
  --plf-title:    rgba(255,253,248,0.9);
  font-family: 'DM Sans', sans-serif;
  background: var(--plf-bg);
  color: var(--plf-text);
}

/* ── CONTAINER ──────────────────────────────────────────── */
.plf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── MAIN SECTION ───────────────────────────────────────── */
.plf-main { padding: 48px 0 40px; }

/* ── GRID: mobile = single column ──────────────────────── */
.plf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

/* ── BRAND COLUMN ───────────────────────────────────────── */
.plf-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none !important;
  margin-bottom: 16px;
  gap: 3px;
}
.plf-logo-img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.plf-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: rgba(255,253,248,0.95);
  line-height: 1;
}
.plf-logo-gurmukhi {
  font-family: 'Noto Sans Gurmukhi', sans-serif;
  font-size: 12px;
  color: var(--plf-gold);
  letter-spacing: .06em;
}
.plf-about {
  font-size: 13px;
  line-height: 1.7;
  color: var(--plf-text);
  margin-bottom: 8px;
  max-width: 340px;
}
.plf-about-punjabi {
  font-family: 'Noto Sans Gurmukhi', sans-serif;
  font-size: 12px;
  color: var(--plf-gold);
  margin-bottom: 20px;
  opacity: .8;
}

/* ── SOCIAL ICONS ───────────────────────────────────────── */
.plf-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.plf-social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--plf-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--plf-text) !important;
  text-decoration: none !important;
  transition: all .2s;
  flex-shrink: 0;
}
.plf-social-link svg { width: 16px; height: 16px; }
.plf-social-link:hover {
  border-color: var(--plf-gold);
  color: var(--plf-gold) !important;
  background: rgba(196,154,60,0.08);
}
.plf-whatsapp:hover {
  border-color: #25D366 !important;
  color: #25D366 !important;
  background: rgba(37,211,102,0.08) !important;
}

/* ── LINK COLUMNS ───────────────────────────────────────── */
.plf-col-title {
  font-family: 'Noto Sans Gurmukhi', 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.9);
  margin: 0 0 16px !important;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,151,58,0.3);
}
.plf-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plf-links a {
  font-size: 13px;
  color: var(--plf-text) !important;
  text-decoration: none !important;
  transition: color .2s, padding-left .2s;
  display: block;
  line-height: 1.4;
}
.plf-links a:hover {
  color: var(--plf-text-hov) !important;
  padding-left: 4px;
}

/* ── CONTACT INFO ───────────────────────────────────────── */
.plf-contact { margin-top: 20px; }
.plf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--plf-text);
  line-height: 1.5;
}
.plf-contact-item svg {
  width: 14px; height: 14px;
  color: var(--plf-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── BOTTOM BAR ─────────────────────────────────────────── */
.plf-bottom {
  border-top: 1px solid var(--plf-border);
  padding: 20px 0;
}
.plf-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.plf-copy {
  font-size: 12px;
  color: rgba(255,253,248,0.35);
  margin: 0;
}
.plf-payment {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.plf-pay-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,253,248,0.45);
  border-radius: 4px;
}

/* ── TABLET (≥640px) ─────────────────────────────────────── */
@media (min-width: 640px) {
  .plf-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .plf-brand { grid-column: 1 / -1; } /* Brand full width on tablet */
  .plf-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── DESKTOP (≥1024px) ───────────────────────────────────── */
@media (min-width: 1024px) {
  .plf-main { padding: 72px 0 60px; }
  .plf-container { padding: 0 40px; }
  .plf-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .plf-brand { grid-column: auto; } /* Reset from tablet */
  .plf-about { font-size: 13.5px; }
  .plf-links a { font-size: 13.5px; }
  .plf-bottom { padding: 24px 0; }
  .plf-copy { font-size: 12.5px; }
}

/* ── ACCORDION on mobile (columns collapse) ─────────────── */
@media (max-width: 639px) {
  .plf-col { border-top: 1px solid var(--plf-border); padding-top: 24px; }
  .plf-col-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .plf-col-title::after {
    content: '+';
    font-size: 18px;
    color: var(--plf-gold);
    font-weight: 300;
    transition: transform .3s;
    flex-shrink: 0;
  }
  .plf-col.open .plf-col-title::after { transform: rotate(45deg); }
  .plf-links, .plf-contact { 
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .plf-col.open .plf-links,
  .plf-col.open .plf-contact { max-height: 400px; }
}
