/* Related Projects Section Styles */
.related-projects-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.related-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.related-projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.related-projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.related-projects-tagline {
    font-family: 'GFS Didot', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.related-projects-title {
    font-family: 'GFS Didot', serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.related-projects-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.related-project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #d4af37;
}

.related-project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-project-card:hover .related-project-image img {
    transform: scale(1.1);
}

.related-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-project-card:hover .related-project-overlay {
    opacity: 1;
}

.related-project-content {
    padding: 25px;
    position: relative;
}

.related-project-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-project-name {
    font-family: 'GFS Didot', serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-project-location {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #d4af37;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-project-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.related-project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.related-project-feature {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.related-project-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.related-project-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.related-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    color: #1a1a1a;
    text-decoration: none;
}

.related-project-contact {
    display: flex;
    gap: 10px;
}

.related-project-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.related-project-contact a.phone-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
}

.related-project-contact a.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
}

.related-project-contact a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .related-projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .related-projects-section {
        padding: 60px 0;
    }
    
    .related-projects-title {
        font-size: 36px;
    }
    
    .related-projects-subtitle {
        font-size: 16px;
    }
    
    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-project-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .related-project-btn {
        text-align: center;
        justify-content: center;
    }
    
    .related-project-contact {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .related-projects-container {
        padding: 0 15px;
    }
    
    .related-projects-title {
        font-size: 28px;
    }
    
    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-project-content {
        padding: 20px;
    }
    
    .related-project-name {
        font-size: 20px;
    }
}
