/*------------------------------------------------------
· ICTK Ver 1.0
· Type : layout.css
· Author : Albatrosss Pictures Kim Hyun Gyu
· Data : 2026.02.23
· Copyright @ 2026 ICTK all rights reserved
---------------------------------------------------------
· SUMMARY:
0) Responsive Area
1) Header
2) Footer
3) CTA (공통 모듈)
---------------------------------------------------------*/

@charset "utf-8";

/* #################################### 00.Intro Loading #################################### */
.ictk-intro {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--base-color-black);
}

.ictk-intro-grid {
    display: flex;
    gap: clamp(0.375rem, 0.5vw, 0.625rem);
}

.ictk-intro-cell {
    width: clamp(0.625rem, 1vw, 1rem);
    height: clamp(0.625rem, 1vw, 1rem);
    background: rgba(255, 255, 255, 0.08);
}


/* #################################### 01.Header #################################### */
.ictk-header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, opacity 0.4s ease;
}

.ictk-header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ictk-header-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: var(--contents-wrap-width);
    height: 100%;
    margin: 0 auto;
}

.ictk-header-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.ictk-header-logo img {
    height: var(--header-logo-height);
    width: auto;
}

.ictk-header-right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(0.875rem, 1.25vw, 1.5rem);
}

.ictk-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    cursor: pointer;
    color: var(--base-color-white);
}

.ictk-header-globe {
    display: flex;
}

.ictk-header-globe img {
    width: var(--header-icon-size);
    height: var(--header-icon-size);
    filter: invert(1);
}

.ictk-header-search img {
    width: var(--header-icon-size);
    height: var(--header-icon-size);
    filter: invert(1);
}

/* Language Modal - Liquid Glass Style */
.ictk-lang-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ictk-lang-modal.active {
    opacity: 1;
    visibility: visible;
}

.ictk-lang-modal-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ictk-lang-modal.active .ictk-lang-modal-backdrop {
    opacity: 1;
}

.ictk-lang-modal-dialog {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: clamp(2.5rem, 3.125vw, 3.75rem) clamp(2rem, 3.6458vw, 4.375rem);
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.ictk-lang-modal.active .ictk-lang-modal-dialog {
    transform: translateY(0) scale(1);
}

.ictk-lang-modal-close {
    position: absolute;
    top: clamp(0.75rem, 1vw, 1.25rem);
    right: clamp(0.75rem, 1vw, 1.25rem);
    background: none;
    border: none;
    width: clamp(2.5rem, 3vw, 3.5rem);
    height: clamp(2.5rem, 3vw, 3.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(80, 80, 80, 0.8);
    transition: color 0.2s ease;
    padding: 0;
}

@media (max-width: 479px) {
    .ictk-lang-modal-close {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        background: var(--base-color-darkGrey);
        padding: 0.875rem;
    }

    .ictk-lang-modal-close::after {
        content: '닫기';
        font-size: 0.875rem;
        color: #fff;
    }

    .ictk-lang-modal-close svg {
        display: none;
    }

    .ictk-lang-modal-dialog {
        padding-top: clamp(5.5rem, 8vw, 7rem);
    }
}

.ictk-lang-modal-close:hover {
    color: var(--point-color);
}

.ictk-lang-modal-close svg {
    width: 100%;
    height: 100%;
    stroke-width: 0.5;
}

.ictk-lang-modal-label {
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: clamp(1.25rem, 1.5625vw, 1.875rem);
}

.ictk-lang-modal-options {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1vw, 1.25rem);
    width: 100%;
}

@media (min-width: 480px) {
    .ictk-lang-modal-options {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }
}

.ictk-lang-modal-option {
    min-height: 3.5rem;
    width: 100%;
}

@media (min-width: 480px) {
    .ictk-lang-modal-option {
        width: auto;
        min-width: 8rem;
    }
}

.ictk-lang-modal-option,
.ictk-lang-modal-option:link,
.ictk-lang-modal-option:visited {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.375rem, 0.5vw, 0.625rem);
    padding: clamp(1.25rem, 1.5vw, 1.875rem) clamp(2rem, 2.5vw, 3rem);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    opacity: 0.3;
}

.ictk-lang-modal-option:hover {
    opacity: 1;
}

.ictk-lang-modal-option.active,
.ictk-lang-modal-option.active:link,
.ictk-lang-modal-option.active:visited {
    background: var(--base-color-darkGrey);
    opacity: 1;
}

.ictk-lang-modal-option.active .ictk-lang-modal-option-code {
    color: var(--point-color);
}

.ictk-lang-modal-option.active .ictk-lang-modal-option-name {
    color: #ccc;
}

.ictk-lang-modal-option-code {
    font-size: clamp(1.25rem, 1.5vw, 1.875rem);
    font-weight: 700;
    color: #222;
}

.ictk-lang-modal-option-name {
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    color: #333;
}

.ictk-header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: var(--header-hamburger-gap);
    width: var(--header-hamburger-width);
    height: var(--header-icon-size);
}

.ictk-header-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--base-color-white);
    transition: all 0.3s ease;
}

.ictk-header-hamburger span:last-child {
    width: 60%;
}


/* #################################### 02.Footer #################################### */
.ictk-footer {
    width: 100%;
    background: var(--footer-bg);
}

.ictk-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(1.875rem, 3.125vw, 3.75rem);
    width: var(--footer-wrap-width);
    margin: 0 auto;
    padding: var(--footer-padding-y) 0;
}

.ictk-footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.75rem, 1.0417vw, 1.25rem);
}

.ictk-footer-logo img {
    height: var(--footer-logo-height);
    width: auto;
}

.ictk-footer-sns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(0.5rem, 0.7292vw, 0.875rem);
}

.ictk-footer-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ictk-footer-sns img {
    width: var(--footer-sns-size);
    height: auto;
}

.ictk-footer-sns-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--footer-sns-size);
    height: var(--footer-sns-size);
    font-size: calc(var(--footer-sns-size) * 0.65);
    font-weight: 900;
    color: var(--base-color-darkGrey);
    background: var(--point-color);
    clip-path: circle(50%);
    line-height: 1;
    text-indent: 0.5px;
    padding-top: 0.1em;
}

.ictk-footer-center {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(1rem, 1.5625vw, 1.875rem);
}

.ictk-footer-info {
    font-style: normal;
}

.ictk-footer-info p {
    font-size: var(--footer-font-size);
    font-weight: 300;
    color: var(--base-color-lightGrey);
    line-height: 1.8;
}

.ictk-footer-copyright p {
    font-size: var(--footer-font-size);
    font-weight: 400;
    color: var(--base-color-lightGrey);
}

.ictk-footer-copyright span {
    color: var(--footer-point-color);
    font-weight: 600;
}

.ictk-footer-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.ictk-footer-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--footer-mail-size) * 1.35);
    height: var(--footer-mail-size);
    background: var(--footer-point-color);
}

.ictk-footer-mail img {
    width: 28%;
    height: auto;
}


/* #################################### 03.GNB Full Navigation #################################### */
.ictk-gnb-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
}

.ictk-gnb-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
}

.ictk-gnb-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ictk-gnb-bg-screen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--gnb-bg);
    opacity: 0.3;
}

.ictk-gnb-logo {
    position: absolute;
    left: calc((100% - var(--contents-wrap-width)) / 2);
    top: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 2;
}

.ictk-gnb-logo img {
    height: var(--header-logo-height);
    width: auto;
}

.ictk-gnb-close {
    position: absolute;
    right: calc((100% - var(--contents-wrap-width)) / 2);
    top: clamp(2.5rem, 4.1667vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(4rem, 5.2083vw, 6.25rem);
    height: clamp(4rem, 5.2083vw, 6.25rem);
    background: none;
    cursor: pointer;
    z-index: 2;
}

.ictk-gnb-close span {
    position: absolute;
    width: clamp(3.375rem, 4.375vw, 5.25rem);
    height: 2px;
    background: var(--base-color-white);
}

.ictk-gnb-close span:first-child {
    transform: rotate(45deg);
}

.ictk-gnb-close span:last-child {
    transform: rotate(-45deg);
}

.ictk-gnb-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 100%;
    padding: clamp(2.5rem, 4.1667vw, 5rem) clamp(2rem, 3.125vw, 3.75rem) clamp(2rem, 3.125vw, 3.75rem) calc((100% - var(--contents-wrap-width)) / 2);
    overflow: hidden;
}

.ictk-gnb-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ictk-gnb-list {
    display: flex;
    flex-direction: column;
    gap: var(--gnb-item-gap);
    width: 100%;
}

.ictk-gnb-item {
    display: flex;
    flex-direction: column;
    gap: clamp(0.375rem, 0.5208vw, 0.625rem);
}

.ictk-gnb-1depth {
    display: inline-flex;
    align-items: center;
    font-size: var(--gnb-font-size);
    font-weight: var(--gnb-font-weight);
    color: var(--base-color-white);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.ictk-gnb-1depth:hover {
    color: var(--point-color);
}

.ictk-gnb-sub {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1.25vw, 1.5rem);
}

.ictk-gnb-sub-item a {
    font-size: var(--gnb-sub-font-size);
    font-weight: 300;
    color: var(--base-color-white);
    transition: color 0.3s ease;
}

.ictk-gnb-sub-item a:hover {
    color: var(--point-color);
}

.ictk-gnb-sns {
    display: flex;
    gap: clamp(1rem, 1.5625vw, 1.875rem);
}

.ictk-gnb-sns a {
    font-size: var(--gnb-info-font-size);
    font-weight: 400;
    color: var(--base-color-white);
    transition: color 0.3s ease;
}

.ictk-gnb-sns a:hover {
    color: var(--point-color);
}


/* GNB Active States */
body.gnb-active {
    overflow: hidden;
}

body.gnb-active .ictk-header {
    opacity: 0;
    pointer-events: none;
}

body.gnb-active .ictk-quick-wrap {
    opacity: 0;
    pointer-events: none;
}


/* #################################### 04.Quick Menu #################################### */
.ictk-quick-wrap {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 99;
}

.ictk-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.5rem, 3.125vw, 3.75rem);
    height: clamp(2.5rem, 3.125vw, 3.75rem);
    cursor: pointer;
    background: none;
}

.ictk-quick-btn svg,
.ictk-quick-btn img {
    width: clamp(1rem, 1.25vw, 1.5rem);
    height: clamp(1rem, 1.25vw, 1.5rem);
}

.ictk-quick-top img {
    filter: invert(0.7);
}

.ictk-quick-mail {
    background: var(--point-color);
    color: var(--base-color-white);
}

.ictk-quick-top {
    background: var(--base-color-darkGrey);
    color: var(--base-color-lightGrey);
}


/* #################################### 05.Sub Header #################################### */
.ictk-sub-header-wrap {
    position: relative;
    width: 100%;
    height: var(--sub-header-height);
    overflow: hidden;
}

.ictk-sub-header-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.ictk-sub-header-bg img,
.ictk-sub-header-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ictk-sub-header-fallback {
    display: none;
}

.ictk-sub-header-screen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--base-color-black);
    opacity: var(--sub-header-screen-opacity);
}

.ictk-sub-header-wrap::before,
.ictk-sub-header-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: clamp(6rem, 15vw, 18rem);
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ictk-sub-header-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--base-color-black), transparent);
}

.ictk-sub-header-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--base-color-black), transparent);
}

.ictk-sub-header-gradient-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(4rem, 8vw, 8rem);
    background: linear-gradient(180deg, transparent, var(--base-color-black));
    z-index: 1;
    pointer-events: none;
}

.ictk-sub-header-contents {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.ictk-sub-header-title {
    font-size: var(--sub-header-title-size);
    font-weight: var(--sub-header-title-weight);
    color: var(--base-color-white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ictk-sub-header-subtitle {
    margin-top: clamp(0.5rem, 0.7292vw, 0.875rem);
    font-size: var(--sub-header-subtitle-size);
    font-weight: var(--sub-header-subtitle-weight);
    color: var(--base-color-white);
    letter-spacing: 0.02em;
}


/* #################################### 07.CTA (공통 모듈) #################################### */
.ictk-cta-wrap {
    width: 100%;
    padding: var(--cta-section-padding-y) 0;
    background: var(--base-color-white);
}

.ictk-cta-inner {
    width: var(--contents-wrap-width);
    margin: 0 auto;
    text-align: center;
}

.ictk-cta-title {
    font-size: var(--cta-title-size);
    font-weight: var(--cta-title-weight);
    color: var(--base-color-black);
    line-height: 1.3;
}

.ictk-cta-desc {
    margin-top: clamp(1rem, 1.5625vw, 1.875rem);
    font-size: var(--cta-desc-size);
    font-weight: 300;
    color: var(--color-grey-mid);
    line-height: 1.8;
}

.ictk-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 1.0417vw, 1.25rem);
    margin-top: clamp(2rem, 3.125vw, 3.75rem);
}

.ictk-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--cta-btn-padding-y) var(--cta-btn-padding-x);
    font-size: var(--cta-btn-font-size);
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ictk-cta-btn.primary {
    background: var(--point-color);
    color: var(--base-color-white);
    border: 1px solid var(--point-color);
}

@media (hover: hover) {
    .ictk-cta-btn.primary:hover {
        background: #009e97;
        border-color: #009e97;
    }
}

.ictk-cta-btn.outline {
    background: transparent;
    color: var(--base-color-black);
    border: 1px solid #bbb;
}

@media (hover: hover) {
    .ictk-cta-btn.outline:hover {
        background: var(--base-color-black);
        color: var(--base-color-white);
        border-color: var(--base-color-black);
    }
}


/* **************************************************************
    0) Responsive Area
************************************************************** */
@media all and (max-width: 768px) {
    .ictk-header.scrolled {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .ictk-footer-inner {
        grid-template-columns: 1fr;
        gap: clamp(1.25rem, 2.0833vw, 2.5rem);
    }

    .ictk-footer-right {
        justify-content: flex-start;
    }

    .ictk-gnb-inner {
        width: 100%;
    }

    .ictk-cta-desc br {
        display: none;
    }

    .ictk-cta-buttons {
        flex-direction: column;
    }

    .ictk-cta-btn {
        width: 100%;
        max-width: 24rem;
        min-height: 3rem;
    }
}
