/* biz1.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. 기본 서브 구조 - 공통 동기화 (biz2/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. biz1 전용 스타일 (더존불연판넬) */
.biz1_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; /* Chrome, Safari */ }

.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; }

/* 모자이크 이미지 */
.biz6_mosaic { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 30px; border: 1px solid #eee; }
.biz6_mosaic img { width: 100%; display: block; }

/* 설명 박스 */
.biz6_intro_box { background: var(--bg-soft); padding: 30px 40px; border-radius: 12px; margin-bottom: 30px; }
.biz6_intro_box p { font-size: 17px; line-height: 1.8; color: #444; word-break: keep-all; margin-bottom: 15px; }
.biz6_intro_box p:last-child { margin-bottom: 0; }

/* 테이블 공통 스타일 */
.biz_table_wrap { 
    width: 100%; overflow-x: auto; margin-bottom: 40px; 
    border-radius: 12px; border: 1px solid #eee; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.biz_table { width: 100%; border-collapse: collapse; min-width: 800px; background: #fff; }
.biz_table th, .biz_table td { border: 1px solid #eee; padding: 18px 15px; text-align: center; font-size: 15px; vertical-align: middle; transition: background 0.2s; }
.biz_table th { background: #f8fafc; font-weight: 700; color: #333; height: 50px; }
.biz_table td { color: #555; background: #fff; line-height: 1.6; }
.biz_table td[rowspan] { background-color: #fff !important; font-weight: 700; color: #111; }
.biz_table tr:hover td { background-color: #fcfdfe; }

/* 이미지 포함 테이블 */
.spec_img_cell { width: 300px; padding: 20px !important; }
.spec_img_cell img { width: 100%; border-radius: 8px; }

/* 제품 특성 그리드 (9개 항목) - 현대적 카드 스타일로 개선 */
.char_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.char_item { 
    display: flex; align-items: flex-start; gap: 20px; padding: 30px; 
    background: #fff; border: 1px solid #f1f5f9; border-radius: 20px; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); 
}
.char_item:hover { 
    border-color: var(--accent-color); 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}
.char_icon { 
    flex-shrink: 0; width: 68px; height: 68px; 
    background: var(--bg-light-green); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    color: var(--accent-color); font-size: 1.1em;
}
.char_info h5 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 12px; letter-spacing: -0.5px; }
.char_info p { font-size: 15px; color: #666; line-height: 1.7; word-break: keep-all; }

/* 2.3 Thermal Table Section */
.biz1_thermal_section { width: 100%; margin-top: 20px; }
.thermal_diagram { 
    text-align: center; margin-bottom: 50px; 
    border: 1px solid #eee; border-radius: 12px; 
    padding: 30px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.thermal_diagram img { max-width: 100%; height: auto; display: inline-block; }

.thermal_table_wrap { 
    width: 100%; overflow-x: auto; 
    border: 1px solid #d1d5db; border-radius: 12px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02); background: #fff;
}
.thermal_table { width: 100%; min-width: 800px; border-collapse: collapse; text-align: center; }
.thermal_table th, .thermal_table td {
    padding: 15px; border-bottom: 1px solid #eee; border-right: 1px solid #eee;
    font-size: 14px; color: #555; word-break: keep-all;
}
.thermal_table th:last-child, .thermal_table td:last-child { border-right: none; }
.thermal_table tr:last-child td { border-bottom: none; }

/* 테이블 헤더 */
.thermal_table thead th { 
    background-color: #f8fafc; font-weight: 700; font-size: 15px; 
    color: #333; border-bottom: 2px solid #cbd5e1;
}

/* 특정 컬럼/로우 디자인 */
.thermal_table .col_num { background-color: #f8fafc; font-weight: 600; color: #666; }
.thermal_table .val_highlight { color: var(--accent-color); font-weight: 800; }

/* 수식 로우 */
.thermal_table .td_calc { text-align: left; padding-left: 20px; line-height: 1.6; color: #333; }
.thermal_table .calc_row .td_total_label { background-color: #f8fafc; font-weight: 700; }
.thermal_table .calc_row .td_total_val { font-weight: 600; }
.thermal_table .calc_row .td_result_val { font-weight: 700; background: var(--bg-light-green); }

/* 에너지 설계 기준 로우 */
.thermal_table .td_rule_label { background-color: #f8fafc; font-weight: 700; }
.thermal_table .td_area { font-size: 13px; font-weight: 600; }
.thermal_table .td_match { color: var(--accent-color); font-weight: 700; }

/* 폰트 굵게 표시 */
.font-bold { font-weight: 700; }

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

@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; }
    
    /* 탭 컨테이너 및 텍스트 밀착 */
    .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; /* Firefox 숨김 */
    }
    .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%; /* 초기 시인성 확보를 위해 최소 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; }

    .biz_section { margin-bottom: 35px; scroll-margin-top: 110px; }
    .sec_title { font-size: 19px; margin-bottom: 12px; }
}
