.main-footer {
  background-color: #2c3e50; /* 짙은 배경색 (예: 진한 남색) */
  color: #ecf0f1; /* 밝은 텍스트 색상 */
  padding: 40px 0;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 상단 정렬 */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 하단 구분선 */
  padding-bottom: 30px;
  margin-bottom: 20px;
}

/* --- 회사 상세 정보 --- */
.company-details .footer-logo {
  width: 200px;
}

.company-details p,
.company-details address,
.company-details .contact-info {
  margin-bottom: 8px;
  line-height: 1.6;
}

.company-details a {
  color: #3498db; /* 링크 색상 */
  text-decoration: none;
  transition: color 0.2s;
}

.company-details a:hover {
  color: #ecf0f1;
}

.contact-info span {
  margin-right: 20px;
}

/* --- SNS 및 퀵 링크 --- */
.sns-quick-links {
  display: flex;
  gap: 40px;
}

.sns-quick-links h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ecf0f1;
}

/* SNS 아이콘 스타일링 */
.sns-links a {
  display: inline-block;
  margin-right: 10px;
}

.sns-links img {
  width: 60px;
  height: 60px;
  vertical-align: middle;
}

.sns-links a:hover img {
  opacity: 1;
}

.quick-links a {
  display: block;
  color: #bdc3c7;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.quick-links a:hover {
  color: #3498db;
}

/* --- 하단 저작권 및 약관 --- */
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.policy-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.policy-nav li:last-child {
  margin-left: 20px;
}

.policy-nav a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.2s;
}

.policy-nav a:hover {
  color: #ecf0f1;
}

/* 푸터 powered by valuable people */
.footer-powered {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
}

.footer-powered a {
  color: #bdc3c7;
  text-decoration: underline;
  transition: color 0.2s;
}

/* 모바일 반응형 */
@media (max-width: 1023px) {
  .footer-container {
    flex-direction: column;
  }
  .sns-quick-links {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: unset;
  }
  .copyright {
    padding: unset;
    margin: unset;
  }
  .policy-nav ul {
    margin-top: 10px;
  }
  .footer-powered {
    margin-top: 10px;
  }
}
