/**
 * 제품소개 페이지 스타일시트
 * 버전: 1.2.0
 * 독립적인 CSS 클래스 네임 사용
 */

/* 페이지 헤더 */
.product-page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 4rem 0 3rem;
    color: #ffffff;
    text-align: center;
}

.product-page-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.product-page-header .page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* 제품 카테고리 탭 */
.product-category-section {
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-category-tab {
    padding: 0.75rem 2rem;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-category-tab:hover {
    background: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
    text-decoration: none;
}

.product-category-tab.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    border-color: transparent;
}

.product-category-tab i {
    font-size: 0.875rem;
}

/* 제품 상세 페이지 서브탭 (규격별) */
.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.product-tab {
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    display: inline-block;
    white-space: nowrap;
}

.product-tab:hover {
    background: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    text-decoration: none;
}

.product-tab.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.product-tab.active:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

/* 제품 설명 섹션 */
.product-intro-section {
    background: #ffffff;
}

.product-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-intro-content {
    padding: 1rem 0;
}

.product-intro-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.product-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.product-intro-text p {
    margin-bottom: 1rem;
}

.product-intro-text ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.product-intro-text li {
    margin-bottom: 0.5rem;
}

/* 제품 사양 테이블 섹션 */
.product-spec-table-section {
    background: #f8f9fa;
}

.spec-table {
    background: #ffffff;
    border-collapse: collapse;
}

.spec-table thead th {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.spec-table tbody td {
    padding: 0.75rem 1rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    background: #ffffff;
}

.spec-table tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

.spec-table tbody tr:hover td {
    background: #e9ecef;
}

/* 제품 상세 */
.product-detail-section {
    background: #ffffff;
}

/* 제품 상세 사양 섹션 */
.product-detail-spec-section {
    background: #ffffff;
}

.product-image-box {
    position: sticky;
    top: 100px;
}

.product-image-box img {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-info-box {
    padding: 2rem;
}

.product-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-sub-title {
    font-size: 1.5rem;
    color: #0d6efd;
    font-weight: 500;
    margin-bottom: 2rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 섹션 제목 */
.section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 1rem;
    border-bottom: 3px solid #0d6efd;
}

/* 제품 사양 테이블 */
.spec-table-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.spec-table-wrapper {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
}

.spec-table-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.spec-table-title i {
    color: #ff6b35;
    margin-right: 0.5rem;
}

.spec-table {
    margin: 0;
    border-collapse: collapse;
}

.spec-table thead th {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border: 1px solid #dee2e6;
}

.spec-table tbody td {
    padding: 1rem;
    border: 1px solid #dee2e6;
    color: #333;
}

.spec-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.spec-table tbody tr:hover {
    background-color: #e9ecef;
}

.spec-list-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* 제품 사양 */
.spec-item-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.spec-item-box.clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.spec-item-box.clickable:hover {
    text-decoration: none;
    color: inherit;
}

.spec-item-box.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.spec-more-link {
    margin-top: 1rem;
    color: #0d6efd;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.spec-item-box.clickable:hover .spec-more-link {
    color: #0056b3;
}

.spec-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.spec-item-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.spec-item-box p {
    font-size: 0.95rem;
    color: #666;
    margin: 0.25rem 0;
}

/* 제품 특징 */
.feature-item {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.feature-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 응용 분야 */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.application-item {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.application-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.application-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 견적 문의 폼 */
.product-inquiry-form-section {
    background: #f8f9fa;
}

.inquiry-form-wrapper {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inquiry-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid #dee2e6;
}

.inquiry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.inquiry-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
}

.inquiry-form-wrapper .form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.inquiry-form-wrapper .form-control,
.inquiry-form-wrapper .form-select {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.inquiry-form-wrapper .form-control:focus,
.inquiry-form-wrapper .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
}

.radio-group .form-check {
    margin: 0;
}

.radio-group .form-check-input {
    margin-top: 0.25rem;
}

.radio-group .form-check-label {
    margin-left: 0.5rem;
    font-weight: 400;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-left: none;
    color: #666;
}

.inquiry-submit-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b 0%, #e0840f 100%);
}

.inquiry-submit-btn i {
    margin-right: 0.5rem;
}

/* 모달 스타일 */
#specModal .modal-content {
    border-radius: 12px;
    border: none;
}

#specModal .modal-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

#specModal .modal-title {
    font-weight: 600;
}

#specModal .btn-close {
    filter: invert(1);
}

#specModal .modal-body {
    padding: 2rem;
}

#specModal .modal-body table {
    margin: 0;
}

#specModal .modal-footer {
    border-top: 1px solid #dee2e6;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .product-image-box {
        position: static;
        margin-bottom: 2rem;
    }
    
    .product-page-header .page-title {
        font-size: 2.5rem;
    }
    
    .product-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-page-header {
        padding: 3rem 0 2rem;
    }
    
    .product-page-header .page-title {
        font-size: 2rem;
    }
    
    .product-info-box {
        padding: 1rem;
    }
    
    .product-main-title {
        font-size: 1.75rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .product-category-tabs {
        flex-direction: column;
    }
    
    .product-category-tab {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .product-intro-title {
        font-size: 1.75rem;
    }

    .product-intro-text {
        font-size: 1rem;
    }

    .spec-table {
        font-size: 0.875rem;
    }

    .spec-table thead th,
    .spec-table tbody td {
        padding: 0.5rem;
    }

    .product-tabs {
        gap: 0.5rem;
    }

    .product-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inquiry-form-wrapper {
        padding: 2rem;
    }
    
    .inquiry-title {
        font-size: 2rem;
    }
    
    .spec-table-container {
        padding: 1rem;
    }
    
    .spec-table-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .inquiry-form-wrapper {
        padding: 1.5rem;
    }
    
    .inquiry-title {
        font-size: 1.75rem;
    }
    
    .form-section-title {
        font-size: 1.25rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

