/* Proje detay sayfası - bilgi satırı, açıklama ve modern galeri */

.project-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.project-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7f7fd;
    color: #2c234d;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
}

.project-meta-badge i {
    color: #f15f22;
}

.project-description {
    font-size: 17px;
    line-height: 1.8;
    color: #10285d;
    margin-bottom: 10px;
}

.project-content {
    font-size: 16px;
    line-height: 1.8;
    color: #717b9b;
    margin-bottom: 30px;
}

.project-gallery-heading {
    margin-bottom: 25px;
}

/* Galeri grid */
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.project-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 16px rgba(16, 40, 93, 0.1);
}

.project-gallery-item img,
.project-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.project-gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 20, 40, 0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-gallery-item:hover {
    box-shadow: 0 14px 30px rgba(16, 40, 93, 0.22);
}

.project-gallery-item:hover::before {
    opacity: 1;
}

.project-gallery-item:hover img,
.project-gallery-item:hover video {
    transform: scale(1.08);
}

.gallery-zoom-icon,
.gallery-play-icon {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c234d;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-zoom-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 14px;
    right: 14px;
}

.gallery-play-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
    color: #f15f22;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.project-gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.project-gallery-item:hover .gallery-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 575.98px) {
    .project-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
