﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

body {
    margin: 0;
    font-family: "Noto Sans KR", system-ui, sans-serif;
    background:
        radial-gradient(1200px 520px at 15% -10%, rgba(0, 133, 203, 0.2), transparent 60%),
        radial-gradient(900px 520px at 90% -10%, rgba(0, 90, 158, 0.18), transparent 60%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background:
        linear-gradient(180deg, rgba(4, 13, 30, 0.55), rgba(4, 13, 30, 0.55)),
        url('../image/backGroundMain.gif') center/cover no-repeat;
}

.hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 133, 203, 0.35);
    background: rgba(0, 133, 203, 0.14);
    color: #85d7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 14px;
    font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.1;
    font-weight: 700;
}

.hero-text {
    margin: 0 auto;
    max-width: 800px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn.primary {
    background: var(--brand);
    color: #061424;
}

.btn.ghost {
    background: rgba(18, 27, 49, 0.7);
    border-color: var(--line);
    color: var(--text);
}

.section {
    padding: 80px 0;
}

.section-label {
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
    font-size: clamp(32px, 5vw, 52px);
}

.section-sub {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 20px;
}

.expertise {
    position: relative;
}

.expertise-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 0;
}

.expertise-slide {
    min-width: 100%;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    position: relative;
    height: 500px;
    flex-shrink: 0;
}

.expertise-media {
    position: relative;
    height: 100%;
}

.expertise-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s ease;
}

.expertise-slide:hover img {
    transform: scale(1.03);
}

.expertise-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 17, 32, 0.95) 0%, rgba(10, 17, 32, 0.55) 60%, rgba(10, 17, 32, 0.2) 100%);
}

.expertise-content {
    position: absolute;
    inset: 0;
    padding: 75px 0 36px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.expertise-tag {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.expertise-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.2;
}

.expertise-desc {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 20px;
}

.expertise-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #73c5fc;
    font-weight: 600;
    width: fit-content;
}

.expertise-btn:hover {
    color: #009dff;
}

.expertise-actions {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 5;
}

.expertise-actions button {
    width: 46px;
    height: 46px;
    border: unset;
    background-color: unset;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
}

.expertise-actions button img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.expertise-actions button:hover img {
    transform: scale(1.35);
}

.expertise-actions button.hidden {
    visibility: hidden;
    pointer-events: none;
}

.expertise-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.expertise-pager {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.expertise-pager button {
    width: 25px;
    height: 7px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
}

.expertise-pager button.active {
    background: var(--brand);
}

.showcase-block {
    display: grid;
    gap: 90px;
}

.history-feature {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    align-items: center;
    gap: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.showcase-row {
    display: grid;
    align-items: center;
    gap: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.showcase-row.reverse {
    grid-template-columns: 1fr 2fr;
}

.history-mini {
    color: var(--brand);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.history-title,
.showcase-content h3 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
    font-size: clamp(32px, 4vw, 56px);
}

.history-desc {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #73c5fc;
    font-weight: 600;
    width: fit-content;
}

.showcase-link:hover {
    color: #009dff;
}

.history-media img {
    width: min(320px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    display: block;
    margin-left: 20px;
    margin-right: 0;
    box-shadow: var(--shadow);
}

.showcase-media img {
    width: min(320px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    display: block;
    margin-left: 20px;
    margin-right: 0;
    box-shadow: var(--shadow);
}

.history-media {
    justify-self: start;
}

.showcase-media {
    justify-self: end;
}


@media (max-width: 960px) {

    .history-feature,
    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .history-media img,
    .showcase-media img {
        margin: 0 auto;
    }

    .history-content,
    .showcase-content {
        text-align: center;
    }

    .showcase-link {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 100px 0 50px;
    }

    .hero-text,
    .section-sub,
    .expertise-desc,
    .history-desc {
        font-size: 16px;
    }

    .expertise-content {
        padding: 22px;
    }

    .expertise-slide {
        height: 420px;
    }

    .showcase-media img {
        display: none;
    }
}
