/* === FOOTER BASE === */
.footer {
  background: linear-gradient(270deg, #30230c 10%, #423b27c1 100%);
  border-top: 2px solid #d4a14a;
  color: #ffffff;
  padding: 3rem 1rem 1rem;
  font-family: "Poppins", sans-serif;
}

/* === FOOTER CONTAINER === */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

/* === LOGO SECTION === */
.logo-section .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

/* === LOGO IMAGE === */
.footer-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 161, 74, 0.4));
  transition: transform 0.3s ease;
}
.footer-logo-img:hover {
  transform: scale(1.05);
}

/* === LOGO TEXT === */
.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  text-align: left;
}

/* === LOGO HEADING === */
.footer-logo {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #ffffff;
  letter-spacing: 1px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer-logo span {
  color: #d4a14a;
}

/* === LOGO SLOGAN (MATCHED TO NAVBAR WIDTH + ANIMATION) === */
.footer-slogan {
  display: block;
  width: 100%;
  text-align: left;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.05rem);
  font-weight: 500;
  color: #d4a14a;
  letter-spacing: 0.8px;
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(5px);
  animation: footerSloganFadeUp 1.2s ease forwards 0.6s;
  white-space: nowrap;
}

@keyframes footerSloganFadeUp {
  0% {
    opacity: 0;
    transform: scaleX(1.07) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scaleX(1.07) translateY(0);
  }
}

/* === HOVER EFFECT === */
.logo-section:hover .footer-logo {
  transform: scale(1.05);
  color: #d4a14a;
}
.logo-section:hover .footer-logo span {
  color: #ffffff;
}
.logo-section:hover .footer-slogan {
  color: #ffffff;
}

/* === QUICK LINKS & CONTACT === */
.quicklinks-section h3,
.contact-section h3 {
  color: #d4a14a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.quicklinks-section ul {
  list-style: none;
}
.quicklinks-section li {
  margin-bottom: 0.5rem;
}
.quicklinks-section a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.quicklinks-section a:hover {
  color: #d4a14a;
}

.contact-section p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #dcdcdc;
}

/* === SOCIAL ICONS === */
.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}
.social-icons a {
  color: #d4a14a;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* === COPYRIGHT === */
.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbbbbb;
}
.footer-bottom span {
  color: #d4a14a;
}
.footer-bottom .white {
  color: #ffffff;
}

/* === MOBILE RESPONSIVE === */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .logo-section .logo-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .footer-logo {
    font-size: 1.4rem;
  }

  .footer-logo-img {
    width: 60px;
    height: 60px;
  }

  .footer-slogan {
    font-size: clamp(0.86rem, 2vw + 0.3rem, 0.95rem);
    text-align: center;
    width: 100%;
    white-space: normal;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}

/* === ACTIVE LINK GLOW IN FOOTER === */
.quicklinks-section a.active {
  color: #d4a14a; /* Gold highlight */
  font-weight: 600;
  text-shadow: 0 0 8px rgba(212, 161, 74, 0.8);
  transition: all 0.3s ease-in-out;
}

/* Optional: pulse animation for active link */
@keyframes footerGoldPulse {
  0% {
    text-shadow: 0 0 6px rgba(212, 161, 74, 0.4);
  }
  50% {
    text-shadow: 0 0 16px rgba(212, 161, 74, 0.9);
  }
  100% {
    text-shadow: 0 0 6px rgba(212, 161, 74, 0.4);
  }
}

.quicklinks-section a.active {
  animation: footerGoldPulse 2s infinite ease-in-out;
}
