/**
 * Single Project Styles
 */

.single-project-content {
    padding: 0 0 60px 0;
}

.related-projects {
    margin-top: 80px;
    border-top: 1px solid #f0f0f0;
    padding-top: 60px;
}

.related-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: left;
    color: #121212;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', sans-serif;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-project-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
}

.related-project-card:hover {
    transform: translateY(-5px);
}

.related-project-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.related-project-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-project-card:hover .related-project-image img {
    transform: scale(1.05);
}

.related-project-info {
    padding: 20px 0;
}

.related-project-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #121212;
    transition: color 0.3s;
}

.related-project-card:hover .related-project-name {
    color: #bea150;
    /* Using the gold-ish color from service slider edit */
}

.related-project-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    font-weight: 500;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .related-projects-grid {
        grid-template-columns: 1fr;
    }

    .related-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}