/* 메인 페이지 섹션 스타일 */

/* idx-section 기본 스타일 */
.idx-section {
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.idx-section .section-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.idx-section .section-head {
    text-align: center;
    margin-bottom: 60px;
}

.idx-section.aboutus .section-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #5d9338;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.idx-section.aboutus .section-head h3 {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.idx-section.aboutus p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    word-break: keep-all;
}

.idx-section.aboutus .idx_btn {
    text-align: left;
    margin-top: 0;
}

.idx-section.aboutus .idx_btn a {
    display: inline-block;
    padding: 0;
    background: none;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: color 0.3s ease;
}

.idx-section.aboutus .idx_btn a:hover {
    color: #5d9338;
    transform: translateX(5px);
}

.idx-section.aboutus .idx_btn a::after {
    content: " →";
    margin-left: 8px;
}

.idx-section.aboutus {
    background-color: #fff;
    padding: 120px 0 60px 0;
    overflow: hidden;
}

.idx-section.aboutus .section-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1500px;
}

.idx-section.aboutus .aboutusimg {
    width: 50%;
    height: 500px;
    background-image: url('../img/aboutusimg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
}

.idx-section.aboutus .aboutusimg:hover {
    transform: scale(1.05) !important;
}

.idx-section.aboutus .content-area {
    width: 50%;
    padding-left: 40px;
    opacity: 0;
    transform: translateX(50px);
}

.idx-section.aboutus .section-head {
    text-align: left;
    margin-bottom: 30px;
}


/* Products 섹션 */
.idx-section.products {
    background-color: #fff;
    padding: 60px 0 120px 0;
    overflow: hidden;
}

.idx-section.products .section-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1500px;
}

.idx-section.products .productsimg {
    width: 50%;
    height: 500px;
    background-image: url('../img/pd.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
}

.idx-section.products .productsimg:hover {
    transform: scale(1.05) !important;
}

.idx-section.products .content-area {
    width: 50%;
    padding-right: 40px;
    opacity: 0;
    transform: translateX(-50px);
}

.idx-section.products .section-head {
    text-align: left;
    margin-bottom: 30px;
}

.idx-section.products .section-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #5d9338;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.idx-section.products .section-head h3 {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.idx-section.products p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    word-break: keep-all;
}

.idx-section.products .idx_btn {
    text-align: left;
    margin-top: 0;
}

.idx-section.products .idx_btn a {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.idx-section.products .idx_btn a:hover {
    color: #5d9338;
    transform: translateX(5px);
}

.idx-section.cmcm .section-head {
    text-align: left;
    margin-bottom: 30px;
}
/* B2B, B2C 버튼 스타일 */
.idx-section.products .b2b-b2c-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
}

.idx-section.products .b2b-btn,
.idx-section.products .b2c-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 200px;
    border: 2px solid transparent;
}

.idx-section.products .b2b-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.idx-section.products .b2b-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e0841a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.idx-section.products .b2c-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.idx-section.products .b2c-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Business Area 섹션 - 강제 적용 */
.idx-section.bzpd {
    background-color: #fff !important;
    padding: 120px 0 !important;
}

.idx-section.bzpd .section-head {
    text-align: center !important;
    margin-bottom: 60px !important;
}

.idx-section.bzpd .section-head h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #5d9338 !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.idx-section.bzpd .section-head h3 {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #000 !important;
    line-height: 1.3 !important;
    margin-bottom: 30px !important;
    letter-spacing: -1px !important;
}

.idx-section.bzpd ul {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    list-style: none;
    padding: 0;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.idx-section.bzpd ul li {
    flex: 1;
    background-color: #fff !important;
    border-radius: 15px !important;
    padding: 0 !important;
    text-align: center !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    opacity: 0;
    transform: translateY(50px);
}


.idx-section.bzpd ul li:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.idx-section.bzpd ul li img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 15px 15px 0 0 !important;
    margin-bottom: 0 !important;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.idx-section.bzpd ul li:hover img {
    transform: scale(1.05) !important;
}

.idx-section.bzpd ul li .card-content {
    padding: 30px 25px !important;
}

.idx-section.bzpd ul li h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #5d9338 !important;
    margin-bottom: 15px !important;
    letter-spacing: -0.5px !important;
}

.idx-section.bzpd ul li p {
    font-size: 16px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    word-break: keep-all !important;
}

.idx-section.bzpd ul li .idx_btn {
    margin-top: 0 !important;
}

.idx-section.bzpd ul li .idx_btn a {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: none !important;
    color: #000 !important;
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.idx-section.bzpd ul li .idx_btn a:hover {
    background: #5d9338 !important;
    color: #fff !important;
    border-color: #5d9338 !important;
    transform: translateY(-2px) !important;
}

/* Customer Service 섹션 */
.idx-section.cmcm {
    background-image: url('../img/cmproducts.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.idx-section.cmcm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.idx-section.cmcm .section-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1500px;
    position: relative;
    z-index: 2;
}

.idx-section.cmcm .content-area {
    width: 50%;
    padding-left: 40px;
    opacity: 0;
    transform: translateX(-50px);
}

.idx-section.cmcm .section-head {
    text-align: left;
    margin-bottom: 30px;
}

.idx-section.cmcm .section-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #5d9338;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.idx-section.cmcm .section-head h3 {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.idx-section.cmcm p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    word-break: keep-all;
}

.idx-section.cmcm .idx_btn {
    text-align: left;
    margin-top: 0;
}

.idx-section.cmcm .idx_btn a {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.idx-section.cmcm .idx_btn a:hover {
    color: #5d9338;
    transform: translateX(5px);
}

.idx-section.cmcm .cmcmimg {
    width: 50%;
    height: 500px;
    background-image: url('../img/m_cmproducts.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
}

.idx-section.cmcm .cmcmimg:hover {
    transform: scale(1.05) !important;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .idx-section .section-wrap {
        padding: 0 40px;
    }
    
    .idx-section.aboutus .section-wrap {
        flex-direction: column;
        gap: 20px;
    }
    
    .idx-section.aboutus .aboutusimg,
    .idx-section.aboutus .content-area {
        width: 100%;
    }
    
    .idx-section.aboutus .content-area {
        padding-left: 0;
        order: 1;
    }
    
    .idx-section.aboutus .aboutusimg {
        order: 2;
    }
    
    .idx-section.aboutus .section-head {
        text-align: center;
    }
    
    .idx-section.aboutus .section-head h2 {
        font-size: 18px;
        font-weight: 700;
        color: #5d9338;
        margin-bottom: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .idx-section.aboutus .section-head h3 {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #000;
    }
    
    .idx-section.aboutus p {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.7;
        color: #555;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    
    .idx-section.aboutus .idx_btn {
        text-align: center;
        margin-top: 10px;
    }
    
    .idx-section.aboutus p br {
        display: none;
    }
    
    .idx-section.products .section-wrap {
        flex-direction: column;
        gap: 20px;
    }
    
    .idx-section.products .productsimg,
    .idx-section.products .content-area {
        width: 100%;
    }
    
    .idx-section.products .content-area {
        padding-right: 0;
        order: 1;
    }
    
    .idx-section.products .productsimg {
        order: 2;
    }
    
    .idx-section.products .section-head {
        text-align: center;
    }
    
    .idx-section.products .section-head h2 {
        font-size: 18px;
        font-weight: 700;
        color: #5d9338;
        margin-bottom: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .idx-section.products .section-head h3 {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #000;
    }
    
    .idx-section.products p {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.7;
        color: #555;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    
    .idx-section.products .idx_btn {
        text-align: center;
        margin-top: 10px;
    }
    
    .idx-section.products p br {
        display: none;
    }
    
  
    .idx-section.cmcm .section-wrap {
        flex-direction: column;
        gap: 20px;
    }
    
    .idx-section.cmcm .content-area,
    .idx-section.cmcm .cmcmimg {
        width: 100%;
    }
    
    .idx-section.cmcm .content-area {
        padding-left: 0;
        order: 1;
    }
    
    .idx-section.cmcm .cmcmimg {
        order: 2;
    }
    
    .idx-section.cmcm .section-head {
        text-align: center;
    }
    
    .idx-section.cmcm .section-head h2 {
        font-size: 18px;
        font-weight: 700;
        color: #5d9338;
        margin-bottom: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .idx-section.cmcm .section-head h3 {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #000;
    }
    
    .idx-section.cmcm p {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.7;
        color: #555;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    
    .idx-section.cmcm .idx_btn {
        text-align: center;
        margin-top: 10px;
    }
    
    .idx-section.bzpd .section-head h2 {
        font-size: 18px;
        font-weight: 700;
        color: #5d9338;
        margin-bottom: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .idx-section.bzpd .section-head h3 {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #000;
    }
    
    .idx-section.bzpd ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .idx-section {
        padding: 15px 0 !important;
    }
    
    .idx-section.aboutus {
        padding: 30px 0 15px 0 !important;
    }
    
    .idx-section.products {
        padding: 15px 0 30px 0 !important;
    }
    
    .idx-section .section-head h2 {
        font-size: 32px;
    }
    
    .idx-section .section-head h3 {
        font-size: 20px;
    }
    
    .idx-section p {
        font-size: 16px;
    }
    
    .idx-section.aboutus .aboutusimg {
        height: 300px;
    }
    
    .idx-section.aboutus .section-head h2 {
        font-size: 16px;
    }
    
    .idx-section.aboutus .section-head h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .idx-section.aboutus p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .idx-section.aboutus .idx_btn {
        margin-top: 10px;
    }
    
    .idx-section.products .productsimg {
        height: 300px;
    }
    
    .idx-section.products .section-head h2 {
        font-size: 16px;
    }
    
    .idx-section.products .section-head h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .idx-section.products p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .idx-section.products .idx_btn {
        margin-top: 10px;
    }
    
    .idx-section.cmcm {
        background-image: url('../img/mm_cmproducts.jpg');
        background-size: cover;
        background-position: center;
		padding: 120px 0 !important;
        background-repeat: no-repeat;
    }
    
    .idx-section.cmcm .cmcmimg {
        height: 300px;
    }
    
    .idx-section.cmcm .section-head h2 {
        font-size: 16px;
    }
    
    .idx-section.cmcm .section-head h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .idx-section.cmcm p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .idx-section.cmcm .idx_btn {
        margin-top: 10px;
    }
    
    .idx-section.bzpd ul li {
        padding: 30px 20px;
    }
    
    .idx-section.bzpd ul li img {
        height: 150px;
    }
    
    .idx-section.bzpd .section-head h2 {
        font-size: 16px;
    }
    
    .idx-section.bzpd .section-head h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .idx-section.bzpd ul li h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .idx-section {
        padding: 10px 0 !important;
    }
    
    .idx-section.aboutus {
        padding: 20px 0 10px 0 !important;
    }
    
    .idx-section.products {
        padding: 10px 0 20px 0 !important;
    }
    
    .idx-section .section-wrap {
        padding: 0 20px;
    }
    
    .idx-section .section-head h2 {
        font-size: 28px;
    }
    
    .idx-section .section-head h3 {
        font-size: 18px;
    }
    
    .idx-section.aboutus .aboutusimg {
        height: 250px;
    }
    
    .idx-section.aboutus .section-head h2 {
        font-size: 14px;
    }
    
    .idx-section.aboutus .section-head h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .idx-section.aboutus p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .idx-section.aboutus .idx_btn {
        margin-top: 8px;
    }
    .idx-section.products {
        margin-top: 40px;
    }    
    .idx-section.products .productsimg {
        height: 250px;
    }
    
    .idx-section.products .section-head h2 {
        font-size: 14px;
    }
    
    .idx-section.products .section-head h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .idx-section.products p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .idx-section.products .idx_btn {
        margin-top: 8px;
    }

    .idx-section.cmcm {
        background-image: url('../img/mm_cmproducts.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .idx-section.cmcm .cmcmimg {
        height: 250px;
    }
    
    .idx-section.cmcm .section-head h2 {
        font-size: 14px;
    }
    
    .idx-section.cmcm .section-head h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .idx-section.cmcm p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .idx-section.cmcm .idx_btn {
        margin-top: 8px;
    }
    .idx-section.bzpd{
        margin-top: 0px;
    }    
    .idx-section.bzpd ul li {
        padding: 25px 15px;
    }
    
    .idx-section.bzpd ul li img {
        height: 120px;
    }
    
    .idx-section.bzpd .section-head h2 {
        font-size: 14px;
    }
    
    .idx-section.bzpd .section-head h3 {
        font-size: 20px !important;
        line-height: 1.3;
    }
  
    .idx-section.bzpd ul li h4 {
        font-size: 18px;
    }
    
    .idx-section.products .b2b-b2c-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .idx-section.products .b2b-btn,
    .idx-section.products .b2c-btn {
        min-width: auto;
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* 애니메이션 키프레임 */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 초기 애니메이션 상태 - 스크롤 전에는 숨김 */
.idx-section.aboutus .aboutusimg,
.idx-section.aboutus .content-area,
.idx-section.products .productsimg,
.idx-section.products .content-area,
.idx-section.cmcm .cmcmimg,
.idx-section.cmcm .content-area,
.idx-section.bzpd ul li {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 애니메이션 완료 후 상태 */
.idx-section.aboutus .aboutusimg.animated,
.idx-section.products .productsimg.animated,
.idx-section.cmcm .cmcmimg.animated {
    transform: translateX(0);
}
