/* --- Main Footer Layout --- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-heading);
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 350px;
  transition: background-color 0.3s ease;
}

/* --- Left Column Layout --- */
.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes contact info to top, brand to bottom */
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.email-link {
  color: var(--footer-text);
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.email-link:hover {
  color: var(--footer-heading);
  transform: translateY(-3px);
}

.email-link svg {
  width: 24px;
  height: 24px;
}

/* --- Social Icons --- */
.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons a {
  color: var(--footer-text);
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

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

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- Brand Typography --- */
.brand-name {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 60px; /* Backup spacing if flex-between gets cramped */
}

/* --- Right Column: Navigation --- */
.footer-right {
  display: flex;
  align-items: center; /* Vertically centers the nav links in the footer */
  padding-right: 40px; /* Optional: gives a bit of padding from the absolute right edge */
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-nav a {
  color: var(--footer-heading);
  text-decoration: none;
  font-size: 28px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.6; /* Soft fade effect on hover */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
    padding: 60px 30px;
    gap: 60px;
  }
  
  .brand-name {
    font-size: 40px;
  }
  
  .footer-right {
    padding-right: 0;
    align-items: flex-start;
  }

  .footer-nav a {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 20px;
    gap: 40px;
    min-height: auto;
  }

  .brand-name {
    font-size: 32px;
    margin-top: 40px;
  }

  .footer-nav a {
    font-size: 18px;
  }

  .contact-header {
    flex-wrap: wrap;
    gap: 12px;
  }
}