@charset "UTF-8";

/* =========================================================
   삼진금속 PRODUCT SHOWCASE PAGE (products.css)
========================================================= */

/* 1. 페이지 전체 레이아웃 */
.products-page {
    padding-top: 90px;
    background-color: #fdfdfd;
}

/* 2. 서브 히어로 배너 (about / contact와 크기 통일) */
.products-hero {
    background: #111111;
    color: #ffffff;
    padding: 35px 20px;
    text-align: center;
}

.products-hero .hero-inner h1 {
    font-size: 13px;
    letter-spacing: 3px;
    color: #c59b27;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.products-hero .hero-inner p {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* 3. 메인 컨테이너 */
.products-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
}

/* 4. 카테고리 탭 메뉴 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tabs .tab-btn {
    padding: 12px 28px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #555555;
    text-decoration: none;
    transition: all 0.25s ease;
}

.category-tabs .tab-btn:hover {
    border-color: #c59b27;
    color: #c59b27;
}

.category-tabs .tab-btn.active {
    background: #111111;
    border-color: #111111;
    color: #c59b27;
    font-weight: 700;
}

/* 5. 섹션 헤더 */
.products-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.products-header .sub-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c59b27;
    margin-bottom: 8px;
}

.products-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 10px;
    word-break: keep-all;
}

.products-header h2 strong {
    color: #c59b27;
}

.products-header .products-desc {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

/* 6. 제품 그리드 & 카드 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eaeeef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e5c158;
}

/* 썸네일 섬네일 및 태그 */
.card-thumb {
    position: relative;
    width: 100%;
    height: 230px;
    background: #f8f9fa;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-thumb .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(17, 17, 17, 0.85);
    color: #c59b27;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* 카드 본문 콘텐츠 */
.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 19px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-body .desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
    word-break: keep-all;
}

.spec-list {
    list-style: none;
    padding: 15px 0 0 0;
    margin: 0;
    border-top: 1px dashed #e9ecef;
}

.spec-list li {
    font-size: 13px;
    color: #555555;
    margin-bottom: 6px;
}

.spec-list li:last-child {
    margin-bottom: 0;
}

.spec-list li strong {
    color: #111111;
}

/* 7. 하단 맞춤 문의 배너 */
.products-contact-banner {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    border-radius: 12px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #ffffff;
}

.banner-text h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.banner-text p {
    font-size: 15px;
    color: #aaaaaa;
    margin: 0;
}

.btn-inquiry {
    display: inline-block;
    padding: 16px 32px;
    background-color: #d8a22a;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-inquiry:hover {
    background-color: #e5c158;
}

.btn-inquiry:active {
    transform: scale(0.98);
}

/* 8. 모바일 반응형 (768px / 992px 이하) */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-contact-banner {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .banner-text h3 {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .products-page {
        padding-top: 60px;
    }

    .products-hero {
        padding: 25px 20px;
    }

    .products-hero .hero-inner p {
        font-size: 20px;
    }

    .products-container {
        padding: 40px 15px 60px 15px;
    }

    .category-tabs {
        gap: 8px;
        margin-bottom: 35px;
    }

    .category-tabs .tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .products-header h2 {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-thumb {
        height: 200px;
    }

    .card-body .desc {
        min-height: auto;
    }
}