/* ===================================
   MANUFACTURE PAGE - 통합 CSS
   =================================== */

/* 기본 컨테이너 스타일 */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

.page-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin-top: 400px;
}

.content-section {
    width: 100%;
    max-width: 100vw;
    padding: 20px 0;
}

.section-wrapper {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px;
}

.section-side {
    width: 400px;
    flex-shrink: 0;
    min-width: 0;
}

.section-content {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
}

/* 모든 이미지 반응형 처리 */
img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   TYPOGRAPHY & COMMON ELEMENTS
   =================================== */

.side-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.history-number {
    font-size: 18px;
    color: #ffcd3c;
    display: block;
}

.header-title-2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.space-20 {
    margin: 20px 0;
}

.history-intro {
    position: sticky;
    top: 100px;
}

/* ===================================
   PARTNERS SHOWCASE
   =================================== */

.partners-showcase {
    margin-top: 40px;
}

.partners-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* 태블릿 */
@media (max-width: 1024px) {
    .section-wrapper {
        flex-direction: column;
        padding: 50px 20px;
        max-width: 100%;
    }

    .section-side {
        width: 100%;
        margin-bottom: 30px;
    }

    .partners-showcase {
        padding: 30px;
    }
}

/* 모바일 */
@media (max-width: 768px) {




    .mobile-logo{
        background: white;
    }

    .page-container {
        margin-top: 200px;
    }

    .section-wrapper {
        padding: 30px 15px;
        max-width: 100%;
    }

    .section-side {
        margin-bottom: 20px;
    }

    .side-title {
        font-size: 2rem;
        word-break: keep-all;
    }

    .history-number {
        font-size: 16px;
    }

    .header-title-2 {
        font-size: 1.3rem;
    }

    .partners-showcase {
        padding: 20px;
        margin-top: 30px;
    }

    .contents-header{
        margin-top: 50px !important;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .page-container {
        margin-top: 200px;
    }



    .section-wrapper {
        padding: 0 10px;
    }

    .side-title {
        font-size: 1.5rem;
    }

    .header-title-2 {
        font-size: 1.2rem;
    }

    .partners-showcase {
        padding: 15px;
        margin-top: 20px;
    }

    .contents-header{
        margin-top: 50px !important;
    }
}

/* 제품 설명 페이지 스타일 */
.company-intro-container {
    padding: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px; /* 그리드 컨테이너 최대 너비 설정 */
    margin: 0 auto; /* 가운데 정렬 */
}

.product-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #FFF8E1;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 400px; /* 이미지 영역 고정 높이 설정 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    border-bottom: 2px solid #FFB300; /* 이미지와 텍스트 사이 구분선 추가 */
}

.product-image img {
    max-width: 90%;
    max-height: 500px;
    object-fit: contain; /* 이미지 비율 유지 */
}

.product-text {
    padding: 20px;
}

.product-item h4 {
    margin: 10px 0;
    color: #FFB300;
    font-size: 1.2em;
}

.product-item p {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-link {
    color: #FFB300;
    text-decoration: none;
    font-weight: bold;
}

.product-link:hover {
    text-decoration: underline;
}

.container-header {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding: 0 30px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.container-header::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #FFB300;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 179, 0, 0.2);
}

/* 반응형 처리 */
@media (max-width: 768px) {
    .container-header {
        padding: 50px 0 40px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-title::before,
    .section-title::after {
        width: 60px;
    }
}

