/* ==========================================
   고객사례 상세 페이지 스타일
   ========================================== */

/* Breadcrumb */
.breadcrumb-nav {
    background-color: var(--noblehr-gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--noblehr-gray-200);
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 0.75rem;
    color: var(--noblehr-gray-400);
}

.breadcrumb a {
    color: var(--noblehr-gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--noblehr-primary);
}

.breadcrumb .active {
    color: var(--noblehr-gray-900);
    font-weight: 600;
}

/* ============================================
   Hero Section - Cases Style
   ============================================ */
.case-detail-hero {
    background: linear-gradient(135deg, #0E2044 0%, #5DADE2 100%);
    color: #FFFFFF;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.case-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/hero-background-01.png') center/cover no-repeat;
    filter: blur(3px);
    opacity: 0.3;
    animation: heroBackgroundMove 30s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroBackgroundMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-2%, -2%); }
}

.case-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 32, 68, 0.7) 0%, rgba(93, 173, 226, 0.5) 50%, rgba(14, 32, 68, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 배경 원형 애니메이션 */
.case-detail-hero .circle-bg {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    animation: circleFloat 15s ease-in-out infinite;
    z-index: 2;
}

.case-detail-hero .circle-bg:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.case-detail-hero .circle-bg:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.case-detail-hero .circle-bg:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.case-detail-hero .circle-bg:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 19s;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
}

.case-detail-hero .container {
    position: relative;
    z-index: 10;
}

.case-detail-header {
    max-width: 800px;
    margin: 0 auto;
}

.case-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.case-industry,
.case-size {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.case-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #FFFFFF;
}

.case-company {
    font-size: 1.125rem;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.case-metric-highlight {
    margin-top: 3rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: inline-block;
    min-width: 250px;
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.metric-label {
    font-size: 1.125rem;
    color: #FFFFFF;
    opacity: 0.9;
}

/* ============================================
   Content Grid - 간격 조정
   ============================================ */
.case-detail-content {
    background: white;
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Main Content */
.main-content {
    min-width: 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--noblehr-gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--noblehr-primary);
}

.content-box {
    background: var(--noblehr-gray-50);
    border-radius: 12px;
    padding: 2rem;
    line-height: 1.8;
}

.content-box.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--noblehr-primary);
}

.content-box p {
    color: var(--noblehr-gray-700);
    margin-bottom: 1rem;
}

.content-box p:last-child {
    margin-bottom: 0;
}

/* Lists */
.challenge-list,
.solution-list,
.result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenge-list li,
.solution-list li,
.result-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--noblehr-gray-700);
    line-height: 1.6;
}

.challenge-list li:last-child,
.solution-list li:last-child,
.result-list li:last-child {
    margin-bottom: 0;
}

.challenge-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-size: 1.25rem;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--noblehr-primary);
    font-size: 1.25rem;
    font-weight: bold;
}

.result-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 1.25rem;
}

/* Interview Box */
.interview-box {
    background: white;
    border: 2px solid var(--noblehr-gray-200);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 4rem;
    color: var(--noblehr-primary);
    opacity: 0.2;
    line-height: 1;
}

blockquote {
    margin: 0 0 2rem 0;
    padding: 0 0 0 2rem;
    border-left: 4px solid var(--noblehr-primary);
}

blockquote p {
    color: var(--noblehr-gray-700);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

blockquote p:last-child {
    margin-bottom: 0;
}

.interview-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--noblehr-gray-200);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--noblehr-primary), var(--noblehr-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--noblehr-gray-900);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.875rem;
    color: var(--noblehr-gray-600);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--noblehr-gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--noblehr-gray-900);
    margin-bottom: 1rem;
}

/* Info List */
.info-list {
    margin: 0;
}

.info-list dt {
    font-size: 0.875rem;
    color: var(--noblehr-gray-600);
    margin-bottom: 0.25rem;
}

.info-list dd {
    font-weight: 600;
    color: var(--noblehr-gray-900);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--noblehr-gray-100);
}

.info-list dd:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--noblehr-gray-700);
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--noblehr-primary);
    font-weight: bold;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--noblehr-primary) 0%, var(--noblehr-secondary) 100%);
    color: white;
    border: none;
}

.sidebar-cta .sidebar-title {
    color: white;
}

.cta-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.sidebar-cta .btn {
    margin-bottom: 0.75rem;
}

.sidebar-cta .btn:last-child {
    margin-bottom: 0;
}

/* ============================================
   Related Cases - 간격 조정
   ============================================ */
.related-cases {
    background-color: var(--noblehr-gray-50);
    padding: 4rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid var(--noblehr-gray-200);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--noblehr-primary);
}

.related-industry {
    display: inline-block;
    background: var(--noblehr-gray-100);
    color: var(--noblehr-gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.related-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--noblehr-gray-900);
    margin-bottom: 0.75rem;
}

.related-summary {
    color: var(--noblehr-gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-link {
    color: var(--noblehr-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.related-card:hover .related-link {
    text-decoration: underline;
}

/* ============================================
   CTA Section - 간격 조정
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--noblehr-primary) 0%, var(--noblehr-secondary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--noblehr-primary);
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .metric-value {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .case-detail-hero {
        padding: 3rem 0;
    }
    
    .case-title {
        font-size: 1.75rem;
    }
    
    .metric-box {
        min-width: 200px;
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-detail-content {
        padding: 3rem 0;
    }
    
    .sidebar {
        position: static;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .interview-box {
        padding: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-cases {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-container {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .case-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .case-company {
        font-size: 1rem;
    }
    
    .metric-box {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}
