/* Resume Preview Styles */
.resume-preview {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.resume-header {
    text-align: center;
    margin-bottom: 2rem;
}

.resume-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.resume-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.resume-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

/* PDF Thumbnail */
.resume-thumbnail {
    display: flex;
    justify-content: center;
}

.pdf-preview {
    position: relative;
    width: 180px;
    height: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-preview:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.pdf-page {
    padding: 16px 12px;
    height: 100%;
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
}

.pdf-header {
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-align: center;
}

.pdf-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdf-line {
    height: 3px;
    background: linear-gradient(90deg, #ddd 0%, #eee 100%);
    border-radius: 2px;
}

.pdf-line.short {
    width: 70%;
}

.pdf-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* Resume Info */
.resume-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resume-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
}

.stat-icon {
    font-size: 1.1rem;
}

.stat-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Highlights */
.resume-highlights h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Download Options */
.download-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* btn-viewは青系ボタンと同じスタイルを継承 */
.btn-view {
    flex: 0 0 auto;
    min-width: 200px;
    /* すべてのスタイルはbtn-primaryから継承 */
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-preview {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .resume-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .resume-stats {
        justify-content: center;
    }
    
    .download-options {
        justify-content: center;
    }
    
    .btn-view {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* プロジェクト詳細リンクスタイル */
.project-details-link {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.details-note {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
