/* biz6.css - 제품소개 (더존단열블록) 프리미엄 디자인 고도화 */

:root {
    --accent-color: #509a00; /* 브랜드 그린 */
    --accent-hover: #3e7a00;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --border-soft: #e5e7eb;
    --bg-soft: #f9fafb;
    --bg-light-green: #f2fbf0;
}

/* ============================================
   1. 기본 서브 구조 - 공통 동기화 (biz2 동일)
   ============================================ */
.sub_wrapper { background-color: #fff; min-height: 100vh; }

.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 var(--border-soft); 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 var(--border-soft); 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 var(--border-soft); 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: var(--bg-soft); }
.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 var(--border-soft); 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: var(--text-secondary); transition: 0.2s; font-weight: 500; }
.sub_lnb .lnb_dropdown li a:hover,
.sub_lnb .lnb_dropdown li.active a { background-color: var(--bg-soft); 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 var(--border-soft); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; background: #fff; }
.sub_sidebar .side_menu_list li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font-size: 16px; color: var(--text-secondary); font-weight: 500; border-bottom: 1px solid #f3f4f6; transition: 0.3s; }
.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. biz6 전용 스타일 (더존단열블록)
   ============================================ */
.biz6_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_section { 
    margin-bottom: 60px; 
    scroll-margin-top: 170px; /* 스크롤 시 상단 여백 확보 */
}
.biz_section:last-child { margin-bottom: 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); }

/* 모자이크 이미지 섹션 */
.biz6_mosaic { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 40px; }
.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; }
.biz6_intro_box span.highlight { color: var(--accent-color); font-weight: 700; text-decoration: underline; }

/* 특징 리스트 카드 */
.features_card { border: 1px solid #eee; border-radius: 16px; padding: 40px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.features_card h4 { font-size: 22px; font-weight: 800; margin-bottom: 30px; color: #222; }
.features_list { list-style: none; padding: 0; }
.features_list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 2; color: #555; margin-bottom: 10px; font-weight: 500; }
.features_list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 4px; height: 4px; background: var(--accent-color); }

/* 테이블 공통 스타일 */
.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; }
.biz_table th, .biz_table td { border: 1px solid #eee; padding: 18px 15px; text-align: center; font-size: 15px; vertical-align: middle; }
.biz_table th { background: #f8fafc; font-weight: 700; color: #333; height: 50px; }
.biz_table td { color: #555; background: #fff; line-height: 1.6; }

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

/* 특성 아이콘 섹션 */
.char_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; margin-top: 40px; }
.char_item { display: flex; gap: 20px; align-items: flex-start; }
.char_icon { width: 60px; flex-shrink: 0; }
.char_icon img { width: 100%; }
.char_info h5 { font-size: 18px; font-weight: 800; color: #222; margin-bottom: 10px; }
.char_info p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }

/* 건설자재 비교 테이블 특화 */
.comparison_table { min-width: 900px; }
.comparison_table th { background: #f1f5f9; }
.comparison_table th.category { background: #f8fafc; width: 100px; font-weight: 800; color: #1e293b; }
.comparison_table .pros { color: #15803d; font-weight: 700; }
.comparison_table .cons { color: #b91c1c; font-weight: 500; }
.comparison_table .highlight_cell { background: #f0fdf4; font-weight: 600; border-left: 2px solid #b7e4b7; border-right: 2px solid #b7e4b7; }
.comparison_table thead th.highlight_cell { background: #dcfce7; color: #166534; border-top: 3px solid var(--accent-color); }

/* 폰트 굵게 표시 */
.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; }
    
    /* 탭 컨테이너 및 텍스트 밀착 */
    .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; }
    
    .features_card { padding: 20px; border-radius: 12px; }
    .features_list li { font-size: 14px; line-height: 1.6; }
}
