/* ==========================================================================
   SAM'S DELIGHT — REUSABLE FOOTER STYLESHEET
   Includes 4-Column Footer, Certifications Strip, WhatsApp Action & Toast Feedbacks
   ========================================================================== */

/* 1. FOOTER MAIN CONTAINER */
.site-footer {
  background-color: var(--color-primary-dark, #1C0C07);
  color: #FFFFFF;
  padding-top: 80px;
  margin-top: auto;
  border-top: 1px solid rgba(204, 160, 83, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Col 1: Brand Story & Socials */
.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 18px 0 24px;
  max-width: 360px;
}

.footer-logo img {
  height: 52px;
  object-fit: contain;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
}

.social-link:hover {
  background-color: var(--color-gold, #CCA053);
  color: var(--color-primary-dark, #1C0C07);
  border-color: var(--color-gold, #CCA053);
  transform: translateY(-2px);
}

/* Col 2 & 3: Quick Links */
.footer-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-gold, #CCA053);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-gold-light, #E5C890);
  transform: translateX(4px);
}

/* Col 4: Gifting Concierge & Newsletter */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.contact-row i {
  color: var(--color-gold, #CCA053);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

#newsletter-form {
  margin-top: 20px;
  display: flex;
  gap: 6px;
}

#newsletter-form input {
  padding: 10px 14px;
  font-size: 0.8125rem;
  min-width: 0;
  flex: 1;
}

/* 2. CERTIFICATIONS & ACCREDITATIONS BAR */
.footer-certifications {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.cert-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold, #CCA053);
}

.cert-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item i {
  color: var(--color-gold, #CCA053);
}

/* 3. FOOTER BOTTOM & LEGAL */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s);
}

.footer-legal-links a:hover {
  color: var(--color-gold, #CCA053);
}

/* 4. FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* 5. TOAST NOTIFICATIONS FEEDBACK */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2005;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--color-primary-dark, #1C0C07);
  color: #FFFFFF;
  border: 1px solid var(--color-border-gold, rgba(204, 160, 83, 0.35));
  padding: 12px 24px;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  animation: toastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast i {
  color: var(--color-gold, #CCA053);
  font-size: 1.1rem;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6. RESPONSIVE BREAKPOINTS FOR FOOTER */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 60px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-certifications {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cert-badges {
    gap: 8px;
  }
  .cert-item {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}
