/* =========================================
   ULTRA-LUXURY FOOTER CSS (EARTHY THEME)
   ========================================= */

.luxury-footer {
  position: relative;
  background-color: var(--color-bg-base, #FDFBF6);
  color: var(--color-text-primary, #2B1D19);
  font-family: var(--font-body, 'Jost', sans-serif);
  border-top: 1px solid var(--color-border-subtle, rgba(135, 56, 35, 0.15));
  overflow: hidden;
  margin-top: 4rem;
}

/* --- Celestial Watermark --- */
.footer-watermark {
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  color: var(--color-primary, #873823);
  opacity: 0.03;
  animation: cosmicSpin 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Newsletter Section --- */
.footer-newsletter {
  background-color: rgba(135, 56, 35, 0.03); /* Faint brown tint */
  border-bottom: 1px solid var(--color-border-subtle, rgba(135, 56, 35, 0.15));
  padding: 4rem 5%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.8rem;
  color: var(--color-primary, #873823);
  margin-bottom: 1rem;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary, #7A6962);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.newsletter-input {
  flex: 1;
  background: var(--color-bg-surface, #FFFFFF);
  border: 1px solid var(--color-border-strong, rgba(135, 56, 35, 0.4));
  padding: 14px 20px;
  border-radius: var(--radius-sm, 2px);
  color: var(--color-text-primary, #2B1D19);
  font-family: var(--font-body, 'Jost', sans-serif);
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--color-primary, #873823);
  box-shadow: 0 0 10px var(--color-accent-glow, rgba(199, 141, 106, 0.25));
}

.newsletter-btn {
  padding: 14px 32px;
  white-space: nowrap;
}

/* --- Main Footer Grid --- */
.footer-main {
  padding: 5rem 5%;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Brand Column */
.footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.brand-col .brand-name {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.8rem;
  color: var(--color-text-secondary, #7A6962);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.brand-col .brand-adhyatma {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  background: linear-gradient(to right, var(--color-primary-light, #AA4E35), var(--color-primary, #873823));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about {
  font-size: 0.9rem;
  color: var(--color-text-secondary, #7A6962);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 90%;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials .icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-primary, #2B1D19);
  transition: all 0.3s ease;
}

.footer-socials .social-link:hover .icon {
  stroke: var(--color-primary, #873823);
  transform: translateY(-3px);
}

/* Link Columns */
.footer-heading {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.1rem;
  color: var(--color-primary, #873823);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text-secondary, #7A6962);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary, #873823);
  transform: translateX(5px);
}

/* Contact Column */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--color-text-secondary, #7A6962);
  font-size: 0.95rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary, #873823);
  fill: none;
  stroke-width: 1.5;
}

.trust-badges {
  display: flex;
  gap: 1rem;
}

.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border: 1px solid var(--color-border-strong, rgba(135, 56, 35, 0.4));
  padding: 6px 12px;
  border-radius: 30px;
  color: var(--color-primary, #873823);
}

/* --- Footer Bottom --- */
.footer-bottom {
  border-top: 1px solid var(--color-border-subtle, rgba(135, 56, 35, 0.15));
  padding: 1.5rem 5%;
  background-color: rgba(135, 56, 35, 0.02);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.copyright {
  font-size: 0.85rem;
  color: var(--color-text-secondary, #7A6962);
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  font-size: 0.85rem;
  color: var(--color-text-secondary, #7A6962);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--color-primary, #873823);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-newsletter {
    padding: 3rem 5%;
  }

  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-btn {
    width: 100%;
  }

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

  .brand-col .footer-about {
    max-width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}