/* ==========================================================
   About Page Styles (Minimal & Clean)
   ========================================================== */

.about-container {
    max-width: 680px; /* پهنای محدود برای ظاهر مینیمال */
    margin: 40px auto;
    padding: 0 20px;
    direction: rtl; /* برای چیدمان راست‌چین فارسی */
    color: #222;
}

/* بخش پروفایل بالای صفحه */
.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
}

.profile-info .subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.profile-info .badge {
    display: inline-block;
    background-color: #f2f2f2;
    color: #555;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.82rem;
}

/* عناوین بخش‌ها */
.about-section h2,
.experience-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}

.about-section {
    margin-bottom: 45px;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* سوابق کاری */
.experience-section {
    margin-bottom: 45px;
}

.experience-item {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.exp-date {
    width: 120px;
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
}

.exp-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.exp-details .arrow {
    font-size: 0.85rem;
    color: #666;
    margin-right: 4px;
}

.exp-details p {
    font-size: 0.88rem;
    color: #777;
}

/* پیش‌نمایش تصویر کارت‌ها در پایین */
.portfolio-preview {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.preview-card {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    height: 140px;
    background-color: #eee;
}

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

.preview-card img:hover {
    transform: scale(1.05);
}

/* برای نمایش مناسب در موبایل */
@media (max-width: 550px) {
    .experience-item {
        flex-direction: column;
        gap: 5px;
    }

    .portfolio-preview {
        flex-direction: column;
    }

    .preview-card {
        height: 180px;
    }
}