/* biz5.css : 제품소개 (더존핑크방수판넬) 전용 스타일링 */

:root {
    --accent-color: #7ab730; /* 마메든 하우징 포인트 그린 */
    --text-primary: #333;
    --text-secondary: #666;
    --bg-soft: #f9f9f9;
    --bg-light-green: #f0fdf4;
}

/* Layout wrap */
.sub_wrapper { background-color: #fff; min-height: 100vh; }

/* 1. 기본 서브 구조 - 공통 동기화 (biz1/biz6 동일) */
.sub_hero { position: relative; width: 100%; margin: -1px 0 !important; padding: 0 !important; line-height: 0; font-size: 0; overflow: hidden; background: none !important; }
.sub_hero img { width: 100%; height: auto !important; display: block; margin: 0 !important; padding: 0 !important; border: none !important; }
.hero_text_overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; background-color: rgba(0,0,0,0.2); z-index: 10; }
.hero_text_overlay .hero_title { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 10px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); letter-spacing: -1px; }
.hero_text_overlay .hero_subtitle { font-size: 18px; color: #eee; font-weight: 500; text-shadow: 0 2px 5px rgba(0,0,0,0.3); }

.sub_lnb { border-bottom: 1px solid #eee; background-color: #fff; position: relative; z-index: 900; height: 60px; display: flex; align-items: center; margin: 0 !important; padding: 5px !important; border-top: none !important; }
.sub_lnb .lnb_inner { display: flex; align-items: center; gap: 15px; }
.sub_lnb .home_btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background-color: #fff; border: 1px solid #eee; border-radius: 50%; font-size: 16px; color: #444; transition: 0.3s; }
.sub_lnb .home_btn:hover { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.sub_lnb .lnb_item { position: relative; }
.sub_lnb .lnb_btn { height: 44px; padding: 0 25px; background-color: #fff; border: 1px solid #eee; border-radius: 30px; font-size: 14px; font-weight: 600; color: #444; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.sub_lnb .lnb_btn:hover { border-color: var(--accent-color); background: #f9f9f9; }
.sub_lnb .lnb_btn.color_accent { border-color: var(--accent-color); color: var(--accent-color); background-color: var(--bg-light-green); }
.sub_lnb .lnb_dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 160px; background-color: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); display: none; padding: 10px 0; overflow: hidden; z-index: 1000; }
.sub_lnb .lnb_dropdown.show { display: block; }
.sub_lnb .lnb_dropdown li a { display: block; padding: 12px 20px; font-size: 14px; color: #666; transition: 0.2s; font-weight: 500; text-decoration: none; }
.sub_lnb .lnb_dropdown li a:hover,
.sub_lnb .lnb_dropdown li.active a { background-color: #f9f9f9; color: var(--accent-color); font-weight: 700; }

.sub_content_area { padding: 80px 0 120px; }
.sub_content_area .content_inner { display: flex; gap: 80px; }

.sub_sidebar { width: 260px; flex-shrink: 0; }
.sub_sidebar .side_title_box { background: linear-gradient(135deg, var(--accent-color), #82b429); padding: 30px 25px; margin-bottom: 0; border-radius: 12px 12px 0 0; }
.sub_sidebar .side_title { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.sub_sidebar .side_menu_list { border: 1px solid #eee; border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; background: #fff; list-style: none; padding: 0; margin: 0; }
.sub_sidebar .side_menu_list li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font-size: 16px; color: #666; font-weight: 500; border-bottom: 1px solid #f3f4f6; transition: 0.3s; text-decoration: none; }
.sub_sidebar .side_menu_list li.active a { background-color: var(--bg-light-green); color: var(--accent-color); font-weight: 700; }

.sub_main_content { flex: 1; min-width: 0; }

/* 2. biz5 전용 스타일 (더존핑크방수판넬) */
.biz5_wrap { display: flex; flex-direction: column; gap: 0; }

/* 타이틀 디자인 */
.biz_title_section { margin-bottom: 50px; text-align: center; }
.biz_title { font-size: 38px; font-weight: 800; color: #111; letter-spacing: -1.5px; margin-bottom: 10px; }
.biz_title_bar { width: 50px; height: 3px; background: var(--accent-color); margin: 0 auto; }

/* 섹션 타이틀 공통 디자인 */
.sec_title {
    font-size: 24px; font-weight: 800; color: var(--text-primary);
    margin-bottom: 25px; padding-bottom: 12px;
    border-bottom: 1px solid #eee; position: relative;
}
.sec_title::after {
    content: ''; position: absolute; left: 0; bottom: -1px;
    width: 60px; height: 3px; background: var(--accent-color);
}

/* 상단 탭 메뉴 (Sticky 고정) */
.biz_tabs { 
    display: flex; flex-wrap: nowrap; gap: 10px; 
    margin-bottom: 50px; 
    position: sticky; top: 89px; 
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox 숨김 */
}
.biz_tabs::-webkit-scrollbar { display: none !important; }

.biz_tabs .tab_item { 
    padding: 10px 18px; border: 1px solid #ddd; border-radius: 30px; 
    font-size: 14px; font-weight: 600; color: #666; transition: 0.3s; 
    text-decoration: none; background: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}
.biz_tabs .tab_item:hover { border-color: var(--accent-color); color: var(--accent-color); }
.biz_tabs .tab_item.active { background: var(--bg-light-green); border-color: var(--accent-color); color: var(--accent-color); }

/* 원페이지 섹션 스타일 */
.biz_section { 
    margin-bottom: 60px; 
    scroll-margin-top: 170px; 
}
.biz_section:last-child { margin-bottom: 0; }

/* 인트로 특성 카드 그리드 (현대적 디자인) */
.char_grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.char_item { 
    background: #fff; 
    padding: 35px 20px; 
    border-radius: 20px; 
    text-align: center; 
    border: 1px solid #f1f5f9; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
}
.char_item:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    border-color: var(--accent-color); 
}
.char_icon { color: var(--accent-color); margin-bottom: 20px; }
.char_info h5 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 12px; letter-spacing: -0.5px; }
.char_info p { font-size: 14.5px; color: #666; line-height: 1.6; word-break: keep-all; }

/* 상세 설명 박스 (세련된 화이트 카드형) */
.biz5_description_box { 
    background-color: #fff; 
    padding: 50px 45px; 
    border-radius: 24px; 
    border: 1px solid #edf2f7;
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.biz5_description_box::before {
    content: ''; position: absolute; top: 0; left: 0; 
    width: 100%; height: 5px; 
    background: linear-gradient(to right, var(--accent-color), #a2e043);
}
.biz5_description_box p { margin-bottom: 20px; font-size: 17px; line-height: 1.9; color: #555; word-break: keep-all; }
.biz5_description_box p:last-child { margin-bottom: 0; }
.biz5_description_box strong { color: #111; font-weight: 800; border-bottom: 2px solid rgba(122, 183, 48, 0.2); }

/* 표 디자인 보정 */
.biz_table_wrap { width: 100%; border-top: 3px solid var(--accent-color); margin-bottom: 40px; border-radius: 0 0 12px 12px; overflow-x: auto; box-shadow: 0 5px 15px rgba(0,0,0,0.05); -webkit-overflow-scrolling: touch; }
.biz_table_wrap::-webkit-scrollbar { height: 6px; }
.biz_table_wrap::-webkit-scrollbar-track { background: #f1f1f1; }
.biz_table_wrap::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.biz_table_wrap::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }
.biz_table { width: 100%; border-collapse: collapse; min-width: 600px; background: #fff; }
.biz_table th, .biz_table td { padding: 18px 15px; border: 1px solid #eee; text-align: center; font-size: 15px; transition: background 0.2s; }
.biz_table th { background-color: #f8fafc; font-weight: 700; color: #333; font-size: 16px; }
.biz_table .spec_img_cell img { max-width: 220px; height: auto; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.biz_table tr:hover td { background-color: #fcfdfe; }
.biz_table td[rowspan] { background-color: #fff !important; font-weight: 600; }

/* 반응형 보정 */
@media screen and (max-width: 1024px) {
    .sub_content_area .content_inner { display: block; }
    .sub_sidebar { display: none; }
    .sub_main_content { width: 100%; }
    .biz_tabs { top: 69px; }
    .biz_title { font-size: 28px; }
    .char_grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .sub_content_area { padding: 10px 0 60px; } 
    .biz_title_section { margin-bottom: 0px !important; padding-bottom: 0px !important; }
    .biz_title { font-size: 20px; margin-bottom: 2px; }
    .biz_title_bar { margin-bottom: 0px; }

    .char_grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    .char_item { padding: 25px 15px; border-radius: 15px; }
    .char_icon { margin-bottom: 15px; }
    .char_icon i { font-size: 32px !important; }
    .char_info h5 { font-size: 16px; margin-bottom: 8px; }
    .char_info p { font-size: 13px; line-height: 1.4; color: #777; }

    .biz5_description_box { padding: 25px; }
    .biz5_description_box p { font-size: 15px; }
    .biz_table th, .biz_table td { padding: 12px 10px; font-size: 13px; }
    .biz_table .spec_img_cell img { max-width: 140px; }

    .tabs_container { position: relative; width: 100%; margin-bottom: 25px; }
    .biz_tabs { 
        top: 60px; 
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding: 5px 0 12px;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        scrollbar-width: none;
    }
    .biz_tabs::-webkit-scrollbar { display: none !important; }

    .tabs_scroll_guide { width: 100%; height: 3px; background: #f1f1f1; border-radius: 10px; overflow: hidden; margin-top: -2px; }
    .tabs_scroll_bar { width: 15%; height: 100%; background: #82d119; border-radius: 10px; transition: width 0.1s ease-out; box-shadow: 0 0 5px rgba(130, 209, 25, 0.4); }

    .tabs_scroll_hint {
        position: absolute; right: 10px; top: 40px;
        width: 32px; height: 32px; background: var(--accent-color);
        color: #fff; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 18px; z-index: 110;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        animation: scrollPulse 1.5s infinite;
        pointer-events: none; transition: opacity 0.3s, visibility 0.3s;
    }

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

    .biz_tabs .tab_item { padding: 7px 14px; font-size: 13px; border-radius: 20px; border-color: #ddd; }
}
