/* ==========================================================================
   KOUL Theme — Footer Styling
   ========================================================================== */

.site-footer {
  background-color: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.footer-logo img {
  width: 150px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px 80px 40px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo {
  width: 140px;
}

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--grey-1);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 24px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold);
  transition: all 0.3s var(--ease-luxury);
}

.footer-social a:hover {
  border-color: var(--gold);
  background-color: rgba(201, 168, 76, 0.08);
  transform: translateY(-3px);
  color: var(--white);
}

/* Title columns */
.footer-links h4,
.footer-divisions h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.footer-links ul,
.footer-divisions ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a,
.footer-divisions a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--grey-1);
  transition: color 0.3s var(--ease-luxury), transform 0.3s var(--ease-luxury);
  display: inline-block;
}

.footer-links a:hover,
.footer-divisions a:hover {
  color: var(--white);
  transform: translateX(4px);
}

/* Contact Column */
.footer-contact p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--grey-1);
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--grey-1);
  transition: color 0.3s var(--ease-luxury);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Divider & Bottom */
.footer-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.2), transparent);
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 45px;
  height: 45px;
  background-color: #25D366;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
  z-index: 999;
  transition: all 0.3s var(--ease-luxury);
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.wa-tooltip {
  position: absolute;
  right: 54px;
  background-color: var(--dark-2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 8px 16px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s var(--ease-luxury);
  pointer-events: none;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 92px;        /* sits just above WhatsApp button */
  right: 36px;
  width: 45px;
  height: 45px;
  background-color: var(--dark-3);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-luxury);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
  }

  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .scroll-to-top {
    bottom: 80px;
    right: 24px;
    width: 42px;
    height: 42px;
  }

  .wa-tooltip {
    display: none;
  }
}