/* footer.css
   TribeHeritage — footer styles (separate file)
*/

:root{
  --bg:#0f1724;
  --panel: rgba(255,255,255,0.02);
  --muted:#9aa6b2;
  --text:#F7F6F3;
  --accent:#FF6E50;
  --accent-2:#FFDDA8;
  --glass: rgba(255,255,255,0.03);
  --radius:12px;
  --container:1200px;
  --shadow-lg: 0 12px 30px rgba(2,6,23,0.6);
  --gap:18px;
  --transition:220ms cubic-bezier(.2,.9,.2,1);
}

/* Footer base */
.site-footer{
  background: linear-gradient(180deg, rgba(6,10,16,0.85), rgba(6,10,16,0.6));
  border-top:1px solid rgba(255,255,255,0.02);
  padding:42px 0;
  color:var(--muted);
}

.footer-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap:24px;
  align-items:start;
}

/* Column styles */
.footer-brand{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.footer-brand img{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:var(--shadow-lg);
}
.footer-brand .brand-text{
  color:var(--text);
  font-weight:700;
  font-size:16px;
  line-height:1.05;
}
.footer-about{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  max-width:42ch;
}

/* Links column */
.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer-links a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  padding:6px 8px;
  border-radius:8px;
  transition:all var(--transition);
}
.footer-links a:hover{
  color:var(--text);
  background: rgba(255,255,255,0.02);
}

/* Newsletter column */
.footer-newsletter h4{margin:0 0 8px;color:var(--text)}
.newsletter-form{display:flex;gap:8px;align-items:center}
.newsletter-form input[type="email"]{
  flex:1;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color:var(--text);
  outline:none;
}
.newsletter-form input::placeholder{color:rgba(255,255,255,0.6)}
.newsletter-form button{
  padding:10px 14px;
  border-radius:10px;
  border:0;
  font-weight:700;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#07101a;
  cursor:pointer;
  transition:transform var(--transition);
}
.newsletter-form button:hover{transform:translateY(-2px)}
.newsletter-note{font-size:13px;color:var(--muted);margin-top:8px}

/* Contact & socials */
.footer-contact h4{margin:0 0 8px;color:var(--text)}
.contact-list{font-size:14px;color:var(--muted);line-height:1.6}
.social-links{display:flex;gap:8px;margin-top:10px}
.social-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:8px;
  background:rgba(255,255,255,0.02);
  color:var(--muted);
  font-weight:700;
  text-decoration:none;
}
.social-links a:hover{background:linear-gradient(90deg,rgba(255,255,255,0.03),rgba(255,255,255,0.01));color:var(--text)}

/* Bottom row: copyright + small nav */
.footer-bottom{
  margin-top:22px;
  border-top:1px solid rgba(255,255,255,0.02);
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:13px;
}

/* Responsive */
@media (max-width: 980px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:18px}
  .footer-newsletter{order:3}
  .footer-contact{order:4}
}
@media (max-width:640px){
  .footer-inner{grid-template-columns:1fr;gap:14px;padding:0 16px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
  .newsletter-form{flex-direction:column;align-items:stretch}
  .newsletter-form button{width:100%}
}

/* Accessibility: focus states */
.footer-links a:focus,
.social-links a:focus,
.newsletter-form input:focus,
.newsletter-form button:focus{
  outline: 3px solid rgba(255,110,80,0.12);
  outline-offset: 2px;
  box-shadow:0 6px 18px rgba(255,110,80,0.04);
}

/* small helper */
.hidden-on-mobile{display:inline}
@media (max-width:420px){
  .hidden-on-mobile{display:none}
}
