@charset "UTF-8";

/*───────────────────────────────────────────────────────────
	Footer
───────────────────────────────────────────────────────────*/

.footer { width: 100%; padding: 50px 0; background: #222; } 
.footer .inner { max-width: 1800px; } 

.footer__addr { width: 50%; max-width: 640px; } 
.footer__addr-list { display: flex; flex-wrap: wrap; gap: 10px 20px; } 
.footer__addr-item { display: flex; gap: 0 3px; } 
.footer__addr-item:first-child { width: 100%; } 
.footer__addr-title { flex-shrink: 0; color: #fff; font-size: 15px; } 
.footer__addr-text { color: #aaa; font-size: 15px; font-weight: 400;} 
.footer__bottom { display: flex; justify-content: space-between; padding-top: 20px; margin-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.2); } 
.footer__bottom-inner { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: space-between; } 
.footer__menu { display: flex; } 
.footer__menu-item { display: flex; }
.footer__menu-item:not(:last-child) { position: relative; padding-right: 15px; margin-right: 14px; } 
.footer__menu-item:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: 0; width: 1px; height: 10px; background: rgba(255, 255, 255, 0.2); transform: translateY(-50%); } 
.footer__menu-item .family { margin-right: 10px; }
.footer__menu-item .family select { padding: 4px 20px; border: 1px solid #828282; border-radius: 4px; background: none; color: #828282; font-size: 14px;}
.footer__menu-link { font-family: "Poppins", "Pretendard"; color: #666; font-size: 16px;} 
.footer__copy { margin-top: 20px; color: #666; font-size: 15px;} 


/* 언어 선택 버튼 스타일 */
.lang-switcher { display: inline-block; position: relative; vertical-align: middle;}

.globe-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; cursor: pointer;}
.globe-btn:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.2);}
.globe-icon { width: 20px; height: 20px; color: #aaa; transition: color 0.3s ease;}
.globe-btn:hover .globe-icon { color: #fff;}

.lang-menu { overflow: hidden; display: none; position: absolute; z-index: 100; bottom: 45px; left: 50%; transform: translateX(-50%); min-width: 70px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; background: #333;}
.lang-menu.show { display: block; animation: langFadeIn 0.2s ease;}

@keyframes langFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.lang-item { display: block; padding: 8px 16px; color: #aaa; font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; transition: all 0.2s ease; }
.lang-item:hover { background: rgba(255, 255, 255, 0.1); color: #fff;}
.lang-item.active { background: rgba(255, 255, 255, 0.15); color: #fff;}

.lang-divider { height: 1px; background: rgba(255, 255, 255, 0.2);}


@media (max-width: 1024px) {
	.footer__bottom { flex-direction: column; align-items: flex-start; gap: 40px 0; } 
	.footer__bottom-inner { align-items: flex-start; } 
	.footer__addr { width: 100%; } 
}

@media (max-width: 800px) {
	.footer { padding: 40px 0; } 
	.footer__addr-title { font-size: 13.6363636364px; } 
	.footer__addr-text { font-size: 13.6363636364px; } 
	.footer__menu-link { font-size: 14.5454545455px; } 
	.footer__copy { font-size: 13.6363636364px; } 

  .globe-btn { width: 32px; height: 32px;}
  .globe-icon { width: 18px; height: 18px;}
  .lang-item { padding: 7px 14px; font-size: 13px;}
}

@media (max-width: 640px) {
	.footer__addr { flex-direction: column; gap: 20px 0; } 
	.footer__menu { width: 100%; gap: 8px; flex-wrap: nowrap; align-items: center; } 
	.footer__menu-item { flex: 1 0 0; } 
	.footer__menu-item:not(:last-child) { padding-right: 0; margin-right: 0; } 
	.footer__menu-item:not(:last-child)::after { display: none; } 
	.footer__menu-link { display: flex; align-items: center; justify-content: center; height: 40px; border: none; text-align: center; } 
	.footer__menu-item:first-child:has(.lang-switcher) { flex: none !important; width: auto !important; margin-right: 6px !important;}
  .footer__menu-item:has(.family) { flex: none !important; width: auto !important;}
  .footer__menu-item .family { margin-right: 6px;}
  .footer__menu-item .family select { min-width: 0; width: auto; padding: 4px 8px; font-size: 12px;}
  .footer__menu-link { height: auto; padding: 4px 8px; border: none; font-size: 12px; white-space: nowrap;}

  .globe-btn { width: 32px; height: 32px; border: none; background: transparent;}
  .globe-icon { width: 20px; height: 20px;}
}

@media (max-width: 445px) {
	.footer__addr-title { font-size: 13.0434782609px; } 
	.footer__addr-text { font-size: 13.0434782609px; } 
	.footer__bottom-inner { width: 100%; } 
	.footer__menu { gap: 6px; } 
	.footer__menu-item { flex: none; align-items: center; width: auto; } 
	.footer__menu-link { border: none; font-size: 11px; padding: 4px 6px; } 
	.footer__copy { font-size: 13.0434782609px; }
  .footer__menu-item:first-child:has(.lang-switcher) { margin-right: 4px !important;}
  .footer__menu-item .family select { width: 150px; min-width: 0; padding: 3px 6px; font-size: 11px;}

  .globe-btn { width: 28px; height: 28px; border: none; background: transparent;}
  .globe-icon { width: 18px; height: 18px;}
  .lang-item { padding: 6px 12px; font-size: 11px;}
}






/* Top 버튼
.scroll-to-top { overflow: hidden; visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; z-index: 1000; right: 20px; bottom: -100px; width: 70px; height: 70px; border: none; background: var(--primary-color); color: #fff; scale: 0;opacity: 0; transition-property: visibility, opacity, background-color, box-shadow, transform, scale; transition-duration: 0.3s; } 
.scroll-to-top.show { visibility: visible; bottom: 20px; opacity: 1; scale: 1; } 
.scroll-to-top.footer-bottom { position: absolute; top: -90px; bottom: auto; } 
.scroll-to-top__icon { font-size: 26px; transition: transform 0.3s; } 
.scroll-to-top__text { display: block; margin-top: 5px; font-size: 15px; line-height: 1; } 


@media (min-width: 1025px) {
	.scroll-to-top:hover { background: var(--primary-color); box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); transform: translate3d(-3px, -3px, -3px); } 
}
@media (max-width: 1024px) {
	.scroll-to-top { width: 60px; height: 60px; } 
}
@media (max-width: 800px) {
	.scroll-to-top__icon { font-size: 23.6363636364px; } 
	.scroll-to-top__text { font-size: 13.6363636364px; } 
}
@media (max-width: 640px) {
	.scroll-to-top { width: 50px; height: 50px; } 
	.scroll-to-top.footer-bottom { top: -70px; } 
	.scroll-to-top__text { display: none; } 
}
@media (max-width: 445px) {
	.scroll-to-top__icon { font-size: 20px; } 
	.scroll-to-top__text { font-size: 13.0434782609px; } 
}

 */

