/* --- Modernized Footer Styles for Zyra Beauty --- */

.footer {
  width: 100%;
  background-color: #fcfcfc; /* Clean, airy background */
  color: var(--text-dark);
  padding: 5rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
  font-family: inherit;
}

.footer-grid {
  display: grid;
  /* 3 columns: Brand takes up slightly more space, Shop and Support share the rest */
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 1px;
}

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

.footer-brand p {
  max-width: 340px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

/* Contact & Links Lists */
.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li,
.footer-links li {
  display: flex;
  align-items: center;
}

.footer-contact a,
.footer-links a {
  color: var(--text-light);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* Add a sleek hover animation (glides slightly to the right) */
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Section Headers */
.footer-section h4 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0 0 1.5rem 0;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Social Icon */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid rgba(212, 163, 115, 0.4);
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 163, 115, 0.25);
  border-color: var(--primary-color);
}

/* Footer Bottom Bar */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-tagline {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.copyright {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Payment Badge Styling */
.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-meta > span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.payment-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.payment-icons i {
  color: #2e7d32; /* A subtle green to represent cash/success */
  font-size: 1.2rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-meta {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
}