@charset "UTF-8";

/**
 * Header & Footer Styles
 * 모든 페이지에서 공통으로 사용하는 헤더와 푸터 스타일
 */

/* CSS Variables */
:root {
    --black: #000000;
    --white: #ffffff;
    --navy: #333F50;
    --darkNavy: #232C38;
    --blue: #0092D5;
    --darkBG: #262626;
    --gray500: #7B7B7B;
    --gray400: #434343;
    --gray300: #C4C4C4;
}

/* Common utilities */
.textHide {
    text-indent: -99999px;
    width: 0;
    height: 0;
    line-height: 0;
    overflow: hidden;
}

.wrapIn {
    max-width: 1200px;
    margin: 0 auto;
}

.wrapIn .inner {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Top Inquiry Bar ===== */
.top-inquiry-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #1B3C5E 0%, #0077B6 60%, #0092D5 100%);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-inquiry-bar__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    justify-content: center;
}

.top-inquiry-bar__text,
.top-inquiry-bar__btn {
    font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

.top-inquiry-bar__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin: 0;
    white-space: nowrap;
}

.top-inquiry-bar__text .mobile-only {
    display: none;
}

.top-inquiry-bar__btn {
    padding: 5px 18px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    box-sizing: border-box;
}

.top-inquiry-bar__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* header를 top-bar 아래로 내림 */
body.has-top-bar .header,
body.has-top-bar .header_beyond {
    top: 44px;
}

/* 서브 페이지 콘텐츠 - 배너 44px만큼 추가 오프셋 */
body.has-top-bar .csTalkBG,
body.has-top-bar .salesBridgeBG,
body.has-top-bar .mTalkeBG,
body.has-top-bar .howToBG,
body.has-top-bar .clientBG,
body.has-top-bar .historyBG,
body.has-top-bar .companyBG,
body.has-top-bar .jobBG,
body.has-top-bar .recruitmentBG,
body.has-top-bar .supportBG,
body.has-top-bar .privacyWrap {
    margin-top: 134px;
}

body.has-top-bar .cultureBG {
    background-position: center 134px;
}

/* Noa.html - 배너 높이만큼 오프셋 */
body.has-top-bar .noaBG {
    padding-top: 44px;
}

/* main.html - 배너 높이만큼 비디오/타이틀 오프셋 */
body.has-top-bar .mainVisual > video {
    height: calc(100vh - 44px);
    margin-top: 44px;
}

body.has-top-bar .mainVisual .wrapTitleBox .titleBox {
    height: calc(100vh - 44px);
}

/* ===== Header Styles ===== */
.header .moMenu_btn { display: none ; cursor: pointer; }
.header_beyond .moMenu_btn { display: none; }

/** header default **/
.header {
    position: fixed;
    width: 100%;
    height: 90px;
    z-index: 100;
    top: 0;
    left: 0;
    transition: all 300ms;
}

.header .boxItem {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .boxItem .menu {
    display: flex;
    gap: 80px;
}

.header .boxItem .aLink {
    display: inline-block;
    position: relative;
}

.header .boxItem .aLink > a {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray500);
    transition: all 0.4s;
}

.header .boxItem .aLink > a:hover {
    color: var(--white);
}

.header .logo {
    display: block;
    width: 124px;
    height: 22px;
    background: url(/images/logo_white.png) no-repeat;
    background-size: 124px 22px;
    cursor: pointer;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.header .blog-link {
    margin-left: 12px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.3s;
}

.header .blog-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--white);
}

/** header Scroll **/
.header_beyond {
    position: fixed;
    width: 100%;
    height: 90px;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eeeeee;
}

.header_beyond .boxItem {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_beyond .boxItem .menu {
    display: flex;
    gap: 80px;
}

.header_beyond .boxItem .aLink {
    display: inline-block;
    position: relative;
}

.header_beyond .boxItem .aLink > a {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray500);
    transition: all 0.4s;
}

.header_beyond .boxItem .aLink > a:hover {
    color: var(--darkNavy);
}

.header_beyond .logo {
    display: block;
    width: 124px;
    height: 22px;
    background: url(https://www.spectra.co.kr/images/logo.png) no-repeat;
    background-size: 124px 22px;
    cursor: pointer;
}

.header_beyond .blog-link {
    margin-left: 12px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid var(--blue);
    border-radius: 20px;
    transition: all 0.3s;
}

.header_beyond .blog-link:hover {
    background: var(--blue);
    color: var(--white);
}

.dropdown-toggle {
    position: relative;
    line-height: 60px;
    height: 60px;
    cursor: pointer;
}

.menu .aLink .dropdown-toggle.active {
    color: var(--darkNavy);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background-color: var(--navy);
    border: none;
    box-shadow: 5px 2px 16px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 170px;
    border-radius: 5px 30px;
    padding: 20px 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 30px;
    text-decoration: none;
    color: var(--gray300);
    transition: all 0.4s;
}

.dropdown-menu a:hover {
    color: var(--white);
}

.aLink:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

.aLink:hover .dropdown-toggle::before,
.dropdown-menu:hover ~ .dropdown-toggle::before {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile menu ===== */
body.move { overflow-y:hidden; }
header.move { left: -300px; }
.all.move { overflow-y: hidden; }

.menuOn .moMenuWrap { margin: 20px; }
.menuOn .moMenuWrap > div {
    display: flex;
    justify-content: space-between;
    height: 33px;
    align-items: center;
    margin-bottom: 15px;
}

.menuOn .moClose_btn {
    width: 25px;
    height: 25px;
    background: url(https://www.spectra.co.kr/images/mobile_menu_close.png) center center no-repeat;
    background-size: 20px 20px;
    cursor: pointer;
}

.menuOn {
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--darkBG);
    z-index: 2000;
    transition: all 300ms;
}

.menuOn span {
    display:block;
    padding: 15px 0 7px 0;
}

.menuOn span > a {
    display: block;
    font-weight: 500;
    font-size: 20px;
    color: var(--white);
    cursor: default;
}

.menuOn li:nth-child(2) > span {
    padding: 30px 0 7px 0;
}

.menuOn li > a {
    display : inline-block;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.4;
    line-height: 40px;
    transition: 0.4s;
}

.menuOn li > a:hover {
    opacity: 0.9;
}

.menuOn li > a dropdown-toggle .active {
    opacity: 0.9;
}

.menuOn .moMenuLogo {
    display: block;
    width: 124px;
    height: 22px;
    background: url(https://www.spectra.co.kr/images/logo_white.png) no-repeat;
    background-size: 124px 22px;
}

.menuOn .mo-blog-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue) !important;
    opacity: 1 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Footer Styles ===== */
footer {
    background: var(--darkBG);
    padding: 50px 0;
    font-size: 14px;
    color: var(--gray300);
    position: relative;
}

.topBtn {
    position: absolute;
    top: 0px;
    right: 20px;
    font-weight: 700;
    cursor: pointer;
}

.footerCopyright {
    font-weight: 300;
    font-size: 13px;
}

.footerMain {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
}

.footerLeft {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 60%;
}

.footerCompany {
    color: var(--white);
    font-size: 16px;
}

.footerContactLine {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footerContactLine p {
    margin: 0;
}

.footerRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footerInquiry {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
    margin-top: 80px;
}

.footerInquiry:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: underline;
}

.footerBottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid var(--gray500);
    padding-top: 15px;
    flex-wrap: wrap;
}

.footerLinks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.footerLinks a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.privacyFooterLink {
    text-decoration: underline !important;
    color: var(--blue) !important;
}

.footerLinks a:hover {
    text-decoration: underline;
    color: var(--blue);
}

.footerLink { padding-bottom: 30px; display: flex; justify-content: space-between; }
.footerLink > div { display: flex; flex-wrap: wrap; gap: 20px; }
.footerLink div > p > a { color:  var(--white); font-weight: 600; }

.footerAddress { color: #c4c4c4;  font-weight: 400; }
.footerAddress > div:nth-child(1) { padding-bottom: 10px; }
.footerAddress > div:nth-child(2) {padding-bottom: 30px; }
.footerAddress > div { display: flex; gap: 20px; }
.footerAddress > div > p > b { font-weight: 600; color: var(--blue); }
.footerAddress > div > p > a { color: #c4c4c4; }

/* ISO Certification */
.iso-certification-footer {
    display: inline-block;
    margin-left: 20px;
}

.iso-certification-footer img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.iso-certification-footer:hover img {
    transform: scale(1.1);
}

/* ===== Responsive Styles ===== */

@media all and (max-width: 767px) {
    .top-inquiry-bar {
        height: 40px;
        padding: 0 12px;
    }

    .top-inquiry-bar__inner {
        gap: 10px;
        padding: 0;
    }

    .top-inquiry-bar__text {
        font-size: 12px;
        white-space: nowrap;
    }

    .top-inquiry-bar__text .desktop-only {
        display: none;
    }

    .top-inquiry-bar__text .mobile-only {
        display: inline;
    }

    .top-inquiry-bar__btn {
        font-size: 11px;
        padding: 3px 12px;
        flex-shrink: 0;
    }

    body.has-top-bar .header,
    body.has-top-bar .header_beyond {
        top: 40px;
    }

    body.has-top-bar .csTalkBG,
    body.has-top-bar .salesBridgeBG,
    body.has-top-bar .mTalkeBG,
    body.has-top-bar .howToBG,
    body.has-top-bar .clientBG,
    body.has-top-bar .historyBG,
    body.has-top-bar .companyBG,
    body.has-top-bar .jobBG,
    body.has-top-bar .recruitmentBG,
    body.has-top-bar .supportBG,
    body.has-top-bar .privacyWrap {
        margin-top: 130px;
    }

    body.has-top-bar .cultureBG {
        background-position: center 130px;
    }

    body.has-top-bar .noaBG {
        padding-top: 60px;
    }

    body.has-top-bar .mainVisual > video {
        height: calc(100vh - 60px);
        margin-top: 60px;
    }

    body.has-top-bar .mainVisual .wrapTitleBox .titleBox {
        height: calc(100vh - 60px);
    }
}

@media all and (max-width:1470px) {
    .second .dropdown-menu {
        left: auto;
        right: 0;
    }
}

@media all and (max-width:1023px) {
    .footerAddress > div { display: inline-block; }
    .footerAddress > div > p { margin-bottom: 10px;}
    .footerAddress > div { display: flex; flex-direction: column; gap: 2px;  }
    .footerAddress > div:nth-child(1) { padding-bottom: 14px; line-height: 20px; }
}

@media all and (max-width:767px) {
    .header,
    .header_beyond  { height: 70px; }
    .header .boxItem,
    .header_beyond .boxItem {height: 70px;}
    .header .boxItem .aLink { display: none; }
    .header .moMenu_btn {
        display: block;
        background: url(https://www.spectra.co.kr/images/mobile_menu_icon_white.png) no-repeat;
        width: 25px;
        height: 19px;
        background-size: 25px 19px;
    }
    .header_beyond .boxItem .aLink { display: none; }
    .header_beyond .moMenu_btn {
        display: block;
        background: url(https://www.spectra.co.kr/images/mobile_menu_icon.png) no-repeat;
        width: 25px;
        height: 19px;
        background-size: 25px 19px;
    }
}

@media screen and (max-width: 768px) {
    .footerMain {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footerLeft {
        max-width: 100%;
    }

    .footerRight {
        align-items: center;
        width: 100%;
    }

    .footerInquiry {
        width: calc(100% - 30px);
        max-width: 100%;
        text-align: center;
        margin: 20px 0 auto;
        display: block;
    }

    .footerBottom {
        flex-direction: column;
        text-align: left;
    }

    .footerLinks {
        align-items: flex-start;
        gap: 10px;
    }

    .footerContactLine {
        flex-direction: column;
    }
}

@media all and (max-width:479px) {
    .footerLink > div { flex-direction: column; }
}
