@charset "utf-8";
/**
 * =============================================
 * tech.css - 사용 기술 페이지 전용
 * Location: /static/about/css/tech.css
 * 
 * 로드 순서:
 * 1. total_common.css (전체)
 * 2. static_common.css (정적 페이지 공통)
 * 3. tech.css (이 파일)
 * 
 * 방식: Mobile First
 * 분기: 768px (모바일 / PC)
 * =============================================
 */

/* ============================================
   1. 페이지 탭 네비게이션 (Mobile First)
   ============================================ */
.page-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.page-tab-nav a {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 12px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-tab-nav a:hover {
    color: #667eea;
    border-color: #667eea;
}

.page-tab-nav a.active {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
    font-weight: 600;
}

/* ============================================
   2. 기술 스택 카드 (Mobile First)
   ============================================ */
.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.tech-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tech-card h3 {
    margin: 0 0 5px;
    font-size: 1.3rem;
    color: #333;
}

.tech-card > p {
    margin: 0 0 15px;
    font-size: 0.9rem;
    color: #888;
}

.tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tech-card li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.tech-card li:last-child {
    border-bottom: none;
}

.tech-card li::before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
}

/* ============================================
   3. 페이지 네비게이션 (Mobile First)
   ============================================ */
.page-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
    padding: 0 5px;
}

.page-nav .btn {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
}

/* ============================================
   4. 테이블 첫번째 열 강조 (Mobile First)
   ============================================ */
.static-table td:first-child {
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
    white-space: nowrap;
}

/* ============================================
   PC (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {

    /* 페이지 탭 네비게이션 - 가로 배치 */
    .page-tab-nav {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 15px 20px;
    }

    .page-tab-nav a {
        flex: 1;
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* 기술 스택 카드 - 3열 */
    .tech-stack {
        flex-direction: row;
        gap: 20px;
    }

    .tech-card {
        flex: 1;
        padding: 25px;
    }

    .tech-icon {
        font-size: 3rem;
    }

    .tech-card h3 {
        font-size: 1.4rem;
    }

    /* 페이지 네비게이션 - 가로 배치 */
    .page-nav {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin: 35px 0;
        padding: 0;
    }

    .page-nav .btn {
        width: auto;
        min-width: 200px;
        max-width: 250px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* 테이블 열 너비 */
    .static-table td:first-child {
        width: 120px;
    }
}
