﻿/* === استایل‌های سفارشی برای صفحات مقاله === */
.article-section {
    background-color: #f8f9fa;
    padding: 120px 0;
}

.article-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 50px 60px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.article-content h1, .article-content h2, .article-content h3 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.article-content h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.highlight-quote {
    border-right: 4px solid #0056b3;
    padding-right: 25px;
    margin: 30px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #34495e;
}

/* ========================================================= */
/* === استایل‌های اصلاح شده و نهایی برای لیست‌ها === */
/* ========================================================= */

/* استایل پایه برای هر دو نوع کلاس که در HTML استفاده شده */
.qualifications-list,
.custom-list {
    list-style: none;
    padding-right: 0;
}

    .qualifications-list li,
    .custom-list li {
        font-size: 1.1rem;
        padding-right: 30px;
        position: relative;
        margin-bottom: 15px;
        color: #34495e;
    }

        /* استایل مشترک برای همه آیکون‌ها */
        .qualifications-list li::before,
        .custom-list li::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            right: 0;
            top: 5px;
            color: #0056b3;
        }

        /* 
   تعریف آیکون مخصوص برای هر کلاس:
   - صفحه "معرفی" از "qualifications-list" استفاده می‌کند و آیکون تیک می‌گیرد.
   - دو صفحه دیگر از "custom-list" استفاده می‌کنند و آیکون دست اشاره‌گر می‌گیرند.
*/
        .qualifications-list li::before {
            content: "\f00c"; /* آیکون تیک */
        }

        .custom-list li::before {
            content: "\f0a4"; /* آیکون دست اشاره‌گر */
        }


/* واکنش‌گرایی برای موبایل */
@@media (max-width: 767px) {
    .article-container {
        padding: 30px 20px;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }
}

/* === استایل برای لیست اعضای گروه === */
.list-style-user li::before {
    content: "\f007"; /* آیکون کاربر (user) از FontAwesome */
}



/* === استایل برای لیست پروژه‌ها === */
.list-style-project li::before {
    content: "\f1ad"; /* آیکون ساختمان (building) از FontAwesome */
}

/* === استایل‌های گالری تصاویر مدرن === */
.project-gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: zoom-in;
    margin-bottom: 30px;
}

    .gallery-item img {
        width: 100%;
        height: 250px; /* ارتفاع ثابت برای تمام کادرها */
        object-fit: cover; /* جادوی یکسان‌سازی ابعاد بدون خرابی */
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1); /* افکت زوم روی هاور */
    }
    /* لایه رویی و آیکون زوم روی هاور */
    .gallery-item::after {
        content: "\f00e"; /* آیکون زوم (search-plus) از FontAwesome */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
        font-size: 3rem;
        color: #fff;
        background: rgba(0, 0, 0, 0.4);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.4s ease;
    }

    .gallery-item:hover::after {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

/* === استایل‌های لایت‌باکس (Lightbox) === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none; /* در ابتدا مخفی */
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
}


/* === استایل برای دکمه‌های مسیریابی === */
.routing-buttons {
    display: flex;
    gap: 15px; /* فاصله بین دکمه‌ها */
    margin-top: 20px;
    flex-wrap: wrap; /* برای نمایش صحیح در موبایل */
}

.routing-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff !important; /* مهم برای بازنویسی رنگ لینک */
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

    .routing-btn:hover {
        transform: translateY(-3px);
    }

.btn-balad {
    background-color: #4caf50;
}
/* رنگ سبز بلد */
.btn-neshan {
    background-color: #2196f3;
}
/* رنگ آبی نشان */

/* === استایل برای کادر کارت ویزیت === */
.business-card-wrapper {
    text-align: center;
    margin: 60px 0;
}

    .business-card-wrapper img {
        max-width: 100%;
        width: 500px; /* حداکثر عرض کارت ویزیت */
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    }




/* === استایل‌های بخش تیزر ایونت === */
.event-section-wrapper {
    background-color: #f8f9fa; /* یک پس‌زمینه ملایم برای متمایز شدن */
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.event-images-wrapper {
    position: relative;
    margin-top: 40px; /* ایجاد فاصله در حالت موبایل */
}
/* تصویر اصلی (عقبی) */
.event-image-back {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}
/* تصویر کوچک‌تر (جلویی) */
.event-image-front {
    position: absolute;
    bottom: -70px;
    left: -20px;
    width: 43%;
    border: 5px solid #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}
/* دکمه پخش ویدئو */
.event-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

    .event-play-btn:hover {
        transform: translate(-50%, -50%) scale(1.1);
        background: #fff;
        color: #007bff;
    }
/* لیست سخنرانان */
.speaker-list {
    list-style: none;
    padding-right: 0;
    margin-top: 20px;
}

    .speaker-list li {
        position: relative;
        padding-right: 25px;
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }

        .speaker-list li::before {
            content: "●";
            position: absolute;
            right: 0;
            color: #0056b3;
            font-size: 1.2rem;
        }
