/* Footer 테마 스타일 */

/* 1) 기존 Urdan 스타일 (기본) */
.footer-area.footer-theme-simple {
  /* 기본 스타일 유지 */
}

/* 2) 모던한 스타일 - 카드형 디자인 */
.footer-area.footer-theme-modern {
  background: color-mix(in srgb, var(--theme-color-primary) 2%, var(--theme-color-surface, #ffffff));
  padding-top: 60px;
  padding-bottom: 0;
}

/* 전체 Footer를 하나의 카드로 감싸기 */
.footer-area.footer-theme-modern .bg-gray-2 {
  background: var(--theme-color-surface, #ffffff) !important;
  border-radius: 20px;
  padding: 48px 40px 40px 40px;
  margin: 0 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
              0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid color-mix(in srgb, var(--theme-color-primary) 10%, transparent);
  position: relative;
  overflow: hidden;
}

.footer-area.footer-theme-modern .bg-gray-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--theme-color-primary),
    color-mix(in srgb, var(--theme-color-primary) 70%, transparent)
  );
  border-radius: 20px 20px 0 0;
}

.footer-area.footer-theme-modern .container {
  position: relative;
}

.footer-area.footer-theme-modern .footer-top {
  padding-top: 0;
  padding-bottom: 0;
}

/* 위젯 스타일 (카드 효과 제거) */
.footer-area.footer-theme-modern .footer-widget {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  height: 100%;
  position: relative;
  overflow: visible;
}

.footer-area.footer-theme-modern .footer-widget::before {
  display: none;
}

.footer-area.footer-theme-modern .footer-widget:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

/* Footer Title 스타일 */
.footer-area.footer-theme-modern .footer-title {
  color: var(--theme-color-primary);
  font-weight: 700;
  font-size: 18px;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.footer-area.footer-theme-modern .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg,
    var(--theme-color-primary),
    color-mix(in srgb, var(--theme-color-primary) 60%, transparent)
  );
  border-radius: 2px;
}

/* 링크 스타일 */
.footer-area.footer-theme-modern .footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-area.footer-theme-modern .footer-widget ul li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-area.footer-theme-modern .footer-widget ul li:last-child {
  margin-bottom: 0;
}

.footer-area.footer-theme-modern .footer-widget ul li a {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--theme-color-text-strong, #2f3a5e);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-left: 0;
  font-size: 14px;
}

.footer-area.footer-theme-modern .footer-widget ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--theme-color-primary);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-area.footer-theme-modern .footer-widget ul li a:hover {
  color: var(--theme-color-primary);
  padding-left: 0;
  transform: translateX(4px);
}

.footer-area.footer-theme-modern .footer-widget ul li a:hover::before {
  width: 100%;
}

/* About 섹션 스타일 */
.footer-area.footer-theme-modern .footer-about p {
  color: var(--theme-color-text-muted, #666);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-area.footer-theme-modern .footer-logo {
  margin-bottom: 20px;
}

.footer-area.footer-theme-modern .footer-logo img {
  filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--theme-color-primary) 10%, transparent));
  transition: transform 0.3s ease;
}

.footer-area.footer-theme-modern .footer-logo:hover img {
  transform: scale(1.05);
}

/* Contact 정보 스타일 */
.footer-area.footer-theme-modern .footer-widget-margin-2 ul li {
  color: var(--theme-color-text-strong, #2f3a5e);
  font-size: 14px;
  line-height: 1.8;
}

.footer-area.footer-theme-modern .footer-widget-margin-2 ul li span {
  color: var(--theme-color-primary);
  font-weight: 600;
  margin-right: 6px;
}

/* Copyright 영역 */
.footer-area.footer-theme-modern .bg-gray-3 {
  background: var(--copyright-background-color, var(--theme-color-surface, #ffffff)) !important;
  border-top: 1px solid color-mix(in srgb, var(--theme-color-primary) 10%, transparent);
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0;
}

.footer-area.footer-theme-modern .footer-bottom.copyright {
  background: transparent;
}

.footer-area.footer-theme-modern .copyright p {
  color: var(--theme-color-text-muted, #888);
  font-size: 13px;
  margin: 0;
}

/* Payment 이미지 스타일 */
.footer-area.footer-theme-modern .payment-img {
  margin-top: 20px;
}

.footer-area.footer-theme-modern .payment-img img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-area.footer-theme-modern .payment-img:hover img {
  opacity: 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .footer-area.footer-theme-modern .bg-gray-2 {
    margin: 0 10px;
    padding: 32px 24px 28px 24px;
    border-radius: 16px;
  }
}

/* 3) 화려한 스타일 */
.footer-area.footer-theme-vibrant {
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.footer-area.footer-theme-vibrant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 1;
}
.footer-area.footer-theme-vibrant .bg-gray-2 {
  background: linear-gradient(135deg,
    var(--theme-color-primary),
    color-mix(in srgb, var(--theme-color-primary) 85%, transparent)
  ) !important;
  position: relative;
  color: #ffffff;
}
.footer-area.footer-theme-vibrant .bg-gray-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%);
  pointer-events: none;
}
.footer-area.footer-theme-vibrant .bg-gray-3 {
  /* CSS 변수가 설정되어 있으면 단색 사용, 없으면 그라데이션 사용 */
  background: var(--copyright-background-color, linear-gradient(135deg,
    color-mix(in srgb, var(--theme-color-primary) 95%, transparent),
    color-mix(in srgb, var(--theme-color-primary) 90%, transparent)
  )) !important;
  border-top: 2px solid transparent;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.footer-area.footer-theme-vibrant .footer-title {
  color: #ffffff;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.footer-area.footer-theme-vibrant .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}
.footer-area.footer-theme-vibrant .footer-widget ul li {
  color: rgba(255, 255, 255, 0.9);
}
.footer-area.footer-theme-vibrant .footer-widget ul li a {
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  display: inline-block;
}
.footer-area.footer-theme-vibrant .footer-widget ul li a:hover {
  color: #ffffff;
  padding-left: 12px;
  transform: translateX(4px);
}
.footer-area.footer-theme-vibrant .footer-widget ul li a::before {
  content: '▶';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 10px;
}
.footer-area.footer-theme-vibrant .footer-widget ul li a:hover::before {
  opacity: 1;
  left: -12px;
}
.footer-area.footer-theme-vibrant .footer-about p {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}
.footer-area.footer-theme-vibrant .footer-widget-margin-2 ul li span {
  color: rgba(255, 255, 255, 0.8);
}
.footer-area.footer-theme-vibrant .footer-logo img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}
.footer-area.footer-theme-vibrant .footer-logo:hover img {
  transform: scale(1.05);
}
.footer-area.footer-theme-vibrant .copyright p {
  color: rgba(255, 255, 255, 0.9);
}

