/* استایل‌های عمومی پروژه */
.mapna-project-single {
    line-height: 1.6;
    color: #333;
}

.mapna-project-single .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    color: #2c5aa0;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #2c5aa0;
}

/* هدر پروژه */
.project-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6b 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.project-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.project-image {
    flex: 0 0 400px;
}

.project-featured-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.project-basic-info {
    flex: 1;
    min-width: 300px;
}

.project-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.project-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* متا اطلاعات پروژه */
.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.project-meta-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon i {
    color: white;
    font-size: 16px;
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: #b0c4ff;
    margin-bottom: 5px;
}

.meta-value {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #b0c4ff;
}

/* معرفی جامع */
.project-full-intro {
    padding: 60px 0;
}

.intro-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
    font-size: 16px;
}

/* گالری تصاویر */
.project-gallery {
    padding: 60px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ویدئوها */
.project-videos {
    padding: 60px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(44, 90, 160, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-play-icon i {
    color: white;
    font-size: 20px;
    margin-left: 3px;
}

.video-item:hover .video-play-icon {
    background: rgba(44, 90, 160, 1);
}

.video-content {
    padding: 20px;
}

.video-title {
    margin-bottom: 10px;
}

.video-title a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 18px;
}

.video-title a:hover {
    color: #1e3a6b;
}

.video-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .project-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .project-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .project-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .project-meta-item {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .project-title {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* استایل‌های آرشیو پروژه‌ها */
.mapna-projects-archive {
    line-height: 1.6;
    color: #333;
}

.mapna-projects-archive .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card-inner {
    position: relative;
}

.project-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay i {
    color: white;
    font-size: 40px;
}

.project-card-content {
    padding: 20px;
}

.project-card-title {
    margin-bottom: 10px;
}

.project-card-title a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 18px;
}

.project-card-title a:hover {
    color: #1e3a6b;
}

.project-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-card-meta {
    margin-bottom: 15px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.project-meta-item i {
    color: #2c5aa0;
    width: 16px;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-card-link:hover {
    color: #1e3a6b;
}

.no-projects {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}