/* ==========================================================================
   FOOTER SECTION (DARK LUXURY)
   ========================================================================== */

.site-footer {
  background-color: #0a0a0a;
  color: var(--color-off-white);
  padding: 6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Column 1: About */
.footer-col-about .footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-col-about .footer-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #a0a0a0;
  max-width: 300px;
}

/* Columns 2 & 3: Links */
.footer-col-links {
  justify-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-contact {
  justify-self: end;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent-warm);
}

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

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

.footer-links a {
  color: #a0a0a0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: '▪';
  color: var(--color-accent-warm);
  position: absolute;
  right: -15px;
  top: 50%;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(-50%) translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent-warm);
  transform: translateX(-15px);
  /* RTL move left */
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Specific overrides for the centered middle column */
.footer-col-links .footer-heading::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.footer-col-links .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-links .footer-links a::before {
  display: none;
}

.footer-col-links .footer-links a:hover {
  transform: translateY(-3px);
}

/* Column 4: Contact */
.footer-col-contact {
  justify-self: end;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-contact .footer-heading::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #a0a0a0;
  line-height: 1.6;
}

.footer-contact-icon {
  color: var(--color-accent-warm);
  margin-left: 1rem;
  /* RTL */
  flex-shrink: 0;
  margin-top: 5px;
  width: 20px;
  text-align: center;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: #888;
  justify-self: end;
}

.footer-bottom-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-warm);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-self: center;
}

.footer-social a {
  color: #888;
  transition: all 0.3s ease;
  display: inline-flex;
  font-size: 1.25rem;
}

.footer-social a:hover {
  color: var(--color-accent-warm);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 4rem 0 0;
  }

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

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

  .footer-social {
    justify-content: center;
  }
}