/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 스크롤바로 인한 레이아웃 이동 방지 */
    scrollbar-gutter: stable;
}

body {
    font-family: 'SUIT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #191919;
    position: relative;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.smooth-scroll-enabled {
    overflow: hidden;
}

#smooth-scroll {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
    z-index: 0;
}

#smooth-scroll-content {
    will-change: transform;
    width: 100%;
    min-height: 100%;
}

body.smooth-scroll-disabled #smooth-scroll {
    position: static;
    height: auto;
}

/* 기본 섹션 설정 */
section {
    position: relative;
}

/* 마우스 그라데이션 오버레이 제거됨 */

@font-face {
    font-family: 'SEBANG Gothic';
    src: url('../fonts/SEBANG_Gothic_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SEBANG Gothic';
    src: url('../fonts/SEBANG_Gothic_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SEBANG_Gothic_Bold';
    src: url('../fonts/SEBANG_Gothic_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 히어로 섹션 */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
}


/* PC 인터랙션 애니메이션 */
@media (min-width: 769px) {
    .hero-title {
        opacity: 1;
        transform: translateY(0);
    }
    
    .hero-subtitle {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease-out 0.4s forwards;
    }
    
    .definition-star {
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInFromLeft 0.6s ease-out 0.4s forwards;
    }
    
    .definition-card {
        opacity: 0;
        transform: translateX(50px);
        animation: slideInFromRight 0.6s ease-out 0.5s forwards;
    }
    
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInFromLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInFromRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInFromBottom {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.hero-container {
    max-width: 1600px;
    width: 100%;
  display: flex;
  flex-direction: column;
    align-items: center;
    gap: 50px;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero-title {
  width: 100%;
    max-width: 1600px;
    font-family: 'SEBANG Gothic', 'SEBANG_Gothic_Bold', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(60px, 12vw, 200px);
    display: block;
    text-align: center;
    color: #FBFBFB;
    text-shadow: 5px 0px 0px #FFC14D;
    margin-bottom: 30px;
    flex: none;
    align-self: stretch;
    letter-spacing: -3px;
}

.what-is {
    font-size: clamp(50px, 8vw, 120px);
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* PC에서도 PLAINPROVEN을 PLAIN PROVEN으로 분리 */
.brand-name {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: clamp(80px, 12vw, 200px);
    font-family: 'SEBANG_Gothic_Bold', 'SEBANG Gothic', sans-serif;
    font-weight: 700;
    text-shadow: 5px 0px 0px #FFC14D;
    color: #FBFBFB;
    letter-spacing: -3px;
    line-height: 1;
}

.plain-text {
    display: block;
    font-size: clamp(80px, 12vw, 200px);
    font-family: 'SEBANG_Gothic_Bold', 'SEBANG Gothic', sans-serif;
    font-weight: 700;
    text-shadow: 8px 0px 0px #FFC14D;
    color: #FBFBFB;
    text-align: center;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0;
  padding: 0;
    width: 100%;
}

.proven-text {
  display: block;
    font-size: clamp(80px, 12vw, 200px);
    font-family: 'SEBANG_Gothic_Bold', 'SEBANG Gothic', sans-serif;
    font-weight: 700;
    text-shadow: 8px 0px 0px #FFC14D;
    color: #FBFBFB;
    text-align: center;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0;
    padding: 0;
  width: 100%;
}

/* 모바일에서도 두 줄로 나누기 */
@media (max-width: 768px) {
    .plain-text {
        font-size: clamp(80px, 18vw, 150px);
    }
    
    .proven-text {
        font-size: clamp(80px, 18vw, 150px);
    }
}

/* 768px 이하에서 추가 조정 */
@media (max-width: 768px) {
    .hero-title {
        display: block;
        text-align: center;
    }
    
    .definition-card {
        max-width: none;
    }
    
    .definition-title {
        font-size: 16px;
        text-align: center;
    }
    
    .definition-english {
        font-size: 14px;
        text-align: center;
    }
    
    .definition-description {
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }
    
    .what-is {
        font-size: clamp(50px, 15vw, 120px);
        display: block;
        margin: 0;
    }
    
    .brand-name::before {
        font-size: clamp(80px, 18vw, 150px);
    }
    
    .brand-name::after {
        font-size: clamp(80px, 18vw, 150px);
    }
}

.hero-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0;
    color: #fbfbfb;
}

    .hero-definition {
        /* Auto layout */
        display: flex;
         flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        gap: 60px;
        
        width: 100%;
        max-width: 1600px;
        height: 166px;
        
        /* Inside auto layout */
        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

    .definition-star {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .star-icon {
        width: 120px;
        height: 120px;
        opacity: 0.8;
    }

.definition-card {
    max-width: 239px;
    text-align: left;
}

.definition-title {
    font-family: 'SUIT', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: -0.4px;
}

/* 타이핑 효과 스타일 */
#typing-plain,
#typing-proven {
    display: inline-block;
  position: relative;
}

.typing-cursor {
    display: inline-block;
    font-weight: inherit;
    color: inherit;
    animation: blink 1s infinite;
    margin-left: 2px;
    font-size: inherit;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.definition-english {
    font-family: 'Noto Serif KR', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.28px;
    color: #fbfbfb;
    text-align: left;
    margin-bottom: 20px;
}

.definition-description {
    font-family: 'SUIT', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: -0.32px;
    color: #fbfbfb;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .hero-subtitle {
        font-size: 20px;
        line-height: 24px;
    }
    
    .hero-definition {
        gap: 50px;
        height: auto;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-container {
        gap: 79px;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 68px;
        line-height: 0.85;
        text-shadow: 6px 0px 0px #FFC14D;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .hero-definition {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 30px;
        padding: 0;
    }
    
    .hero-subtitle {
        font-family: 'Noto Serif KR', serif;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0;
        margin-bottom: 0;
    }

    .star-icon {
        width: 60px;
        height: 60px;
    }
    
    .definition-card {
        max-width: 200px;
  text-align: left;
    }
    
    .definition-title {
        font-size: 12px;
        line-height: 14px;
        letter-spacing: -0.18px;
        margin-bottom: 5px;
    }
    
    .definition-english {
        font-size: 11px;
        line-height: 13px;
        letter-spacing: -0.12px;
        margin-bottom: 5px;
    }
    
    .definition-description {
        font-size: 11px;
        line-height: 13px;
        letter-spacing: -0.16px;
    }
}

/* 500px 이하 초소형 모바일 */
@media (max-width: 500px) {
    .hero-container {
        /* Auto layout */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0px;
        gap: 30px;
        width: 100%;
        max-width: 360px;
        height: auto;
        min-height: 368px;
        
        /* Inside auto layout */
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 60px;
        text-shadow: 5px 0px 0px #FFC14D;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
        text-align: center;
        display: block;
    }

    .hero-definition {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        height: auto;
        width: 100%;
        margin: 40px 0 0 0;
        text-align: center;
    }

    .definition-card {
        max-width: none;
        text-align: center;
    }
    
    .definition-title {
        font-size: 16px;
        text-align: center;
    }
    
    .definition-english {
        font-size: 14px;
        margin: 20px 0;
        text-align: center;
    }
    
    .definition-description {
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }
    
    .what-is {
        font-size: clamp(40px, 18vw, 100px) !important;
        display: block;
        margin: 0 !important;
    }
    
    .brand-name::before {
        font-size: clamp(60px, 22vw, 130px) !important;
        text-align: center;
    }
    .brand-name::after {
        font-size: clamp(60px, 22vw, 130px) !important;
        text-align: center;
    }
    
    .hero-subtitle {
        font-family: 'Noto Serif KR', serif;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0;
        margin-bottom: 0;
    }
    
    .star-icon {
        width: 60px;
        height: 60px;
    }
}

/* 레이아웃 */
.layout-row {
    display: flex;
    flex-direction: column;
    /* 중앙정렬 보강 */
    margin: 0 auto;
    max-width: 100vw;
    box-sizing: border-box;
}



.hero-sub-section {
    background-color: #fff;
    color: #191919;
    padding: 300px 20px;
    text-align: left;
}

.hero-sub-section h2 {
    font-family: 'SUIT', sans-serif;
    color: #191919;
    font-weight: 300;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.4;
    letter-spacing: -1px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.hero-sub-section h2.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-sub-section h2 strong {
    font-weight: 600;
}

.hero-sub-images {
    display: grid;
    grid-template-columns: repeat(60, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 12px;
    max-width: 1600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-sub-images.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-sub-images img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-sub-images img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-out;
    z-index: 1;
    position: relative;
}

/* 1번 이미지: 넓은 공간 (왼쪽 위) */
.hero-sub-images img:nth-child(1) {
    grid-column: 1 / span 50;
    grid-row: 1 / span 1;
}

/* 2번 이미지: 좁은 공간 (오른쪽 위) */
.hero-sub-images img:nth-child(2) {
    grid-column: 51 / span 30;
    grid-row: 1 / span 1;
}

/* 3번 이미지: 좁은 공간 (오른쪽 아래) */
.hero-sub-images img:nth-child(3) {
    grid-column: 24 / span 57;
    grid-row: 2 / span 1;
}

/* 4번 이미지: 넓은 공간 (왼쪽 아래) */
.hero-sub-images img:nth-child(4) {
    grid-column: 1 / span 23;
    grid-row: 2 / span 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-sub-section {
        padding: 60px 20px;
    }

    .hero-sub-section h2 {
        margin-bottom: 40px;
        font-size: clamp(20px, 3vw, 30px);
        transform: translateY(20px);
    }

    .hero-sub-section h2.is-visible {
        transform: translateY(0);
    }

    .hero-sub-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap:0px;
        transform: translateX(-30px);
    }

    .hero-sub-images.is-visible {
        transform: translateX(0);
    }

    .hero-sub-images img:hover {
        transform: scale(1.01);
    }

    .hero-sub-images img:nth-child(1),
    .hero-sub-images img:nth-child(2),
    .hero-sub-images img:nth-child(3),
    .hero-sub-images img:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        height: auto;
    }

    .hero-sub-images img:nth-child(2),
    .hero-sub-images img:nth-child(3),
    .hero-sub-images img:nth-child(4) {
        display: none;
    }

}

/* =========================================
    New Content Section
    ========================================= */
.new-content-section {
    background-color: #fff;
    color: #191919;
    position: relative;
}

.new-content-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* 상단 텍스트 섹션 */
.new-content-top-section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.new-content-top-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.new-content-top-wrapper {
    display: flex;
    padding: 0 2vw;
    align-items: flex-start;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.new-content-top-left {
    flex: 0px;

}

.new-content-main-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 55px;
    line-height: 68.64px;
    letter-spacing: -2.2px;
    color: #191919;
    margin-top: 150px;
}

.new-content-top-right {
    flex: 1;
    display: flex;
    padding: 150px 0 150px 80px;
    flex-direction: column;
    border-left: 1px solid #000;
    gap: 50px;
}

.new-content-desc-1,
.new-content-desc-2 {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 20px;
    word-break: keep-all;
    line-height: 37.5px;
    letter-spacing: -1px;
    color: #191919;
    margin: 0;
}

/* 하단 서비스 카드 섹션 */
.new-content-bottom-section {
    opacity: 0;
    padding: 100px 2vw 0 2vw;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.new-content-bottom-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.new-content-bottom-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 55px;
    line-height:130%;
    letter-spacing: -1px;
    color: #191919;
    text-align: center;
    margin: 0 0 100px 0;
}

.new-content-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.new-service-card {
    display: flex;
    flex-direction: column;
}

.service-card-header {
    border-bottom: 1px solid #cccccc;
    height: 150px;
    margin-bottom: 16px;
    text-align: center;
}

.service-card-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 39px;
    letter-spacing: -1.2px;
    color: #191919;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.service-card-desc {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 23.4px;
    letter-spacing: -0.72px;
    color: #191919;
    margin: 0;
    text-align: center;
}

.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center
}

.service-tag {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 39px;
    letter-spacing: -0.72px;
    color: #766d29;
    background-color: #fff9d9;
    border-radius: 99px;
    padding: 0 16px;
    display: inline-block;
    text-align: center;
}

/* 반응형 디자인 - 1024px */
@media (max-width: 1024px) {
    .new-content-section {
        padding: 0;
    }

    .new-content-top-wrapper {
        gap: 60px;
    }


    .new-content-main-title {
        font-size: 40px;
        line-height: 60px;
    }

    .new-content-desc-1,
    .new-content-desc-2 {
        font-size: 22px;
        line-height: 33px;
    }

    .new-content-bottom-title {
        font-size: 45px;
        line-height: 56px;
        margin-bottom: 60px;
    }

    .new-content-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        row-gap: 100px;
    }
}

/* 반응형 디자인 - 768px */
@media (max-width: 768px) {
    

    .new-content-top-section {
        margin-bottom: 80px;
    }

    .new-content-top-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .new-content-top-left {
        flex: none;
        width: 100%;
    }

    .new-content-main-title {
        font-size: clamp(32px, 5vw, 42px);
        line-height: 1.3;
    }

    .new-content-top-right {
        gap: 30px;
        border: none;
        padding: 0 0 100px 0;
        
    }

    .new-content-desc-1,
    .new-content-desc-2 {
        font-size: clamp(18px, 3vw, 22px);
        line-height: 1.5;
    }

    .new-content-bottom-title {
        font-size: clamp(28px, 5vw, 38px);
        line-height: 1.3;
        margin-bottom: 50px;
    }

    .new-content-services-grid {
        gap: 32px;
    }

    .service-card-header {
        padding: 20px;
    }

    .service-card-title {
        margin: 0;
        font-size: 26px;
        line-height: 34px;
    }

    .service-card-desc {
        font-size: 16px;
        line-height: 22px;
    }

    .service-tag {
        font-size: 14px;
        line-height: 36px;
        padding: 0 14px;
    }
}

/* 반응형 디자인 - 480px */
@media (max-width: 480px) {
    .new-content-section {
        padding: 80px 0;
        margin-top: -1px;
    }

    .new-content-top-section {
        margin-bottom: 60px;
    }

    .new-content-top-wrapper {
        padding: 30px 20px;
        border-width: 1px;
    }

    .new-content-main-title {
        font-size: clamp(28px, 6vw, 36px);
    }

    .new-content-desc-1,
    .new-content-desc-2 {
        font-size: clamp(16px, 4vw, 20px);
    }

    .new-content-bottom-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 40px;
    }

    .new-content-services-grid {
        gap: 36px;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;

    }

    .service-card-header {
        padding: 18px;
        height: auto;
        margin: 0 0 10px 0 ;
    }



    .service-card-title {
        font-size: 24px;
        line-height: 32px;
    }

    .service-card-desc {
        font-size: 15px;
        line-height: 21px;
    }

    .service-tag {
        font-size: 14px;
        line-height: 34px;
        padding: 0 12px;
    }
}

/* 반응형 디자인 - 360px */
@media (max-width: 360px) {
    .new-content-section {
        padding: 60px 0;
    }

    .new-content-top-section {
        margin-bottom: 50px;
    }

    .new-content-top-wrapper {
        padding: 24px 16px;
    }

    .new-content-main-title {
        font-size: 26px;
        line-height: 34px;
    }

    .new-content-desc-1,
    .new-content-desc-2 {
        font-size: 15px;
        line-height: 22px;
    }

    .new-content-top-right {
        gap: 24px;
    }

    .new-content-bottom-title {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 32px;
    }

    .new-content-services-grid {
        gap: 20px;
    }

    .service-card-header {
        padding: 16px;
        
    }

    .service-card-title {
        font-size: 22px;
        line-height: 30px;
    }

    .service-card-desc {
        font-size: 14px;
        line-height: 20px;
    }

}

/* =========================================
    Design Philosophy Section
    ========================================= */
.design-philosophy-section {
    background-color: #fff;
    padding: 200px 20px;
    color: #191919;
}

.design-philosophy-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Top Section */
.philosophy-top {
    display: flex;
    gap: 80px;
    margin-bottom: 150px;
    border: 1px solid #000;
    padding: 80px;
}

.philosophy-left {
    flex: 0 0 631px;
}

.philosophy-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 55px;
    line-height: 68.64px;
    letter-spacing: -2.2px;
    color: #191919;
    margin: 0;
}

.philosophy-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.philosophy-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 37.5px;
    letter-spacing: -1px;
    color: #191919;
    margin: 0;
}

/* Bottom Section */
.philosophy-bottom {
    text-align: center;
}

.philosophy-subtitle {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 53.14px;
    line-height: 66.32px;
    letter-spacing: -2.13px;
    color: #191919;
    margin: 0 0 100px 0;
}

/* Scroll Reveal Animation */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - 1024px */
@media (max-width: 1024px) {
    .design-philosophy-section {
        padding: 150px 20px;
    }

    .philosophy-top {
        gap: 60px;
        padding: 60px;
        margin-bottom: 120px;
    }

    .philosophy-left {
        flex: 0 0 500px;
    }

    .philosophy-title {
        font-size: 45px;
        line-height: 56px;
    }

    .philosophy-text {
        font-size: 22px;
        line-height: 33px;
    }

    .philosophy-subtitle {
        font-size: 45px;
        line-height: 56px;
        margin-bottom: 80px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Responsive - 768px */
@media (max-width: 768px) {
    .design-philosophy-section {
        padding: 100px 20px;
    }

    .philosophy-top {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
        margin-bottom: 80px;
    }

    .philosophy-left {
        flex: 1;
    }

    .philosophy-title {
        font-size: 36px;
        line-height: 45px;
    }

    .philosophy-text {
        font-size: 18px;
        line-height: 27px;
    }

    .philosophy-subtitle {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 60px;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card-title {
        font-size: 26px;
        line-height: 34px;
    }

    .service-card-desc {
        font-size: 16px;
        line-height: 22px;
    }

}

/* Responsive - 480px */
@media (max-width: 480px) {
    .design-philosophy-section {
        padding: 80px 15px;
    }

    .philosophy-top {
        padding: 30px 20px;
        margin-bottom: 60px;
    }

    .philosophy-title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -1.5px;
    }

    .philosophy-text {
        font-size: 16px;
        line-height: 24px;
        gap: 30px;
    }

    .philosophy-subtitle {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 50px;
    }

    .service-cards-grid {
        gap: 20px;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-card-desc {
        font-size: 14px;
        line-height: 20px;
    }
    .service-tag {
        font-size: 14px;
        padding: 3px 12px;
        line-height: 32px;
    }
}

/* Responsive - 360px */
@media (max-width: 360px) {
    .design-philosophy-section {
        padding: 60px 10px;
    }

    .philosophy-top {
        padding: 20px 15px;
        margin-bottom: 50px;
    }

    .philosophy-title {
        font-size: 24px;
        line-height: 30px;
    }

    .philosophy-text {
        font-size: 14px;
        line-height: 21px;
    }

    .philosophy-subtitle {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 40px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card-title {
        font-size: 20px;
        line-height: 26px;
    }

    .service-card-desc {
        font-size: 13px;
        line-height: 18px;
    }

    .service-tag {
        font-size: 12px;
        padding: 2px 10px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-sub-section {
        padding: 40px 15px;
    }

    .hero-sub-section h2 {
        margin-bottom: 30px;
        font-size: clamp(20px, 6vw, 28px);
    }

    .hero-sub-images {
        gap: 12px;
    }
}




/* 메인 컨텐츠 */
.main-content {
    flex: 1;
    overflow: visible;
}

main {
    overflow: visible;
    color: rgba(255, 255, 255, 1);
}

/* 기본 섹션 스타일 */
.main-content > section {
    position: relative;
}

.container {
    padding: 0rem;
}





/* 스크롤 띠 섹션 */
.scroll-banner {
    width: 100%;
    position: relative;
    display: block;
    margin: 0;
    padding: 100px 0;
    background-color: #fff;
    z-index: 11;
    overflow: hidden;
    height: 400px;
}

.scroll-banner-content {
    width: 150%;
    height: 65px;
    overflow: hidden;
    position: absolute;
    background-color: #191919;
    padding: 21px 0;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
}

/* 첫 번째 배너: 왼쪽 위에서 오른쪽 아래로 */
.scroll-banner-content:first-child {
    transform: translate(-50%, -50%) rotate(-4deg);
    z-index: 2;
    margin-top: -20px;
}

/* 두 번째 배너: 왼쪽 아래에서 오른쪽 위로 */
.scroll-banner-content:last-child {
    transform: translate(-50%, -50%) rotate(4deg);
    z-index: 1;
    margin-top: 20px;
}

.scroll-banner-inner {
    display: flex;
    gap: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: 40px;
    line-height: 15px;
    letter-spacing: 0;
    color: #fff;
    white-space: nowrap;
    display: inline-block;
    text-transform: uppercase;
}

/* 왼쪽으로 이동 */
.scroll-banner-left {
    animation: scroll-left 60s linear infinite;
}

/* 오른쪽으로 이동 */
.scroll-banner-right {
    animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateY(-50%) translateX(0%);
    }
    100% {
        transform: translateY(-50%) translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateY(-50%) translateX(-50%);
    }
    100% {
        transform: translateY(-50%) translateX(0%);
    }
}

/* 모바일에서 스크롤 배너 크기 조정 */
@media (max-width: 768px) {
    .scroll-banner {
        width: 100%;
        margin: 0;
        padding: 150px 0;
        margin-top: -1px;
    }

    .scroll-banner-content {
        height: 40px;
        width: 180%;
        margin-top: -1px;
    }

    .scroll-text {
        font-size: 20px;
        line-height: 10px;
    }
}

/* 포트폴리오 그리드 */

/* PC에서 우측 디테일 확실히 보이도록 */
@media (min-width: 769px) and (max-width: 1200px) {
    .project-detail-section {
        display: flex !important;
        flex: 1;
        min-width: 0;
    }
}

@media (min-width: 1263px) {
    .project-detail-section {
        display: flex !important;
        flex: 1;
        min-width: 0;
    }
}



.projects-section {
    width: 400px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 1));
    pointer-events: none;
    z-index: 15;
    opacity: var(--gradient-opacity, 1);
    transition: opacity 0.3s ease;
}


.work-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0;
    max-height: calc(100vh - 150px);
    min-height: 400px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 10;
}

.work-grid::-webkit-scrollbar {
    display: none;
}

.work-item {
    width: 100%;
    height: 73.52px;
    border-bottom: 1px solid #c5c5c5;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 10px;
    z-index: 10;
    overflow: hidden;
}

/* work-item 호버 시 무한루프 애니메이션 */
.work-item:hover {
    animation: workItemHoverLoop 2.5s ease-in-out infinite;
}

/* 무한루프 애니메이션 키프레임 */
@keyframes workItemHoverLoop {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(2px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0);
    }
}

/* flowing-item 무한루프 애니메이션 키프레임 */
@keyframes flowingItemHoverLoop {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(2px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0);
    }
}

.work-item.active .work-title {
    color: #ffc14d;
    margin-left: 20px;
}

.work-item.active::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: #ffc14d;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* 프로젝트 상세 섹션 */
.project-detail-section {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    left: -1px;

}




.detail-content-area {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
    flex: 1;
}

.detail-scroll-container {
    height: 100%;
    overflow-y: auto;
    padding: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.detail-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.detail-image-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 3px;
}

.detail-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 5;
    border-radius: 8px;
    left: -1px;
    top:-1px;
}





.work-thumbnail {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: gap 0.3s ease;
}





.work-thumbnail img {
    display: none;
}

/* Work Tags */
.work-tags {
    position: static;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 0;
    font-size: 14.25px;
    font-weight: 400;
    color: #191919;
    line-height: 20px;
    font-family: 'Inter', sans-serif;
    text-align: right;
    margin-left: auto;
}

.work-tag {
    background-color: transparent;
    color: #191919;
    padding: 4px 8px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1.5px solid #ffffff;
    font-family: 'Inter', sans-serif;
}

/* 앱, 웹, 로고 태그는 노란색으로 */


.work-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #191919;
    line-height: 29.87px;
    text-transform: uppercase;
    letter-spacing: 0.213px;
    font-family: 'Inter', sans-serif;
    text-align: left;
}



/* 기존 상세페이지 스타일 제거 - 새로운 레이아웃 사용 */
/* 
.detail-image-container {
    기존 상세페이지 스타일 제거 - 새로운 레이아웃 사용 

}*/

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 빙그레 상세 콘텐츠 스타일 */
.binggrae-detail-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FBA202, #FBDB02);
    border-radius: 8px;
}

.binggrae-detail-content .content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.binggrae-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.binggrae-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.binggrae-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 아트뮤지엄 상세 콘텐츠 스타일 */
.art-museum-detail-content {
    width: 100%;
    height: 100%;
}

.art-museum-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.art-museum-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.art-museum-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.art-museum-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 아트뮤지엄 디테일에서만 1px 문제 해결 */
.art-museum-detail-content .content-image,
.art-museum-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 사랑의 열매 상세 콘텐츠 스타일 */
.love-fruit-detail-content {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, #FF6B6B, #FF8E8E); */
    border-radius: 8px;
}

.love-fruit-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.love-fruit-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.love-fruit-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.love-fruit-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 사랑의 열매 디테일에서만 1px 문제 해결 */
.love-fruit-detail-content .content-image,
.love-fruit-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 코코브루니 상세 콘텐츠 스타일 */
.coco-bruni-detail-content {
    width: 100%;
    height: 100%;
}

.coco-bruni-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.coco-bruni-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coco-bruni-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.coco-bruni-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 코코브루니 디테일에서만 1px 문제 해결 */
.coco-bruni-detail-content .content-image,
.coco-bruni-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 재무관리 시스템 상세 콘텐츠 스타일 */
.dashboard-detail-content {
    width: 100%;
    height: 100%;
}

.dashboard-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dashboard-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.dashboard-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 재무관리 시스템 디테일에서만 1px 문제 해결 */
.dashboard-detail-content .content-image,
.dashboard-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 현대 상세 콘텐츠 스타일 */
.hyundai-detail-content {
    width: 100%;
    height: 100%;
}

.hyundai-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hyundai-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hyundai-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.hyundai-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 현대 디테일에서만 1px 문제 해결 */
.hyundai-detail-content .content-image,
.hyundai-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 의료기기1 상세 콘텐츠 스타일 */
.medical-device1-detail-content {
    width: 100%;
    height: 100%;
}

.medical-device1-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.medical-device1-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.medical-device1-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.medical-device1-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 의료기기1 디테일에서만 1px 문제 해결 */
.medical-device1-detail-content .content-image,
.medical-device1-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

/* 의료기기2 상세 콘텐츠 스타일 */
.medical-device2-detail-content {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
}

.medical-device2-detail-content .content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.medical-device2-detail-content .content-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.medical-device2-detail-content .content-image {
    max-width: 100%;
    height: auto;
}

.medical-device2-detail-content .content-video {
    max-width: 100%;
    height: auto;
}

/* 의료기기2 디테일에서만 1px 문제 해결 */
.medical-device2-detail-content .content-image,
.medical-device2-detail-content .content-video {
    margin: 0;
    padding: 0;
    display: block;
}

.detail-image-container iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
}







/* 포트폴리오 섹션이 밀려나는 효과 - 제거됨 */

/* 썸네일 이미지 숨기기 */
.work-thumbnail img.shifted {
    opacity: 1;
}

/* 썸네일 텍스트와 태그만 보이게 */
.work-item.shifted .work-thumbnail {
    background-color: transparent;
    display: block;
    align-items: normal;
    justify-content: normal;
    min-height: auto;
}

.work-item.shifted .work-title {
    margin-top: 10px;
    text-align: left;
}

.work-item.shifted .work-tags {
    position: absolute;
    justify-content: flex-start;
    margin-top: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .detail-content {
        padding: 20px;
    }
    
    .work-grid {
        max-height: none;
        /* max-height: calc(100vh - 250px); */
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: none;
    }
    
    .projects-section {
    width: 100%;
        max-width: none;
        flex: 1;
    }
    
    .projects-section::after {
        display: none;
    }
    
    .project-detail-section {
        display: none !important;
    }
    
    .work-grid {
        max-height: 60vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .load-more-container {
        display: block;
    }
    
    .work-item {
        height: 60px;
        padding: 15px 10px;
    }
    
    .work-title {
        font-size: 18px;
    }
    
    .work-tag {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .section-title {
        font-size: 16px;
        top: 10px;
    }
    
    .detail-section-title {
        font-size: 16px;
    }
    
    .detail-image {
    max-width: 100%;
        height: auto;
    }
    

}

@media (max-width: 800px) {
    .portfolio-grid {
        padding: 10px 1rem;
    }
}

@media (max-width: 480px) {
    
    .main-content {
        padding: 0;
    }
    
    .portfolio-grid {
        padding: 10px 1rem;
        gap: 15px;
        max-width: none;
    }
    
    .projects-section {
        flex: 1;
    }
    
    .projects-section::after {
        display: none;
    }
    
    .work-grid {
        max-height: 60vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .load-more-container {
        display: block;
    }
    
    .work-item {
        height: 55px;
        padding: 12px 8px;
    }
    
    .work-title {
        font-size: 15px;
    }
    
    .work-tag {
        font-size: 10px;
        padding: 1px 5px;
    }
    
    .section-title,
    .detail-section-title {
        font-size: 14px;
    }
    
    .detail-image {
        max-width: 100%;
        height: auto;
    }
    
    .work-thumbnail img {
        max-width: 100%;
        height: auto;
    }
    
    .portfolio-grid {
        margin-bottom: 60px;
    }
    
    .mobile-footer {
        display: block;
    }
    
    .modal-content {
        margin: 5vh auto;
        /* padding: 20px; */
        width: 95%;
        height: 90vh;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-item {
    animation: fadeIn 0.6s ease-out;
}

.work-item:nth-child(2) { animation-delay: 0.1s; }
.work-item:nth-child(3) { animation-delay: 0.2s; }
.work-item:nth-child(4) { animation-delay: 0.3s; }
.work-item:nth-child(5) { animation-delay: 0.4s; }
.work-item:nth-child(6) { animation-delay: 0.5s; }
.work-item:nth-child(7) { animation-delay: 0.6s; }
.work-item:nth-child(8) { animation-delay: 0.7s; }
.work-item:nth-child(9) { animation-delay: 0.8s; }

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5vh auto;
    /* padding: 30px; */
    /* border: 1px solid #333333; */
    border-radius: 12px;
    width: 90%;
    /* max-width: 600px; */
    height: 90vh;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #191919;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

.modal-close:hover {
    color: #ffc14d;
}

.modal-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.modal-content-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

/* 모바일 모달에서 동적 콘텐츠 스타일 */
.modal-content-container .binggrae-detail-content,
.modal-content-container .art-museum-detail-content,
.modal-content-container .love-fruit-detail-content {
    width: 100%;
    height: auto;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-content-container .content-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 1rem;
}

.modal-content-container .content-item {
    width: 100%;
    margin-bottom: 1rem;
}

.modal-content-container .content-image,
.modal-content-container .content-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #191919;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* Price 모달 스타일 */
.price-modal-content {
    text-align: center;
    padding: 60px 40px;
    max-width: 500px;
    width: 90%;
}

.price-coming-soon h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #191919;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.price-coming-soon p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Price 페이지 스타일 */
.price-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.price-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.price-content .price-coming-soon h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #191919;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.price-content .price-coming-soon p {
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .price-content .price-coming-soon h1 {
        font-size: 2.5rem;
    }
    
    .price-content .price-coming-soon p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .price-content .price-coming-soon h1 {
        font-size: 2rem;
    }
    
    .price-content .price-coming-soon p {
        font-size: 1rem;
    }
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #191919;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.modal-tag {
    background-color: rgba(255, 193, 77, 0.1);
    color: #ffc14d;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: 1px solid #ffc14d;
}

/* Footer */
.footer {
    width: 100%;
    background: #f0f0f0;
    padding: 30px 0;
    border-top: 1px solid #c5c5c5;
}

.footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo,
.footer-info {
    width: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo-img {
    width: 120px !important;
    opacity: 0.3 !important;
    height: 40px !important;
    display: block !important;
    object-fit: contain !important;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    color: #cccccc;
    margin-bottom: 0.3rem;
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #191919;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 0.43;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #FFC14D;
}

/* 모바일 푸터 */
.mobile-footer {
    display: none;
    height: 60px;
    background-color: #1a1a1a;
}

/* 로딩 컨테이너 */
.load-more-container {
    text-align: center;
    padding: 20px 0;
}

.load-more-btn {
    background: none;
    border: 1px solid #666666;
    color: #191919;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: #666666;
    color: #191919;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #666666;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 서비스 섹션 스타일 (피그마 디자인) - 주석 처리됨 */
/* .services-section {
    background-color: #1a1a1a;
    padding: 30vh 20px;
    position: relative;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
} */

/* 기존 서비스 섹션 CSS - 주석 처리됨 */
/* .services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.services-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.services-main-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    color: #F8F9FA;
    margin: 0 auto 30px auto;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0.3;
    filter: blur(5px);
    transition: opacity var(--scroll-reveal-duration, 0.9s) ease-out,
                filter var(--scroll-reveal-duration, 0.9s) ease-out;
}

.services-main-title.is-visible {
    opacity: 1;
    filter: blur(0);
}

.title-svg {
    width: fit-content;
    height: auto;
    display: block;
    object-fit: contain;
    filter: invert(1) brightness(2);
    color: rgba(255, 255, 255, 1);
}

.services-title-text {
    display: none;
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #F8F9FA;
} */



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* 
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-list .service-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(30px, 5vw, 55px);
    color: #F8F9FA;
    letter-spacing: -2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.services-list .service-item.bordered {
    border-top: 2px solid transparent;
    padding: 0 20px;
}

.services-list > .service-item.bordered:last-child {
    border-bottom: 2px solid transparent;
}

.services-list .service-item:hover .service-en,
.services-list .service-item:hover .service-kr,
.services-list .service-item:focus-visible .service-en,
.services-list .service-item:focus-visible .service-kr {
    color: #191919;
}

.services-list .service-item .service-en,
.services-list .service-item .service-kr {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-en {
    white-space: nowrap;
}

.service-kr {
    white-space: nowrap;
}

.services-list .service-item.bordered::before,
.services-list > .service-item.bordered:last-child::after {
    content: '';
    position: absolute;
    left: 20px;
    height: 2px;
    width: 0;
    background: #F8F9FA;
    transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.services-list .service-item.bordered::before {
    top: 0;
}

.services-list > .service-item.bordered:last-child::after {
    bottom: 0;
}

.services-list .service-item.bordered.is-visible::before,
.services-list > .service-item.bordered:last-child.is-visible::after {
    opacity: 1;
}

.services-list .service-item.bordered.is-visible::before {
    transition-delay: 0.2s;
    width: calc(100% - 40px);
}

.services-list > .service-item.bordered:last-child.is-visible::after {
    transition-delay: 0.2s;
    width: calc(100% - 40px);
}

.services-list .service-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    right: 20px;
    background: #ffef43;
    opacity: 0;
    transform: scaleY(0.96);
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.services-list .service-item:hover .service-bg,
.services-list .service-item:focus-visible .service-bg {
    opacity: 1;
    transform: scaleY(1);
}
*/

/* 상단 구분선 */
/* .services-divider {
    display: flex;
        align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.divider-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    width: 1514px;
    height: 1px;
    background: #777777;
    margin: 0 20px;
}
*/

/* 제목 */
/* .services-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    justify-content: center;
    padding: 0px;
    gap: 19px;
    width: 347.19px;
    height: 102px;
    margin: 0 auto 80px auto;
}

.title-star {
    width: 75.75px;
    height: 75.75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.title-star img {
    width: 75.75px;
    height: 75.75px;
}

.title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    width: 254px;
    height: 102px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.title-line1 {
    width: 229px;
    height: 51px;
    font-family: 'SEBANG Gothic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 51px;
    color: #707070;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.title-line2 {
    width: 254px;
    height: 51px;
    font-family: 'SEBANG Gothic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 51px;
    color: #FFFFFF;
    flex: none;
    order: 1;
    flex-grow: 0;
} */

/* Stagger Text 효과 */
.stagger-text {
    overflow: hidden;
}

.stagger-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-text.animate .char {
    opacity: 1;
    transform: translateY(0);
}

/* 각 글자마다 지연 시간 적용 */
.stagger-text .char:nth-child(1) { transition-delay: 0.1s; }
.stagger-text .char:nth-child(2) { transition-delay: 0.2s; }
.stagger-text .char:nth-child(3) { transition-delay: 0.3s; }
.stagger-text .char:nth-child(4) { transition-delay: 0.4s; }
.stagger-text .char:nth-child(5) { transition-delay: 0.5s; }
.stagger-text .char:nth-child(6) { transition-delay: 0.6s; }
.stagger-text .char:nth-child(7) { transition-delay: 0.7s; }
.stagger-text .char:nth-child(8) { transition-delay: 0.8s; }
.stagger-text .char:nth-child(9) { transition-delay: 0.9s; }
.stagger-text .char:nth-child(10) { transition-delay: 1.0s; }
.stagger-text .char:nth-child(11) { transition-delay: 1.1s; }
.stagger-text .char:nth-child(12) { transition-delay: 1.2s; }
.stagger-text .char:nth-child(13) { transition-delay: 1.3s; }
.stagger-text .char:nth-child(14) { transition-delay: 1.4s; }
.stagger-text .char:nth-child(15) { transition-delay: 1.5s; }

/* Fade In Typography 효과 */
.fade-in-text {
    overflow: hidden;
}

.fade-in-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-text.animate .word {
    opacity: 1;
    transform: translateY(0);
}

/* 각 단어마다 지연 시간 적용 */
.fade-in-text .word:nth-child(1) { transition-delay: 0.1s; }
.fade-in-text .word:nth-child(2) { transition-delay: 0.2s; }
.fade-in-text .word:nth-child(3) { transition-delay: 0.3s; }
.fade-in-text .word:nth-child(4) { transition-delay: 0.4s; }
.fade-in-text .word:nth-child(5) { transition-delay: 0.5s; }

/* Portfolio Title Link */
.portfolio-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (max-width:500px) {
   .portfolio-title-link {
    font-size: 1.5rem;
   }
}

.portfolio-title-link:hover {
    color: #191919;
}

/* Contact Title 줄바꿈 처리 */
.contact-title .fade-in-text {
    white-space: pre-line;
    line-height: 1.2;
    display: block;
}

.contact-title h2 {
    font-family: 'SEBANG_Gothic_Bold', 'SEBANG Gothic', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333333;
    margin: 0;
    text-align: left;
}

/* ScrollReveal 애니메이션 - 블러와 불투명도 */
.scroll-reveal {
    opacity: 0.3;
    filter: blur(5px);
    transition: all 0.3s ease-out;
}

/* 서비스 그리드 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: start;
    justify-items: stretch;
    transition: grid-template-columns 0.3s ease;
        width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 1200px 이하에서도 4열 유지 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

/* 500px 이하에서 2열 */
@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-items: stretch;
        width: 100%;
    }
    .services-container {
        padding: 0;
    }
    .service-card {
        width: 100%;
        min-width: unset;
    }

    /* 모바일에서만 컨텐츠 제목 중앙정렬 */
    .contact-title h2 {
        text-align: center;
    }
}

/* 480px 이하 최적화 */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
    }
}

/* 400px 이하에서 1열 중앙정렬 */
@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: center;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* 360px 이하 초소형 모바일 */
@media (max-width: 360px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 8px;
        max-width: 340px;
    }
}

/* 서비스 카드 
.service-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px 30px 20px;
        gap: 0;
    width: 100%;
    height: 450px;
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    flex: none;
    order: 1;
    flex-grow: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    aspect-ratio: unset;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
*/

/* 서비스 카드 애니메이션 
.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: #ffc14d;
    background: rgba(26, 26, 26, 0.85);
}

.service-card:hover .card-content h3 {
    color: #ffc14d;
}

.service-card:hover .tag {
    border-color: #ffc14d;
    background: rgba(255, 193, 77, 0.1);
    color: #ffc14d;
}

.service-card:hover .card-content p {
    color: #f0f0f0;
}
*/
/* 카드 컨텐츠 래퍼 */
.card-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    order: 2;
        width: 100%;
}

/* 카드 컨텐츠 */
.card-content {
    width: 100%;
    display: flex;
        flex-direction: column;
        align-items: center;
    justify-content: space-between;
    flex: 1;
}

/* 카드 헤더 콘텐츠 */
.card-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 태그를 위쪽으로 이동 */
.card-tags {
    display: flex;
    flex-wrap: wrap;
        justify-content: center;
    margin-bottom: 5px;
    order: 1;
    width: 100%;
}


.card-content h3 {
    font-family: 'SEBANG Gothic', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #191919;
    margin: 0;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.card-content p {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #191919;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
    letter-spacing: -0.3px;
}

/* 텍스트 정렬은 중앙 유지 */

/* 서비스 상세 내용 */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 45px;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    flex: 1;
}

.service-details .service-item {
    background: transparent;
        border: none;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.service-details .service-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
    flex: 0 0 auto;
    width: 70px;
}

.service-details .title-kr {
    font-family: 'SEBANG Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fefefe;
    letter-spacing: -0.32px;
    line-height: 1.2;
}

.service-details .title-en {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #fefefe;
    letter-spacing: -0.26px;
    line-height: 1.2;
}

.service-details .service-desc {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #fefefe;
    margin: 0;
    letter-spacing: -0.24px;
    line-height: 1.3;
    flex: 1;
    text-align: left;
    padding-left: 8px;
        display: flex;
    align-items: center;
    height: 100%;
    justify-content: flex-start;
    -webkit-line-clamp: 2;
    line-clamp: inherit;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card:hover .service-details {
    opacity: 1;
}

.service-card:hover .service-details .title-kr,
.service-card:hover .service-details .title-en {
    color: #ffc14d;
}

.service-card:hover .service-details .service-desc {
    color: #f0f0f0;
}

/* 태그 */
.tag {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    padding: 4px 8px;
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #191919;
    text-align: center;
    letter-spacing: -0.26px;
    line-height: 15.51px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease;
}

.service-card:hover .tag::before {
    left: 100%;
}

/* 상세 정보 (기본적으로 숨김) */
/* 디테일 섹션 제거됨 - 호버 효과만 유지 */

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
}

/* 반응형 */
/* @media (max-width: 1440px) {
    타이틀 크기 조정 없음
}

@media (max-width: 1024px) {
    .services-list .service-item {
        font-size: 45px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 0 10px;
        margin: 0;
        width: 100%;
        height:100vh;
    }

    .services-main-title {
        white-space: normal;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .services-main-title .title-svg {
        display: none;
    }

    .services-main-title[data-scroll-reveal] {
        opacity: 1;
        transform: none;
    }

    .services-title-text {
        display: block;
        font-size: clamp(32px, 10vw, 44px);
        text-align: center;
    }

    .services-list .service-item {
        padding: 0 20px;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        justify-content: center;
    }

    .services-list .service-kr {
        font-size: 18px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .services-list .service-item {
        font-size: 24px;
        height: 70px;
    }

    .services-list .service-kr {
        font-size: 16px;
    }
} */

    .card-content p {
        font-size: 14px;
    }




/* 새로운 포트폴리오 섹션 */
.portfolio-section {
    background-color: #fff;
    /*background-image:
        linear-gradient(90deg, rgba(240, 240, 240, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(240, 240, 240, 0.08) 1px, transparent 1px);*/
    background-size: 50px 50px;
    background-repeat: repeat;
    background-position: 0 0;
    padding: 30vh 20px 144px 20px;
    margin: 0;
    color: #191919;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.portfolio-scallop-bottom {
    width: 100%;
    height: 34px;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    color: rgba(25, 25, 25, 0);
}

.services-scallop-top {
    width: 100%;
    height: 0px;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

.scroll-banner-scallop-top {
    width: 100%;
    height: 20px;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

/* 모바일에서 scroll-banner-scallop-top 높이 축소 */
@media (max-width: 768px) {
    .scroll-banner-scallop-top {
        height: 13.33px;
    }
}

/* 480px 이하에서 모든 scallop 높이 절반으로 */
@media (max-width: 480px) {
    .portfolio-scallop-bottom,
    .services-scallop-top,
    .scroll-banner-scallop-top {
        height: 10px;
    }
}

/* 360px 이하에서 모든 scallop 높이 절반으로 */
@media (max-width: 360px) {
    .portfolio-scallop-bottom,
    .services-scallop-top,
    .scroll-banner-scallop-top {
        height: 10px;
    }
}

.portfolio-subtitle {
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 1.7vw, 25px);
    color: #191919;
    letter-spacing: -2px;
    line-height: 1.2;
    background: #ffffff;
    border: 2px solid #191919;
    border-radius: 0;
    padding: 12px 24px;
    display: inline-block;
    opacity: 1;
    user-select: none;
    pointer-events: auto;
    z-index: 10;
    position: absolute;
    top: 70%;
    transform: translate(-50%, -50%);
    box-shadow: 4px 7px 0px #191919;
}

.card-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-image img:hover {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* 카드 정보 */
.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 80px;
    overflow: hidden;
    flex-shrink: 0;
}

/* 프로젝트 이름 */
.project-name {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(30px, 3.5vw, 40px);
    max-width: 60%;
    word-break: keep-all;
    line-height: 40px;
    color: #191919;
    letter-spacing: -2px;
    margin: 0;
}

/* 프로젝트 태그 */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.project-tags .tag {
    border: 2px solid #191919;
    background: transparent;
    color: #191919;
    border-radius: 4px;
    padding: 10px 9px;
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(15px, 1vw, 18px);
    line-height: clamp(15px, 1vw, 18px);
    letter-spacing: -0.84px;
    text-transform: uppercase;
}

/* VIEW ALL WORK 버튼 */
.portfolio-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.view-all-btn {
    background: rgba(255, 239, 67, 0.87);
    border: 2px solid #191919;
    color: #191919;
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -2px;
    text-transform: uppercase;
    padding: 15px 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #ffef43;
    box-shadow: 4px 7px 0px #191919;
}

@media (max-width: 768px) {
    .portfolio-subtitle {
        padding: 18px 40px;
    }

    .portfolio-section {
        padding: 20vh 15px 80px 15px;
        margin-top: -5px;
        width: 100%;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
        row-gap: 0px;
    }
    
    .portfolio-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        gap: 0px;
        height: auto;
        margin-bottom: 20px;
    }

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

    .card-image {
        height: 400px;
    }

    .card-image img {
        height: 400px;
    }

    .project-name {
        letter-spacing: -1.6px;
    }

    .project-tags .tag {
        padding: 8px;
    }

    .view-all-btn {
        font-size: 28px;
        padding: 12px 30px;
    }
}

@media (max-width: 500px) {
    .portfolio-subtitle {
        padding: 14px 28px;
    }

    .portfolio-section {
        padding: 15vh 15px 60px 15px;
        margin-top: -1px;
    }
    .card-image {
        height: 400px;
    }

    .card-image img {
        height: 400px;
    }

    .card-info {
        padding: 0;
    }

    .project-name {
        letter-spacing: -1.4px;
        margin-bottom: 0;
    }

    .project-tags {
        gap: 5px;
    }

    .project-tags .tag {
        padding: 6px;
    }

    .view-all-btn {
        font-size: 24px;
        padding: 10px 25px;
    }
}

/* 포트폴리오 페이지 히어로 섹션 */
.portfolio-hero {
    background: #f0f0f0;
    padding: 120px 0 80px;
    text-align: center;
}

.portfolio-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.portfolio-hero p {
    font-size: 20px;
    color: #999999;
    margin: 0;
}

/* 반응형 - 포트폴리오 히어로 */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 0 60px;
    }
    
    .portfolio-hero h1 {
        font-size: 48px;
    }
    
    .portfolio-hero p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        padding: 80px 0 40px;
    }

    .portfolio-hero h1 {
        font-size: 36px;
    }

    .portfolio-hero p {
        font-size: 16px;
        font-size: clamp(18px, 4vw, 32px);
        padding: 12px 25px;
    }

    .portfolio-section {
        padding: 15vh 15px 60px 15px;
    }

    .portfolio-card {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .card-image {
        height: 400px;
    }

    .card-image img {
        height: 400px;
    }

    .card-info {
        padding: 0;
    }


    .project-tags .tag {
        font-size: clamp(12px, 2vw, 23px);
    }

    .project-name {
        letter-spacing: -1.4px;
        margin-bottom: 0;
    }
    
    .project-tags {
        gap: 8px;
    }
    
    .tag {
        font-size: 16px;
        padding: 5px 8px;
    }
    
    .view-all-btn {
        font-size: 24px;
        padding: 10px 25px;
    }
}

@media (max-width: 360px) {
    .card-info {
        padding: 0;
    }

    .portfolio-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .project-tags .tag {
        font-size: clamp(12px, 2vw, 23px);
    }
}


/* 포트폴리오 페이지 히어로 섹션 */
.portfolio-hero {
    background: #f0f0f0;
    padding: 120px 0 80px;
    text-align: center;
}

.portfolio-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.portfolio-hero p {
    font-size: 20px;
    color: #999999;
    margin: 0;
}

/* 반응형 - 포트폴리오 히어로 */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 0 60px;
    }
    
    .portfolio-hero h1 {
        font-size: 48px;
    }
    
    .portfolio-hero p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        padding: 80px 0 40px;
    }
    
    .portfolio-hero h1 {
        font-size: 36px;
    }
    
    .portfolio-hero p {
        font-size: 16px;
    }
}

/* Text weight utilities (moved from about-new.css) */
.text-bold {
    font-weight: 900;
}

.text-regular {
    font-weight: 400;
}

/* SVG Filter utility (moved from gooey-text.css) */
.gooey-svg-filter {
    position: absolute;
    width: 0;
    height: 0;
    visibility: hidden;
}






/*포트폴리오 스타일 제거금지*/
/* 새로운 포트폴리오 섹션 */

.services-scallop-top {
    width: 100%;
    height: 20px;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

.scroll-banner-scallop-top {
    width: 100%;
    height: 20px;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

/* 모바일에서 scroll-banner-scallop-top 높이 축소 */
@media (max-width: 768px) {
    .scroll-banner-scallop-top {
        height: 13.33px;
    }
}

/* 480px 이하에서 모든 scallop 높이 절반으로 */
@media (max-width: 480px) {
    .portfolio-scallop-bottom,
    .services-scallop-top,
    .scroll-banner-scallop-top {
        height: 10px;
    }
}

/* 360px 이하에서 모든 scallop 높이 절반으로 */
@media (max-width: 360px) {
    .portfolio-scallop-bottom,
    .services-scallop-top,
    .scroll-banner-scallop-top {
        height: 10px;
    }
}

.portfolio-subtitle.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.portfolio-title-section {
    text-align: center;
    width: 50%;
    margin:0 auto;
    z-index: 1; 
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 포트폴리오 컨테이너 */
.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 47px;
    width: 100%;
    max-width: 100%;
}

/* 포트폴리오 그리드 기본 스타일 (PC/태블릿 2열) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    row-gap: 20px;
    width: 100%;
    margin: 0 auto;
    height: fit-content;
}

/* 포트폴리오 카드 */
.portfolio-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.portfolio-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .portfolio-subtitle {
        font-size: clamp(28px, 4.5vw, 38px);
        padding: 18px 40px;
    }

    .portfolio-section {
        padding: 20vh 15px 80px 15px;
        margin: 0;
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 500px;
    }

    .project-name {
        letter-spacing: -1.6px;
    }

    .project-tags .tag {
        padding: 8px;
    }

    .view-all-btn {
        font-size: 28px;
        padding: 12px 30px;
    }
}

@media (max-width: 500px) {
    .portfolio-subtitle {
        font-size: clamp(20px, 5.5vw, 28px);
        padding: 14px 28px;
    }

    .portfolio-section {
        padding: 15vh 15px 60px 15px;
    }

    .card-image {
        height: 400px;
    }

    .card-info {
        padding: 0;
    }

    .project-name {
        letter-spacing: -1.4px;
        margin-bottom: 0;
    }

    .project-tags {
        gap: 5px;
    }

    .project-tags .tag {
        padding: 6px;
    }

    .view-all-btn {
        font-size: 24px;
        padding: 10px 25px;
    }
}