/* ========== FOOTER - SnapBook Style ========== */
/* White background, black text, orange accents */

.footer {
  background: #FFFFFF;
  color: #000000;
  padding: 3rem 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  display: inline-block;
  width: 210px;
  height: 48px;
  background: url('../assets/snapbookblack.png') left center / contain no-repeat;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.85));
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span {
  display: none;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-social-row {
  display: flex;
  gap: 1rem;
}

.footer-social-row a {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social-row a:hover {
  border-color: #FF8C00;
  color: #FF8C00;
}

.footer-social-row svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #FF8C00;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333333;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #FF8C00;
}

.footer-contact-item.location svg {
  color: #FF8C00;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #FF8C00;
}

/* Bottom credit bar */
.footer-credit {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 2rem;
  text-align: center;
}

.footer-credit p {
  margin: 0;
  font-size: 0.95rem;
  color: #333333;
}

.footer-credit a {
  color: #333333;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: #FF8C00;
}

.footer-credit .credit-brand {
  color: #FF8C00;
  font-weight: 600;
}

/* Floating WhatsApp button */
.footer-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  z-index: 998;
}

.footer-chat-btn:hover {
  transform: scale(1.05);
  background: #20bd5a;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.footer-chat-btn svg {
  width: 30px;
  height: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2.5rem 1.25rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    justify-items: center;
  }

  .footer-brand,
  .footer-col {
    width: 100%;
    max-width: 340px;
  }

  .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
    background-position: center;
  }
  
  .footer-brand p {
    max-width: none;
  }

  .footer-social-row {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }
  
  .footer-chat-btn {
    width: 50px;
    height: 50px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: max(16px, env(safe-area-inset-right, 16px));
  }
}

