/* Client Page Styles */

/* Body */
.client-body {
    background-color: #201e1c;
    font-family: 'Pretendard', sans-serif;
    overflow-x: hidden;
}

/* Main Container */
.client-page {
    padding-top: 161px;
    /* header height 90px + spacing 71px */
    padding-bottom: 100px;
}

/* Breadcrumb Section */
.breadcrumb {
    padding: 0 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 88px;
}

.location-nav-label {
    color: #fff;
}

.hero-top-line {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-top-line::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #fff;
}

.hero-top-line .subtitle {
    font-size: 13px;
    line-height: 18px;
    color: #fff;
}

/* Hero Section */
.client-hero {
    padding: 0 64px;
    position: relative;
}

.hero-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 7px;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-title {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #ffffff;
    margin: 0;
}

.hero-title span {
    display: block;
}

/* Client Cards Section */
.client-cards-section {
    position: relative;
    min-height: 800px;
}

.cards-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Client Card */
.client-card {
    position: absolute;
    width: 360px;
    height: 224px;
    transform: rotate(15deg) skewX(14.511deg);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1), top 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.client-card:hover {
    transform: rotate(15deg) skewX(14.511deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Card Content */
.card-content {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
}

.card-header {
    margin-bottom: 5px;
}

.client-name {
    font-size: 22px;
    font-weight: 600;
    line-height: 24px;
    color: #000000;
    margin: 0 0 5px 0;
}

.client-tag {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tag-arrow {
    font-size: 10px;
    color: #000000;
}

.tag-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #000000;
}

.card-category {
    position: absolute;
    right: 12px;
    top: 70px;
    transform: rotate(90deg);
    transform-origin: right top;
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
    color: #000000;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Card Logo */
.card-logo {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 106px;
    height: 106px;
    transform: rotate(-45deg);
}

.logo-container {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: rotate(45deg);
}

/* Responsive Design */
@media screen and (max-width: 1440px) {
    .client-hero {
        padding: 0 64px;
    }

    .hero-title {
        font-size: 60px;
        line-height: 70px;
    }

    .hero-title span:first-child {
        margin-left: 60px;
    }

    /* Adjust card positions for smaller screens */
    .client-card[data-index="0"] {
        left: 40%;
        top: 220px;
    }

    .client-card[data-index="1"] {
        left: 46%;
        top: 260px;
    }

    .client-card[data-index="2"] {
        left: 52%;
        top: 300px;
    }

    .client-card[data-index="3"] {
        left: 58%;
        top: 340px;
    }

    .client-card[data-index="4"] {
        left: 64%;
        top: 380px;
    }

    .client-card[data-index="5"] {
        left: 70%;
        top: 420px;
    }

    .client-card[data-index="6"] {
        left: 76%;
        top: 460px;
    }

    .client-card[data-index="7"] {
        left: 82%;
        top: 500px;
    }

    .client-card[data-index="8"] {
        left: 47%;
        top: 480px;
    }

    .client-card[data-index="9"] {
        left: 32%;
        top: 520px;
    }

    .client-card[data-index="10"] {
        left: 8%;
        top: 640px;
    }

    .client-card[data-index="11"] {
        left: 3%;
        top: 680px;
    }

    .client-card[data-index="12"] {
        left: -2%;
        top: 720px;
    }

    .client-card[data-index="13"] {
        left: -7%;
        top: 760px;
    }
}

@media screen and (max-width: 1200px) {
    .client-page {
        padding-top: 80px;
    }

    .breadcrumb {
        padding: 0 32px;
        margin-bottom: 60px;
    }

    .client-hero {
        padding: 0 32px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 58px;
    }

    .hero-title span:first-child {
        margin-left: 40px;
    }

    .client-card {
        width: 300px;
        height: 187px;
    }

    .card-logo {
        width: 88px;
        height: 88px;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        align-items: center;
        gap: 10px;
        color: #FFF;
    }

    .breadcrumb-separator {
        width: 30px;
    }

    .hero-top-line {
        gap: 10px;
    }

    .hero-icon {
        width: 50px;
        height: 50px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 46px;
    }

    .hero-title img {
        width: 30px;
        height: 30px;
    }

    .hero-title span:first-child {
        margin-left: 0;
    }

    .client-cards-section {
        padding-left: 32px;
        margin-top: -150px;
    }

    .client-card {
        width: 280px;
        height: 174px;
    }

    .client-name {
        font-size: 18px;
        line-height: 22px;
    }

    .card-logo {
        width: 70px;
        height: 70px;
    }
}