.navbar .logo,
.navbar .logo-text,
.navbar .nav-link,
.navbar .menu-toggle-btn {
    color: var(--color-black);
}

.navbar .nav-link:hover,
.navbar .menu-toggle-btn:hover {
    color: var(--color-primary);
}

.navbar .nav-link.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Page Header */
.page-header {
    padding: 180px 0 60px;
    background-color: var(--color-white);
    text-align: left;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    color: #000;
    margin: 40px 0;
    font-family: 'Pretendard', sans-serif;
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item {
    font-family: var(--font-korean);
    font-size: 1.125rem;
    color: var(--color-black);
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    font-weight: 700;
}

.breadcrumb-item:hover {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: #E62020;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #E62020;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.breadcrumb-item:not(:last-child)::after {
    display: none;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Works Sections */
.works-section {
    padding: 80px 0;
    background-color: var(--color-white);
    color: var(--color-black);
    
}

.works-section:nth-child(even) {
    background-color: var(--color-white);
}

.works-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 1rem;
}

.works-section-title {
    font-family: var(--font-korean);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-black);
    transition: transform 0.3s ease;
}

.toggle-btn.collapsed {
    transform: rotate(180deg);
}

.works-section-content {
    display: block;
}

.works-section.imc-marketing .works-section-content {
    display: block !important;
}

.works-section:not(.imc-marketing) .works-section-content {
    display: none;
}

.works-section:not(.imc-marketing) .toggle-btn {
    transform: rotate(180deg);
}

.works-section:not(.imc-marketing) .toggle-btn.collapsed {
    transform: rotate(180deg);
}

.works-section:not(.imc-marketing) .toggle-btn:not(.collapsed) {
    transform: rotate(0deg);
}

.works-section-description {
    font-family: var(--font-korean);
    font-size: var(--font-heading-3);
    line-height: 1.6;
    margin-bottom: 4rem;
    color: var(--color-text-primary);
}

/* IMC Circles Diagram */
.imc-circles-wrapper {
    position: relative;
    padding: 6rem 0 8rem;
    text-align: center;
    overflow: visible;
    background-color: #fff;
}

.imc-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 1063px;
    height: 290px;
    margin: 0 auto;
}

.circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    font-family: var(--font-korean);
}

/* Left 1 - Brand Marketing */
.circle.left-1 {
    width: 271px;
    height: 280px;
    background: linear-gradient(to right, #f7c09d 0%, #f6c29b 30%, #f89854 80%, #f57618 100%);
    left: 0;
    font-size: 32px;
    z-index: 4;
    border-radius: 0 140px 140px 0;
}

/* Left 2 - Creative (text on right) */
.circle.left-2 {
    width: 271px;
    height: 280px;
	background: linear-gradient(to right, #ffffff 20%, #ffe9d8 30%, #ffceab 60%, #f57618 100%);
    left: 100px;
    z-index: 3;
    font-size: 20px;
    font-weight: 500;
    justify-content: flex-end;
    padding-right: 20px;
    border-radius: 0 140px 140px 0;
}

/* Left 3 - Gradient only */
.circle.left-3 {
    width: 271px;
    height: 280px;
    background: linear-gradient(135deg, rgba(253, 229, 208, 0.6) 0%, rgba(254, 246, 240, 0.4) 100%);
    left: 170px;
    z-index: 2;
    border-radius: 0 140px 140px 0;
}

/* Center - IMC Marketing */
.circle.center {
    width: 280px;
    height: 280px;
    background: #f94b4b;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(249, 75, 75, 0.2);
}

/* Right 3 - Gradient only */
.circle.right-3 {
    width: 271px;
    height: 280px;
    background: linear-gradient(135deg, rgba(253, 229, 208, 0.6) 0%, rgba(254, 246, 240, 0.4) 100%);
    right: 170px;
    z-index: 2;
    border-radius: 140px 0 0 140px;
}

/* Right 2 - Data (text on left) */
.circle.right-2 {
    width: 271px;
    height: 280px;
	background: linear-gradient(to right, #f5b84c 0%, #ffd787 30%, #fdedce 60%, #fdefd8 100%);
    right: 100px;
    z-index: 3;
    font-size: 20px;
    font-weight: 500;
    justify-content: flex-start;
    padding-left: 30px;
    border-radius: 140px 0 0 140px;
}

/* Right 1 - Performance Marketing */
.circle.right-1 {
    width: 271px;
    height: 280px;
    background: linear-gradient(to right, #f5b84c 0%, #f8c86a 30%, #fad998 60%, #f9daa7 100%);
    right: 0;
    font-size: 32px;
    z-index: 4;
    border-radius: 140px 0 0 140px;
}

/* Works Container */
.works-container {
    max-width: var(--container-laptop, 1200px);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Process Steps */
.works-process-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 5rem;
    color: #000;
    font-family: var(--font-primary);
}

.works-process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    
    margin-top: 0;
}

.works-step-item {
    flex: 0 0 calc(24% - 1rem);
    min-width: 200px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.works-step-item:hover {
    transform: none;
}

.works-step-number {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: #EC2020;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
    text-align: center;
}

.works-step-icon {
    width: 48px;
    height: 48px;
    color: #000;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.works-step-icon svg {
    width: 48px;
    height: 48px;
    fill: #000;
}

.works-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    font-family: var(--font-korean);
    text-align: center;
}

.works-step-desc {
    display: none;
}

.works-step-list {
    text-align: center;
    font-size: 1rem;
    color: #000;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.works-step-list li {
    margin-bottom: 0.8rem;
    list-style: none;
    font-family: var(--font-korean);
    line-height: 1.6;
}

.works-step-list li.works-step-highlight {
    background-color: #f5f5f5;
    padding: 0.25rem 1rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 0.8rem;
    text-align: center;
}

.works-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    padding-top: 0;
    flex-shrink: 0;
    font-weight: 300;
    min-width: 40px;
    align-self: center;
}

.works-step-arrow svg {
    width: 40px;
    height: 40px;
    fill: #000;
    display: block;
    flex-shrink: 0;
    
}

.works-step-arrow svg path {
    fill: #000;
}

/* Process Cards */
.works-process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.works-card-wrapper {
    display: flex;
    flex-direction: column;
}

.works-process-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    
    transition: all 0.3s ease;
    background:#F5F5F5;
    display: flex;
    flex-direction: column;
}

.works-process-card:hover {
    transform: translateY(-5px);
    
    border-color: var(--color-primary-light);
}

.works-card-number {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: #EC2020;
    font-weight: 700;
    margin-bottom: 1rem;
    
}

.works-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.works-card-icon {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    min-width: 48px;
}

.works-card-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
    overflow: visible;
}

.works-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1.4;
}

.works-card-sublist {
    padding-left: 1.2rem;
    font-size: 1.125rem;
    color: #4E4E4E;
    margin-top: 1rem;
    padding-top: 1rem;
}

.works-card-sublist li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Performance Details */
.performance-details {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background-color: var(--color-white);
}

.detail-item {
    background: #fff;
    padding: 2.5rem;
    
    border:1px solid var(--color-nomal_gray);
    
    position: relative;
}

/* 마지막 아이템(바이럴 광고)은 전체 너비 */
.detail-item:last-child {
    grid-column: 1 / -1;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 0;
}

.detail-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-black);
    line-height: 1.3;
    flex: 1;
    padding-right: 1rem;
    position: relative;
}

.detail-header h3::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #E62020;
    border-radius: 50%;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: #E62020;
    background: rgba(230, 32, 32, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.detail-desc {
    font-size: 1.125rem;
    color:  #4E4E4E;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-family: var(--font-korean);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.detail-tags span {
    background: #f5f5f5;
    color: var(--color-text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .imc-circles {
        transform: scale(0.75);
    }

    .works-step-arrow {
    
    }

    .works-process-steps {
        gap: 1.5rem;
    }

    .works-step-item {
        flex: 0 0 calc(30% - 0.75rem);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .imc-circles {
        transform: scale(0.55);
        height: 200px;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .works-section-description {
        font-size: 1.1rem;
    }

    .performance-details {
        grid-template-columns: 1fr;
    }

    .works-process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .works-step-item {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .detail-item:last-child {
        grid-column: 1;
    }

    /* Process Cards - Responsive Font Sizes */
    .works-process-title {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }

    .works-card-number {
        font-size: 1rem;
    }

    .works-card-title {
        font-size: 1.125rem;
    }

    .works-card-icon svg {
        width: 40px;
        height: 40px;
    }

    .works-card-sublist {
        font-size: 0.875rem;
    }

    .works-section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 390px) {
    .imc-circles {
        transform: scale(0.4);
        height: 150px;
    }

    /* Process Cards - Smaller Font Sizes for Mobile */
    .works-process-title {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .works-card-number {
        font-size: 0.875rem;
    }

    .works-card-title {
        font-size: 1rem;
    }

    .works-card-icon svg {
        width: 36px;
        height: 36px;
    }

    .works-card-sublist {
        font-size: 0.8rem;
    }

    .works-process-cards {
        gap: 0.75rem;
    }

    .works-process-card {
        padding: 1.5rem;
    }

    .works-section-title {
        font-size: 1.5rem;
    }

    .works-section-description {
        font-size: 1rem;
    }
}

/* Mobile/Tablet Menu Override */
@media (max-width: 1024px) {
    .nav-menu {
        background-color: var(--color-white) !important;
    }

    .nav-menu .nav-link {
        color: var(--color-black) !important;
    }

    .nav-menu .nav-link:hover {
        color: var(--color-primary) !important;
    }
}